mm/mremap: correctly uncharge accountable VMAs in error path (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.32 % · centile 27 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- Linux
- Produits affectés
- Linux · Linux
- Statut NVD
- Received
Rechercher sur…
Description
In the Linux kernel, the following vulnerability has been resolved: mm/mremap: correctly uncharge accountable VMAs in error path The mremap error path is a fragile and unwieldy beast - it reverses the page table move then updates vma_remap_struct state to swap VMA, length and address between old and new VMAs in copy_vma_and_data(). If the mremap() operation didn't specify MREMAP_DONTUNMAP then its caller, move_vma(), invokes unmap_source_vma(), which unmaps the new VMA rather than the old one. For accountable VMAs when MREMAP_DONTUNMAP is not specified, unmap_source_vma() unsets VMA_ACCOUNT_BIT during this unmap in order that only the delta of a VMA expansion is charged (performed by vrm_calc_charge() earlier). Therefore nothing uncharges the expanded VMA size, and there is a permanent leak in global Committed_AS. Resolve the issue by uncharging when MREMAP_DONTUNMAP is not specified.
Références
- https://git.kernel.org/stable/c/ee5a280ddecd4284a372280e4935ba3ac56b4fb7
- https://git.kernel.org/stable/c/58ba5e82d41e8445e563e1604e9adb68e567a266
- https://git.kernel.org/stable/c/813d75b25c3d893eafde79914026ddf85369396d
- https://git.kernel.org/stable/c/e251079d676c481cc905d1ac226851b1ef49a4b8
- https://git.kernel.org/stable/c/22464b99348bde3a3804a26e0a30878358c3dd94
- https://git.kernel.org/stable/c/65e722a74df992719676ead85a9e93fb2b5a0983
Références européennes
- ENISA EUVD · EUVD-2026-138401
- GCVE · GCVE-0-2026-99913
Avis du CERT-FR
- CERTFR-2026-AVI-1679 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
Produits affectés
| Produit | Versions affectées |
|---|---|
| Linux · Linux | affectée : ≥ fdbef61491359947753c13581098878e8d038286 < ee5a280ddecd4284a372280e4935ba3ac56b4fb7 affectée : ≥ fdbef61491359947753c13581098878e8d038286 < 58ba5e82d41e8445e563e1604e9adb68e567a266 affectée : ≥ fdbef61491359947753c13581098878e8d038286 < 813d75b25c3d893eafde79914026ddf85369396d affectée : ≥ fdbef61491359947753c13581098878e8d038286 < e251079d676c481cc905d1ac226851b1ef49a4b8 affectée : ≥ fdbef61491359947753c13581098878e8d038286 < 22464b99348bde3a3804a26e0a30878358c3dd94 affectée : ≥ fdbef61491359947753c13581098878e8d038286 < 65e722a74df992719676ead85a9e93fb2b5a0983 Autres versions : non affectée |
| Linux · Linux | affectée : 5.16 non affectée : ≥ 0 < 5.16 non affectée : ≥ 6.1.193 ≤ 6.1.* non affectée : ≥ 6.6.163 ≤ 6.6.* non affectée : ≥ 6.12.118 ≤ 6.12.* non affectée : ≥ 6.18.63 ≤ 6.18.* non affectée : ≥ 7.3.4 ≤ 7.3.* non affectée : ≥ 7.4-rc1 ≤ * Autres versions : affectée |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |