CVE-2024-0564: Kernel: max page sharing of kernel samepage merging (ksm) may cause memory deduplication

5.3 CVSS

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.

Classification

CVE ID: CVE-2024-0564

CVSS Base Severity: MEDIUM

CVSS Base Score: 5.3

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

Problem Types

Observable Discrepancy

Affected Products

Vendor: , Red Hat

Product: , Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9

Exploit Prediction Scoring System (EPSS)

EPSS Score: 0.02% (probability of being exploited)

EPSS Percentile: 4.43% (scored less or equal to compared to others)

EPSS Date: 2025-06-09 (when was this score calculated)

Stakeholder-Specific Vulnerability Categorization (SSVC)

SSVC Exploitation: none

SSVC Technical Impact: partial

SSVC Automatable: false

References

https://nvd.nist.gov/vuln/detail/CVE-2024-0564
https://access.redhat.com/security/cve/CVE-2024-0564
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1680513
https://bugzilla.redhat.com/show_bug.cgi?id=2258514
https://link.springer.com/conference/wisa
https://wisa.or.kr/accepted

Timeline