- Accueil
- Vulnérabilités
- CVE-2024-0564
CVE-2024-0564
Kernel: max page sharing of kernel samepage merging (ksm) may cause memory deduplication
Résumé
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.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Redhat (6 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Hat Enterprise Linux 6 | Versions non précisées | — | CNA (éditeur ou attributeur) |
| Hat Enterprise Linux 7 | Versions non précisées | — | CNA (éditeur ou attributeur) |
| Hat Enterprise Linux 8 | Versions non précisées | — | CNA (éditeur ou attributeur) |
| Hat Enterprise Linux 9 | Versions non précisées | — | CNA (éditeur ou attributeur) |
| Enterprise linux | 8.0 |
— | NVD |
| Enterprise linux | 9.0 |
— | NVD |
Linux (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Linux kernel | de 4.4.0-96.119 (inclus) à 5.15.0-58 (inclus) |
— | NVD |
Correctif
Non renseigné par l’éditeur.
Contournement
Contournementsource officielle
The mitigation shown below has a potentially significant impact on system performance and stability. It should be carefully tested prior to deployment: - Deactivation of memory deduplication Deactivating memory deduplication will effectively mitigate all attack vectors. This measure unfortunately eliminates all the highly appreciated benefits of memory deduplication, namely the increase of operational cost-effectiveness through inter-VM memory sharing. This will cause an increase in the amount of memory required and in some situations may adversely impact performance (e.g. due to slower swap space being used). It is recommended that customers test this workaround before using it in production. See https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/6/html/virtualization_tuning_and_optimization_guide/sect-ksm-deactivating_ksm for how to disable KSM from Red Hat Enterprise Linux 6 and newer. - Disabling services and firewall rules. The attack uses the response time of services on the system. By limiting access to services an attacker must connect to the service to successful carry out the exploit. Reducing the number of systems that are allowed to connect to the service will prevent an attack from working when launched outside an allowed ranges. While this does not prevent an attack from working, it will reduce the amount of systems that an attacker can launch an attack from.
Source : CNA (éditeur ou attributeur)
Savoir si vous êtes touché
Exploit signalé par les sources
Ces liens sont étiquetés « exploit » par le NVD ou par CVE.org. Nous ne les avons pas vérifiés ni copiés ; ouvrez-les avec prudence.
Chronologie
- — Publication de la CVE (cve)
Références
- https://access.redhat.com/security/cve/CVE-2024-0564Third Party Advisory
- https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1680513Exploit, Issue Tracking
- https://bugzilla.redhat.com/show_bug.cgi?id=2258514Issue Tracking
- https://link.springer.com/conference/wisaNot Applicable
- https://wisa.or.kr/acceptedNot Applicable
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- NVD
- Faiblesse (CWE)
- CNA (éditeur ou attributeur)
- Vecteur CVSS
CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N(CVSS 3.1, NVD)- Faiblesse
- CWE-203 · Autre (CWE-203)