mm/page_vma_mapped: continue past nonmatching huge PMDs (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.35 % · centile 31 ()
- É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/page_vma_mapped: continue past nonmatching huge PMDs A PTE-mapped large folio can straddle PMD boundaries after an unaligned mremap(). If the first part is discarded and replaced with an unrelated huge PMD, page_vma_mapped_walk() stops instead of looking for the rest of the folio in subsequent PMDs. This also affects migration entries. A walk that stops at an unrelated huge PMD can leave migration PTEs behind when migration or an anonymous folio split restores the mappings. Those entries do not hold mapping references and can outlive the source folio. This issue can lead to memory corruption and I have a reproducer for it. Skip the current PMD rather than ending the walk on a flag or PFN mismatch. Do the same if the PMD became nonpresent before the locked recheck. Release the PMD lock, clear the per-PMD state and advance with step_forward(), so the existing range limit controls termination. This covers present, migration and device-private huge PMDs while preserving the matching-PMD and split-to-PTE paths.
Références
- https://git.kernel.org/stable/c/208c01e3b948911a03f3c00ebfb02d4669f5ff23
- https://git.kernel.org/stable/c/fc1028780177b972fc55ade3fb480792c64e8b29
- https://git.kernel.org/stable/c/f028a65cd51ff84d8d6afcd816a97e74411cadf3
- https://git.kernel.org/stable/c/110caa7cbaf675b4be0916bfad2bb0026523ee8b
- https://git.kernel.org/stable/c/59daa39e6fe891b9eecc56aaf0383487ef5eb046
- https://git.kernel.org/stable/c/f2714035b51a34bce50309af4d96ec26ef371fe3
- https://git.kernel.org/stable/c/d067e7b3728c0fb28e5b45a48922a00075c5ca1c
- https://git.kernel.org/stable/c/1a2993227e8a27fc4cdea305bbdae82d290bc885
Scores
| Version | Score | Vecteur | Évalué par |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | Linux |
| CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) |
Références européennes
- ENISA EUVD · EUVD-2026-138403
- GCVE · GCVE-0-2026-99915
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 : ≥ ace71a19cec5eb430207c3269d8a2683f0574306 < 208c01e3b948911a03f3c00ebfb02d4669f5ff23 affectée : ≥ ace71a19cec5eb430207c3269d8a2683f0574306 < fc1028780177b972fc55ade3fb480792c64e8b29 affectée : ≥ ace71a19cec5eb430207c3269d8a2683f0574306 < f028a65cd51ff84d8d6afcd816a97e74411cadf3 affectée : ≥ ace71a19cec5eb430207c3269d8a2683f0574306 < 110caa7cbaf675b4be0916bfad2bb0026523ee8b affectée : ≥ ace71a19cec5eb430207c3269d8a2683f0574306 < 59daa39e6fe891b9eecc56aaf0383487ef5eb046 affectée : ≥ ace71a19cec5eb430207c3269d8a2683f0574306 < f2714035b51a34bce50309af4d96ec26ef371fe3 affectée : ≥ ace71a19cec5eb430207c3269d8a2683f0574306 < d067e7b3728c0fb28e5b45a48922a00075c5ca1c affectée : ≥ ace71a19cec5eb430207c3269d8a2683f0574306 < 1a2993227e8a27fc4cdea305bbdae82d290bc885 Autres versions : non affectée |
| Linux · Linux | affectée : 4.11 non affectée : ≥ 0 < 4.11 non affectée : ≥ 5.10.275 ≤ 5.10.* non affectée : ≥ 5.15.226 ≤ 5.15.* 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.64 ≤ 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 |