- Accueil
- Vulnérabilités
- CVE-2026-23352
CVE-2026-23352
x86/efi: defer freeing of boot services memory
Résumé
In the Linux kernel, the following vulnerability has been resolved: x86/efi: defer freeing of boot services memory efi_free_boot_services() frees memory occupied by EFI_BOOT_SERVICES_CODE and EFI_BOOT_SERVICES_DATA using memblock_free_late(). There are two issue with that: memblock_free_late() should be used for memory allocated with memblock_alloc() while the memory reserved with memblock_reserve() should be freed with free_reserved_area(). More acutely, with CONFIG_DEFERRED_STRUCT_PAGE_INIT=y efi_free_boot_services() is called before deferred initialization of the memory map is complete. Benjamin Herrenschmidt reports that this causes a leak of ~140MB of RAM on EC2 t3a.nano instances which only have 512MB or RAM. If the freed memory resides in the areas that memory map for them is still uninitialized, they won't be actually freed because memblock_free_late() calls memblock_free_pages() and the latter skips uninitialized pages. Using free_reserved_area() at this point is also problematic because __free_page() accesses the buddy of the freed page and that again might end up in uninitialized part of the memory map. Delaying the entire efi_free_boot_services() could be problematic because in addition to freeing boot services memory it updates efi.memmap without any synchronization and that's undesirable late in boot when there is concurrency. More robust approach is to only defer freeing of the EFI boot services memory. Split efi_free_boot_services() in two. First efi_unmap_boot_services() collects ranges that should be freed into an array then efi_free_boot_services() later frees them after deferred init is complete.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Linux (12 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Linux | de 2.6.39.1 (inclus) à 2.6.39.2 (exclu) |
— | CNA (éditeur ou attributeur) |
| Linux | 3.0 |
— | CNA (éditeur ou attributeur) |
| Linux kernel | de 3.0.1 (inclus) à 5.10.253 (exclu) |
— | NVD |
| Linux kernel | de 5.11 (inclus) à 5.15.203 (exclu) |
— | NVD |
| Linux kernel | de 5.16 (inclus) à 6.1.167 (exclu) |
— | NVD |
| Linux kernel | de 6.2 (inclus) à 6.6.130 (exclu) |
— | NVD |
| Linux kernel | de 6.7 (inclus) à 6.12.77 (exclu) |
— | NVD |
| Linux kernel | de 6.13 (inclus) à 6.18.17 (exclu) |
— | NVD |
| Linux kernel | de 6.19 (inclus) à 6.19.7 (exclu) |
— | NVD |
| Linux kernel | 2.6.39.1 |
— | NVD |
| Linux kernel | 3.0 |
— | NVD |
| Linux kernel | 7.0 |
— | NVD |
Correctif
Non renseigné par l’éditeur.
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
- — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1298)
- — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1335)
- — Avis du CERT-FR (certfr:CERTFR-2026-AVI-1372)
Avis CERT-FR
- CERTFR-2026-AVI-1372 — Multiples vulnérabilités dans les produits SUSE (23 octobre 2026) 23 oct. 2026
- CERTFR-2026-AVI-1335 — Multiples vulnérabilités dans le noyau Linux de SUSE (16 octobre 2026) 16 oct. 2026
- CERTFR-2026-AVI-1298 — Multiples vulnérabilités dans les produits Siemens (13 octobre 2026) 13 oct. 2026
Références
- https://git.kernel.org/stable/c/227688312fece0026fc67a00ba9a0b3611ebe95dPatch
- https://git.kernel.org/stable/c/399da820ecfe6f4f10c143e5c453d3559a04db9cPatch
- https://git.kernel.org/stable/c/4a2cb90c538f06c873a187aa743575d48685d7a6Patch
- https://git.kernel.org/stable/c/6a25e25279282c5c8ade554c04c6ab9dc7902c64Patch
- https://git.kernel.org/stable/c/6d8ba221e7aafaa2f284b7d22faee814c28e009dPatch
- https://git.kernel.org/stable/c/7131bd1fecc749bc94fb44aae217bbd8a8a85264Patch
- https://git.kernel.org/stable/c/7dcf59422a3b0d20ddda844f856b4a1e0608a326Patch
- https://git.kernel.org/stable/c/a4b0bf6a40f3c107c67a24fbc614510ef5719980Patch
- https://git.kernel.org/stable/c/f9e9cc320854a76a39e7bc92d144554f3a727fadPatch
- https://cert-portal.siemens.com/productcert/html/ssa-784472.html
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- NVD
- Faiblesse (CWE)
- NVD
- Vecteur CVSS
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H(CVSS 3.1, NVD)- Faiblesse
- CWE-401 · Autre (CWE-401)