Unrated severityNVD Advisory· Published Jan 30, 2024· Updated Nov 21, 2025
Kernel: max page sharing of kernel samepage merging (ksm) may cause memory deduplication
CVE-2024-0564
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
2- Range: >=4.4.0-96.119
- Range: >=4.4.0-96.119
Patches
Vulnerability mechanics
References
5- access.redhat.com/security/cve/CVE-2024-0564mitrevdb-entryx_refsource_REDHAT
- bugzilla.redhat.com/show_bug.cgimitreissue-trackingx_refsource_REDHAT
- bugs.launchpad.net/ubuntu/+source/linux/+bug/1680513mitre
- link.springer.com/conference/wisamitre
- wisa.or.kr/acceptedmitre
News mentions
0No linked articles in our index yet.