fuse: fix invalidate lock leak on open O_TRUNC DAX failure (Linux Linux)
En bref
- Source
- NVD
- EPSS
- EPSS 0.18 % · centile 8 ()
- État
- PUBLISHED
- Publiée
- Mise à jour
- Attribuée par
- Linux
- Statut NVD
- Received
Rechercher sur…
Description
In the Linux kernel, the following vulnerability has been resolved: fuse: fix invalidate lock leak on open O_TRUNC DAX failure fuse_open() takes filemap_invalidate_lock() for a DAX truncate (dax_truncate = true) and releases it before the out_inode_unlock label. But when fuse_dax_break_layouts() fails, the goto out_inode_unlock skips the unlock and leaks the rwsem, so any later fault or truncate on the file stalls on the stale lock. fuse_dax_break_layouts() can fail with -ERESTARTSYS when a signal interrupts the wait for busy DAX pages to drain: open("file", O_RDWR | O_TRUNC) └─ fuse_open() ├─ filemap_invalidate_lock() # dax_truncate └─ fuse_dax_break_layouts() └─ dax_break_layout() └─ wait_page_idle() # TASK_INTERRUPTIBLE └─ fuse_wait_dax_page() # unlock, schedule, re-lock └─ signal → -ERESTARTSYS goto out_inode_unlock # <- lock leaked Fix this by moving filemap_invalidate_unlock() below the label so that all error paths release the lock, and rename the label to out_unlock as it now covers more than just the inode lock.
Références
- https://git.kernel.org/stable/c/69a294e561c10909688bcb25456535dcd1818e1a
- https://git.kernel.org/stable/c/1b04d80a27d317064cce2307472f5bef9975bc50
- https://git.kernel.org/stable/c/a61524da59a2f5ac9c8de23ff98b30da769ab144
- https://git.kernel.org/stable/c/dcf30a56624c2a0cfab1bada5b1ca8cc0c02f010
- https://git.kernel.org/stable/c/7288c279ddbd654a06c82118c1a3f5570c1807f0
- https://git.kernel.org/stable/c/776e85fda752f9a15e0f82dec42ecacd12a9bd94
- https://git.kernel.org/stable/c/1d3e701cda2f41d48aa721b3ebefbe0fbf8d74da
- https://git.kernel.org/stable/c/e981474d7bf1457da12404e169ea147d2c8ecea7
- https://git.kernel.org/stable/c/a927f1867e61b78f39f9da0bbba3c98c2ca151fe
Références européennes
- ENISA EUVD · EUVD-2026-71305
- GCVE · GCVE-0-2026-80855
Avis du CERT-FR
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1289 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1253 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1163 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
Produits affectés
| Produit | Versions |
|---|---|
| Linux · Linux | affected 81775ab858b4236c52c5da7e25cec6e49dd91b46 < 69a294e561c10909688bcb25456535dcd1818e1a ; affected d58366aab86854217b81679d1a9dcd54a2edfc2a < 1b04d80a27d317064cce2307472f5bef9975bc50 ; affected 2fdbb8dd01556e1501132b5ad3826e8f71e24a8b < a61524da59a2f5ac9c8de23ff98b30da769ab144 ; affected 2fdbb8dd01556e1501132b5ad3826e8f71e24a8b < dcf30a56624c2a0cfab1bada5b1ca8cc0c02f010 ; affected 2fdbb8dd01556e1501132b5ad3826e8f71e24a8b < 7288c279ddbd654a06c82118c1a3f5570c1807f0 ; affected 2fdbb8dd01556e1501132b5ad3826e8f71e24a8b < 776e85fda752f9a15e0f82dec42ecacd12a9bd94 |
| Linux · Linux | affected 6.0 ; unaffected 0 < 6.0 ; unaffected 5.10.273 ≤ 5.10.* ; unaffected 5.15.220 ≤ 5.15.* ; unaffected 6.1.187 ≤ 6.1.* ; unaffected 6.6.156 ≤ 6.6.* |
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 |