CVE-2024-0564

published 30 Jan 2024 · updated 6 Nov 2026

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

6.3MediumCVSS 5.3EPSS 1%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel>=4.4.0-96.119 <=5.15.0-58
Red HatEnterprise Linux
redhatenterprise_linux=9.0, =8.0

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-0564 severity on Zeptric[![CVE-2024-0564](https://zeptric.io/badge/cve/CVE-2024-0564.svg)](https://zeptric.io/cve/CVE-2024-0564)