CVE-2024-0564

medium

Description

A flaw was found in the Linux kernel's memory deduplication mechanism. The max page sharing of Kernel Samepage Merging (KSM), added in Linux kernel version 4.4.0-96.119, can create a side channel. When the attacker and the victim share the same host and the default setting of KSM is "max page sharing=256", it is possible for the attacker to time the unmap to merge with the victim's page. The unmapping time depends on whether it merges with the victim's page and additional physical pages are created beyond the KSM's "max page share". Through these operations, the attacker can leak the victim's page.

References

https://wisa.or.kr/accepted

https://link.springer.com/conference/wisa

https://bugzilla.redhat.com/show_bug.cgi?id=2258514

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1680513

https://access.redhat.com/security/cve/CVE-2024-0564

Details

Source: Mitre, NVD

Published: 2024-01-30

Updated: 2024-10-16

Risk Information

CVSS v2

Base Score: 6.1

Vector: CVSS2#AV:A/AC:L/Au:N/C:C/I:N/A:N

Severity: Medium

CVSS v3

Base Score: 6.5

Vector: CVSS:3.0/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Severity: Medium