CVE-2024-0564
published medium CVSS 3.1 · 5.3Kernel: max page sharing of kernel samepage merging (ksm) may cause memory deduplication
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | kernel0 to < 4.4.0-96.119 · Other versions: affected | Unaffected | Not stated | redhat |
| Red Hat Enterprise Linux | 6, 7 | kernel | Unknown | Not stated | redhat |
| Red Hat Enterprise Linux | 7 | kernel-rt | Unknown | Not stated | redhat |
| Red Hat Enterprise Linux | 8, 9 | kernel | Affected | Not stated | redhat |
| Amazon Linux | AL2 | Release evaluation | Pending Fix; Not Affected | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Red Hat Enterprise Linux | 8, 9 | kernel-rt | Affected | Not stated | redhat |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| kernel | 0 to < 4.4.0-96.119 (unaffected · semver)Default: affected | redhat · cna | |
| Red Hat | Red Hat Enterprise Linux 6 | Default: unknown | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 7 | Default: unknown | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 7 | Default: unknown | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8 | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8 | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | Default: affected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | Default: affected | redhat · cna |
Weaknesses
1- CWE-203 Observable Discrepancy
References
5- https://access.redhat.com/security/cve/CVE-2024-0564
- https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1680513
- RHBZ#2258514 https://bugzilla.redhat.com/show_bug.cgi?id=2258514
- https://link.springer.com/conference/wisa
- https://wisa.or.kr/accepted
Provider assertions
3redhat · cna
Kernel: max page sharing of kernel samepage merging (ksm) may cause memory deduplication
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d67aac12e1f8c9ec6f1e50ee8a186f5a3ec5b6edaac6a2303c13e177602f99b6
- Ingested
- 25 Nov 2026, 13:23:00 UTC
- Source record
- Official CVE record