6.5
MEDIUM
CVE-2024-0564
Linux Kernel KSM Side Channel Memory Disclosure
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.

INFO

Published Date :

Jan. 30, 2024, 3:15 p.m.

Last Modified :

Feb. 8, 2024, 4:36 p.m.

Remotely Exploitable :

No

Impact Score :

3.6

Exploitability Score :

2.8
Affected Products

The following products are affected by CVE-2024-0564 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Linux linux_kernel
1 Redhat enterprise_linux
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2024-0564.

URL Resource
https://access.redhat.com/security/cve/CVE-2024-0564 Third Party Advisory
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1680513 Exploit Issue Tracking
https://bugzilla.redhat.com/show_bug.cgi?id=2258514 Issue Tracking
https://link.springer.com/conference/wisa Not Applicable
https://wisa.or.kr/accepted Not Applicable

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-0564 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2024-0564 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Feb. 08, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
    Changed Reference Type https://access.redhat.com/security/cve/CVE-2024-0564 No Types Assigned https://access.redhat.com/security/cve/CVE-2024-0564 Third Party Advisory
    Changed Reference Type https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1680513 No Types Assigned https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1680513 Exploit, Issue Tracking
    Changed Reference Type https://bugzilla.redhat.com/show_bug.cgi?id=2258514 No Types Assigned https://bugzilla.redhat.com/show_bug.cgi?id=2258514 Issue Tracking
    Changed Reference Type https://link.springer.com/conference/wisa No Types Assigned https://link.springer.com/conference/wisa Not Applicable
    Changed Reference Type https://wisa.or.kr/accepted No Types Assigned https://wisa.or.kr/accepted Not Applicable
    Added CWE NIST CWE-203
    Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.4.0-96.119 up to (including) 5.15.0-58
    Added CPE Configuration OR *cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* *cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Feb. 01, 2024

    Action Type Old Value New Value
    Removed CVSS V3.1 Red Hat, Inc. AV:A/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
    Added CVSS V3.1 Red Hat, Inc. AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
  • CVE Received by [email protected]

    Jan. 30, 2024

    Action Type Old Value New Value
    Added 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.
    Added Reference Red Hat, Inc. https://access.redhat.com/security/cve/CVE-2024-0564 [No types assigned]
    Added Reference Red Hat, Inc. https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1680513 [No types assigned]
    Added Reference Red Hat, Inc. https://bugzilla.redhat.com/show_bug.cgi?id=2258514 [No types assigned]
    Added Reference Red Hat, Inc. https://link.springer.com/conference/wisa [No types assigned]
    Added Reference Red Hat, Inc. https://wisa.or.kr/accepted [No types assigned]
    Added CVSS V3.1 Red Hat, Inc. AV:A/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-0564 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-0564 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.05 }} 0.01%

score

0.17788

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability