fuse: fix invalidate lock leak on open O_TRUNC DAX failure

Summary

CVECVE-2026-80855
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-09-04 16:18:14 UTC
Updated2026-09-04 16:18:14 UTC
DescriptionIn 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.

Risk And Classification

EPSS: 0.001650000 probability, percentile 0.059530000 (date 2026-09-07)

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected d58366aab86854217b81679d1a9dcd54a2edfc2a 1b04d80a27d317064cce2307472f5bef9975bc50 git Not specified
CNA Linux Linux affected 2fdbb8dd01556e1501132b5ad3826e8f71e24a8b a61524da59a2f5ac9c8de23ff98b30da769ab144 git Not specified
CNA Linux Linux affected 2fdbb8dd01556e1501132b5ad3826e8f71e24a8b dcf30a56624c2a0cfab1bada5b1ca8cc0c02f010 git Not specified
CNA Linux Linux affected 2fdbb8dd01556e1501132b5ad3826e8f71e24a8b 7288c279ddbd654a06c82118c1a3f5570c1807f0 git Not specified
CNA Linux Linux affected 2fdbb8dd01556e1501132b5ad3826e8f71e24a8b 776e85fda752f9a15e0f82dec42ecacd12a9bd94 git Not specified
CNA Linux Linux affected 2fdbb8dd01556e1501132b5ad3826e8f71e24a8b 1d3e701cda2f41d48aa721b3ebefbe0fbf8d74da git Not specified
CNA Linux Linux affected 2fdbb8dd01556e1501132b5ad3826e8f71e24a8b e981474d7bf1457da12404e169ea147d2c8ecea7 git Not specified
CNA Linux Linux affected 2fdbb8dd01556e1501132b5ad3826e8f71e24a8b a927f1867e61b78f39f9da0bbba3c98c2ca151fe git Not specified
CNA Linux Linux affected 81775ab858b4236c52c5da7e25cec6e49dd91b46 git Not specified
CNA Linux Linux affected b57e150ac2eac791d5d187923b73dc2dafaf67fa git Not specified
CNA Linux Linux affected 1fdbbe246daf348adaa0739463384b16ceba1fc0 git Not specified
CNA Linux Linux affected 5.15.109 5.15.220 semver Not specified
CNA Linux Linux affected 5.10.179 5.11 semver Not specified
CNA Linux Linux affected 5.18.18 5.19 semver Not specified
CNA Linux Linux affected 5.19.2 5.20 semver Not specified
CNA Linux Linux affected 6.0 Not specified
CNA Linux Linux unaffected 6.0 semver Not specified
CNA Linux Linux unaffected 5.15.220 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.187 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.156 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.108 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.49 6.18.* semver Not specified
CNA Linux Linux unaffected 7.1.13 7.1.* semver Not specified
CNA Linux Linux unaffected 7.2.3 7.2.* semver Not specified
CNA Linux Linux unaffected 7.3-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/dcf30a56624c2a0cfab1bada5b1ca8cc0c02f010 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/7288c279ddbd654a06c82118c1a3f5570c1807f0 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/a927f1867e61b78f39f9da0bbba3c98c2ca151fe 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/e981474d7bf1457da12404e169ea147d2c8ecea7 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/1d3e701cda2f41d48aa721b3ebefbe0fbf8d74da 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/776e85fda752f9a15e0f82dec42ecacd12a9bd94 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/1b04d80a27d317064cce2307472f5bef9975bc50 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/a61524da59a2f5ac9c8de23ff98b30da769ab144 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report