CVE-2024-0564CWE-203

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

Medium · published January 30, 2024

CVSS v3.1
5.3
EPSS
1%
Percentile
49.2
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.3 · MEDIUM
Vector
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00623 · 49.2th percentile
Weakness
CWE-203 · Observable Discrepancy
Published
2024-01-30T15:01Z
EPSS history
Timeline
  • 30 JAN 15:01Z
    Kernel: max page sharing of kernel samepage merging (ksm) may cause memory deduplication
    cvelistv5