CVE-2026-80856 (GCVE-0-2026-80856)
Vulnerability from cvelistv5
Published
2026-09-04 15:55
Modified
2026-09-04 15:55
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: fuse: fix invalidate lock leak on setattr writeback failure fuse_do_setattr() takes filemap_invalidate_lock() for a DAX truncate (fault_blocked = true) and releases it at the out:/error: labels. But when a writeback flush is also needed, a write_inode_now() failure returns directly and leaks the lock, so any later fault or truncate on the file stalls on the stale rwsem. For example, truncate(2) on a setuid file reaches fuse_do_setattr() with both ATTR_SIZE and ATTR_MODE set: truncate(2) └─ do_truncate() ├─ dentry_needs_remove_privs() # S_ISUID └─ notify_change() # KILL_SUID -> ATTR_MODE └─ fuse_setattr() # no killpriv: │ # ia_valid |= ATTR_MODE └─ fuse_do_setattr() ├─ filemap_invalidate_lock() # IS_DAX && is_truncate └─ write_inode_now() # is_wb && ATTR_MODE └─ if (err) # e.g. daemon -> -EIO return err # <- lock leaked Fix this by adding an unlock label that releases the lock before returning the error, and use it for the fuse_dax_break_layouts() failure path as well.
Impacted products
Vendor Product Version
Linux Linux Version: 6ae330cad6ef22ab8347ea9e0707dc56a7c7363f
Version: 6ae330cad6ef22ab8347ea9e0707dc56a7c7363f
Version: 6ae330cad6ef22ab8347ea9e0707dc56a7c7363f
Version: 6ae330cad6ef22ab8347ea9e0707dc56a7c7363f
Version: 6ae330cad6ef22ab8347ea9e0707dc56a7c7363f
Version: 6ae330cad6ef22ab8347ea9e0707dc56a7c7363f
Version: 6ae330cad6ef22ab8347ea9e0707dc56a7c7363f
Version: 6ae330cad6ef22ab8347ea9e0707dc56a7c7363f
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "fs/fuse/dir.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "8f14906ce9103ab8f2f1ebda45935a0d61b9d763",
              "status": "affected",
              "version": "6ae330cad6ef22ab8347ea9e0707dc56a7c7363f",
              "versionType": "git"
            },
            {
              "lessThan": "03cfeeb135428fa83f0791d3f8f94d9298cae695",
              "status": "affected",
              "version": "6ae330cad6ef22ab8347ea9e0707dc56a7c7363f",
              "versionType": "git"
            },
            {
              "lessThan": "92588d187ba4697a322e7aefe5d9e538a87d1cd2",
              "status": "affected",
              "version": "6ae330cad6ef22ab8347ea9e0707dc56a7c7363f",
              "versionType": "git"
            },
            {
              "lessThan": "ea9fea370b8de4ffd72e0ef89550415c15637787",
              "status": "affected",
              "version": "6ae330cad6ef22ab8347ea9e0707dc56a7c7363f",
              "versionType": "git"
            },
            {
              "lessThan": "1758730d9eaa3c06cf415c3446d9f6eed9ed3eed",
              "status": "affected",
              "version": "6ae330cad6ef22ab8347ea9e0707dc56a7c7363f",
              "versionType": "git"
            },
            {
              "lessThan": "dd278d954c0e96a9cbd3cc491e07b8267d25f8d5",
              "status": "affected",
              "version": "6ae330cad6ef22ab8347ea9e0707dc56a7c7363f",
              "versionType": "git"
            },
            {
              "lessThan": "e8457ebfd77a46e8d1210e8888ea914ad064558e",
              "status": "affected",
              "version": "6ae330cad6ef22ab8347ea9e0707dc56a7c7363f",
              "versionType": "git"
            },
            {
              "lessThan": "9afeca0d569c9fc89d758fe7a9339d1e8afb1546",
              "status": "affected",
              "version": "6ae330cad6ef22ab8347ea9e0707dc56a7c7363f",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "fs/fuse/dir.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.10"
            },
            {
              "lessThan": "5.10",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.220",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.187",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.156",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.108",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.49",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.13",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.2.*",
              "status": "unaffected",
              "version": "7.2.3",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.3-rc1",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.220",
                  "versionStartIncluding": "5.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.187",
                  "versionStartIncluding": "5.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.156",
                  "versionStartIncluding": "5.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.108",
                  "versionStartIncluding": "5.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.49",
                  "versionStartIncluding": "5.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.13",
                  "versionStartIncluding": "5.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2.3",
                  "versionStartIncluding": "5.10",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.3-rc1",
                  "versionStartIncluding": "5.10",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nfuse: fix invalidate lock leak on setattr writeback failure\n\nfuse_do_setattr() takes filemap_invalidate_lock() for a DAX truncate\n(fault_blocked = true) and releases it at the out:/error: labels.  But\nwhen a writeback flush is also needed, a write_inode_now() failure\nreturns directly and leaks the lock, so any later fault or truncate on\nthe file stalls on the stale rwsem.\n\nFor example, truncate(2) on a setuid file reaches fuse_do_setattr()\nwith both ATTR_SIZE and ATTR_MODE set:\n\n  truncate(2)\n  \u2514\u2500 do_truncate()\n     \u251c\u2500 dentry_needs_remove_privs()         # S_ISUID\n     \u2514\u2500 notify_change()                     # KILL_SUID -\u003e ATTR_MODE\n        \u2514\u2500 fuse_setattr()                   # no killpriv:\n           \u2502                                #   ia_valid |= ATTR_MODE\n           \u2514\u2500 fuse_do_setattr()\n              \u251c\u2500 filemap_invalidate_lock()  # IS_DAX \u0026\u0026 is_truncate\n              \u2514\u2500 write_inode_now()          # is_wb \u0026\u0026 ATTR_MODE\n                 \u2514\u2500 if (err)                # e.g. daemon -\u003e -EIO\n                    return err              # \u003c- lock leaked\n\nFix this by adding an unlock label that releases the lock before\nreturning the error, and use it for the fuse_dax_break_layouts()\nfailure path as well."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-09-04T15:55:09.250Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/8f14906ce9103ab8f2f1ebda45935a0d61b9d763"
        },
        {
          "url": "https://git.kernel.org/stable/c/03cfeeb135428fa83f0791d3f8f94d9298cae695"
        },
        {
          "url": "https://git.kernel.org/stable/c/92588d187ba4697a322e7aefe5d9e538a87d1cd2"
        },
        {
          "url": "https://git.kernel.org/stable/c/ea9fea370b8de4ffd72e0ef89550415c15637787"
        },
        {
          "url": "https://git.kernel.org/stable/c/1758730d9eaa3c06cf415c3446d9f6eed9ed3eed"
        },
        {
          "url": "https://git.kernel.org/stable/c/dd278d954c0e96a9cbd3cc491e07b8267d25f8d5"
        },
        {
          "url": "https://git.kernel.org/stable/c/e8457ebfd77a46e8d1210e8888ea914ad064558e"
        },
        {
          "url": "https://git.kernel.org/stable/c/9afeca0d569c9fc89d758fe7a9339d1e8afb1546"
        }
      ],
      "title": "fuse: fix invalidate lock leak on setattr writeback failure",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-80856",
    "datePublished": "2026-09-04T15:55:09.250Z",
    "dateReserved": "2026-08-26T14:34:25.797Z",
    "dateUpdated": "2026-09-04T15:55:09.250Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…