mm/gup: fix clearing folios in memfd_pin_folios() (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.17 % · centile 6 ()
- É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/gup: fix clearing folios in memfd_pin_folios() memfd_pin_folios() pins folios obtained directly from the page cache without checking whether they are uptodate. However, shmem fallocate() can leave newly allocated folios uncleared and not uptodate. Callers such as udmabuf can then expose uninitialized memory to userspace. Clear non-uptodate folios and mark them uptodate under the folio lock before returning them to the caller. Fix generated by an LLM and sent by Chris Mason in private. [ david: simplify description and comment ]
Références
Références européennes
- ENISA EUVD · EUVD-2026-130956
- GCVE · GCVE-0-2026-99663
Avis du CERT-FR
- CERTFR-2026-AVI-1679 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1638 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Produits affectés
| Produit | Versions affectées |
|---|---|
| Linux · Linux | affectée : ≥ 89c1905d9c140372b7f50ef48f42378cf85d9bc5 < 9b9c506018859bb33f01e4b9df213d41b9ca4cc2 affectée : ≥ 89c1905d9c140372b7f50ef48f42378cf85d9bc5 < d56f6835532c59b1b5e2d43f373f31586e7e457f affectée : ≥ 89c1905d9c140372b7f50ef48f42378cf85d9bc5 < 65f4a8ef0adf18601c6ddbfd0e3918afffaeb890 affectée : ≥ 89c1905d9c140372b7f50ef48f42378cf85d9bc5 < c83ee2fa5a94edb2e04102b9dd4f1ee0eeb2b932 Autres versions : non affectée |
| Linux · Linux | affectée : 6.11 non affectée : ≥ 0 < 6.11 non affectée : ≥ 6.12.118 ≤ 6.12.* non affectée : ≥ 6.18.64 ≤ 6.18.* non affectée : ≥ 7.3.5 ≤ 7.3.* non affectée : ≥ 7.4-rc2 ≤ * 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 |