CVE-2024-0564

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

En bref

Sévérité
MEDIUM 5.3
EPSS
EPSS 0.62 % · centile 50 (2026-10-28)
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
redhat
Statut NVD
Modified

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.

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.3CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:Nredhat
CVSS 3.1MEDIUM 5.3CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NNVD · secalert@redhat.com (Secondary)
CVSS 3.1MEDIUM 6.5CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NNVD · nvd@nist.gov (Primary)

Faiblesses (CWE)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
kernelunaffected 0 < 4.4.0-96.119
Red Hat · Red Hat Enterprise Linux 6
Red Hat · Red Hat Enterprise Linux 7
Red Hat · Red Hat Enterprise Linux 7
Red Hat · Red Hat Enterprise Linux 8
Red Hat · Red Hat Enterprise Linux 8
Red Hat · Red Hat Enterprise Linux 9
Red Hat · Red Hat Enterprise Linux 9

Références

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD