mm/filemap: finish fault cleanup before dropping the fault lock (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.16 % · percentile 6 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- Affected products
- Linux · Linux
- NVD status
- Received
Description
In the Linux kernel, the following vulnerability has been resolved: mm/filemap: finish fault cleanup before dropping the fault lock On a retried fault, a fatal signal interrupting the folio lock wait makes lock_folio_maybe_drop_mmap() drop the fault lock without pinning the file. However, filemap_fault() may still need to release mapping->invalidate_lock. A concurrent munmap() can release the last file reference and free the mapping before that unlock. Defer dropping the fault lock to filemap_fault()'s retry cleanup, after releasing invalidate_lock. If the fault lock was already dropped for I/O, release the existing file reference instead. Keep the fault lock held for FAULT_FLAG_RETRY_NOWAIT as before.
References
- https://git.kernel.org/stable/c/35268471f4a4f3b09374a0d97aaa423dfb6aae81
- https://git.kernel.org/stable/c/80c954830d5a22fa200d74bac413cb3390b95f04
- https://git.kernel.org/stable/c/c3fa2252d436e4ccd483a329c6b4180d11846269
- https://git.kernel.org/stable/c/efa7aec3f30d79a7d35edd219c6f49235f331013
- https://git.kernel.org/stable/c/f1c149e651fd55edc0769b76ebd688ae6cbd48f0
- https://git.kernel.org/stable/c/8500faaa6ef7b4489294f2bf98c9017ee009986c
- https://git.kernel.org/stable/c/97156a6c355c21f7122421915f05461bd11699a4
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| 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) |
European references
- ENISA EUVD · EUVD-2026-130846
- GCVE · GCVE-0-2026-99730
CERT-FR advisories
- 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
Affected products
| Product | Affected versions |
|---|---|
| Linux · Linux | affected : ≥ 730633f0b7f951726e87f912a6323641f674ae34 < 35268471f4a4f3b09374a0d97aaa423dfb6aae81 affected : ≥ 730633f0b7f951726e87f912a6323641f674ae34 < 80c954830d5a22fa200d74bac413cb3390b95f04 affected : ≥ 730633f0b7f951726e87f912a6323641f674ae34 < c3fa2252d436e4ccd483a329c6b4180d11846269 affected : ≥ 730633f0b7f951726e87f912a6323641f674ae34 < efa7aec3f30d79a7d35edd219c6f49235f331013 affected : ≥ 730633f0b7f951726e87f912a6323641f674ae34 < f1c149e651fd55edc0769b76ebd688ae6cbd48f0 affected : ≥ 730633f0b7f951726e87f912a6323641f674ae34 < 8500faaa6ef7b4489294f2bf98c9017ee009986c affected : ≥ 730633f0b7f951726e87f912a6323641f674ae34 < 97156a6c355c21f7122421915f05461bd11699a4 Other versions : unaffected |
| Linux · Linux | affected : 5.15 unaffected : ≥ 0 < 5.15 unaffected : ≥ 5.15.226 ≤ 5.15.* unaffected : ≥ 6.1.193 ≤ 6.1.* unaffected : ≥ 6.6.163 ≤ 6.6.* unaffected : ≥ 6.12.118 ≤ 6.12.* unaffected : ≥ 6.18.64 ≤ 6.18.* unaffected : ≥ 7.3.5 ≤ 7.3.* unaffected : ≥ 7.4-rc2 ≤ * Other versions : affected |
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 |