← Back to CVE Explorer

CVE-2026-80855

Full vulnerability record from the local CVENow database.

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.

Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-09-04 16:18:14.507000
Last modified
2026-10-30 13:20:12.680000
View original CVE JSON
{
  "id": "CVE-2026-80855",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2026-09-04T16:18:14.507",
  "lastModified": "2026-10-30T13:20:12.680",
  "vulnStatus": "Received",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nfuse: fix invalidate lock leak on open O_TRUNC DAX failure\n\nfuse_open() takes filemap_invalidate_lock() for a DAX truncate\n(dax_truncate = true) and releases it before the out_inode_unlock\nlabel.  But when fuse_dax_break_layouts() fails, the goto\nout_inode_unlock skips the unlock and leaks the rwsem, so any later\nfault or truncate on the file stalls on the stale lock.\n\nfuse_dax_break_layouts() can fail with -ERESTARTSYS when a signal\ninterrupts the wait for busy DAX pages to drain:\n\n  open(\"file\", O_RDWR | O_TRUNC)\n  └─ fuse_open()\n     ├─ filemap_invalidate_lock()        # dax_truncate\n     └─ fuse_dax_break_layouts()\n        └─ dax_break_layout()\n           └─ wait_page_idle()           # TASK_INTERRUPTIBLE\n              └─ fuse_wait_dax_page()    # unlock, schedule, re-lock\n                 └─ signal → -ERESTARTSYS\n     goto out_inode_unlock               # <- lock leaked\n\nFix this by moving filemap_invalidate_unlock() below the label so\nthat all error paths release the lock, and rename the label to\nout_unlock as it now covers more than just the inode lock."
    }
  ],
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "fs/fuse/file.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "81775ab858b4236c52c5da7e25cec6e49dd91b46",
              "lessThan": "69a294e561c10909688bcb25456535dcd1818e1a",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "d58366aab86854217b81679d1a9dcd54a2edfc2a",
              "lessThan": "1b04d80a27d317064cce2307472f5bef9975bc50",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "2fdbb8dd01556e1501132b5ad3826e8f71e24a8b",
              "lessThan": "a61524da59a2f5ac9c8de23ff98b30da769ab144",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "2fdbb8dd01556e1501132b5ad3826e8f71e24a8b",
              "lessThan": "dcf30a56624c2a0cfab1bada5b1ca8cc0c02f010",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "2fdbb8dd01556e1501132b5ad3826e8f71e24a8b",
              "lessThan": "7288c279ddbd654a06c82118c1a3f5570c1807f0",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "2fdbb8dd01556e1501132b5ad3826e8f71e24a8b",
              "lessThan": "776e85fda752f9a15e0f82dec42ecacd12a9bd94",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "2fdbb8dd01556e1501132b5ad3826e8f71e24a8b",
              "lessThan": "1d3e701cda2f41d48aa721b3ebefbe0fbf8d74da",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "2fdbb8dd01556e1501132b5ad3826e8f71e24a8b",
              "lessThan": "e981474d7bf1457da12404e169ea147d2c8ecea7",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "2fdbb8dd01556e1501132b5ad3826e8f71e24a8b",
              "lessThan": "a927f1867e61b78f39f9da0bbba3c98c2ca151fe",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "b57e150ac2eac791d5d187923b73dc2dafaf67fa",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "1fdbbe246daf348adaa0739463384b16ceba1fc0",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "5.10.179",
              "lessThan": "5.10.273",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "5.15.109",
              "lessThan": "5.15.220",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "5.18.18",
              "lessThan": "5.19",
              "versionType": "semver",
              "status": "affected"
            },
            {
              "version": "5.19.2",
              "lessThan": "5.20",
              "versionType": "semver",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "fs/fuse/file.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "6.0",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "6.0",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.10.273",
              "lessThanOrEqual": "5.10.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.15.220",
              "lessThanOrEqual": "5.15.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.1.187",
              "lessThanOrEqual": "6.1.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.6.156",
              "lessThanOrEqual": "6.6.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.12.108",
              "lessThanOrEqual": "6.12.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.18.49",
              "lessThanOrEqual": "6.18.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.1.13",
              "lessThanOrEqual": "7.1.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.2.3",
              "lessThanOrEqual": "7.2.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.3",
              "lessThanOrEqual": "*",
              "versionType": "original_commit_for_fix",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {},
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/1b04d80a27d317064cce2307472f5bef9975bc50",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/1d3e701cda2f41d48aa721b3ebefbe0fbf8d74da",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/69a294e561c10909688bcb25456535dcd1818e1a",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/7288c279ddbd654a06c82118c1a3f5570c1807f0",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/776e85fda752f9a15e0f82dec42ecacd12a9bd94",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/a61524da59a2f5ac9c8de23ff98b30da769ab144",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/a927f1867e61b78f39f9da0bbba3c98c2ca151fe",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/dcf30a56624c2a0cfab1bada5b1ca8cc0c02f010",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/e981474d7bf1457da12404e169ea147d2c8ecea7",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ]
}