CVE-2026-80856
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 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.
View original CVE JSON
{
"id": "CVE-2026-80856",
"sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"published": "2026-09-04T16:18:14.660",
"lastModified": "2026-10-30T13:20:12.823",
"vulnStatus": "Received",
"cveTags": [],
"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 └─ do_truncate()\n ├─ dentry_needs_remove_privs() # S_ISUID\n └─ notify_change() # KILL_SUID -> ATTR_MODE\n └─ fuse_setattr() # no killpriv:\n │ # ia_valid |= ATTR_MODE\n └─ fuse_do_setattr()\n ├─ filemap_invalidate_lock() # IS_DAX && is_truncate\n └─ write_inode_now() # is_wb && ATTR_MODE\n └─ if (err) # e.g. daemon -> -EIO\n return err # <- 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."
}
],
"affected": [
{
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"affectedData": [
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "unaffected",
"programFiles": [
"fs/fuse/dir.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "6ae330cad6ef22ab8347ea9e0707dc56a7c7363f",
"lessThan": "92faaee1b108c6e4b07730d20896a6593a85f675",
"versionType": "git",
"status": "affected"
},
{
"version": "6ae330cad6ef22ab8347ea9e0707dc56a7c7363f",
"lessThan": "8f14906ce9103ab8f2f1ebda45935a0d61b9d763",
"versionType": "git",
"status": "affected"
},
{
"version": "6ae330cad6ef22ab8347ea9e0707dc56a7c7363f",
"lessThan": "03cfeeb135428fa83f0791d3f8f94d9298cae695",
"versionType": "git",
"status": "affected"
},
{
"version": "6ae330cad6ef22ab8347ea9e0707dc56a7c7363f",
"lessThan": "92588d187ba4697a322e7aefe5d9e538a87d1cd2",
"versionType": "git",
"status": "affected"
},
{
"version": "6ae330cad6ef22ab8347ea9e0707dc56a7c7363f",
"lessThan": "ea9fea370b8de4ffd72e0ef89550415c15637787",
"versionType": "git",
"status": "affected"
},
{
"version": "6ae330cad6ef22ab8347ea9e0707dc56a7c7363f",
"lessThan": "1758730d9eaa3c06cf415c3446d9f6eed9ed3eed",
"versionType": "git",
"status": "affected"
},
{
"version": "6ae330cad6ef22ab8347ea9e0707dc56a7c7363f",
"lessThan": "dd278d954c0e96a9cbd3cc491e07b8267d25f8d5",
"versionType": "git",
"status": "affected"
},
{
"version": "6ae330cad6ef22ab8347ea9e0707dc56a7c7363f",
"lessThan": "e8457ebfd77a46e8d1210e8888ea914ad064558e",
"versionType": "git",
"status": "affected"
},
{
"version": "6ae330cad6ef22ab8347ea9e0707dc56a7c7363f",
"lessThan": "9afeca0d569c9fc89d758fe7a9339d1e8afb1546",
"versionType": "git",
"status": "affected"
}
]
},
{
"vendor": "Linux",
"product": "Linux",
"defaultStatus": "affected",
"programFiles": [
"fs/fuse/dir.c"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"versions": [
{
"version": "5.10",
"status": "affected"
},
{
"version": "0",
"lessThan": "5.10",
"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/03cfeeb135428fa83f0791d3f8f94d9298cae695",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/1758730d9eaa3c06cf415c3446d9f6eed9ed3eed",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/8f14906ce9103ab8f2f1ebda45935a0d61b9d763",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/92588d187ba4697a322e7aefe5d9e538a87d1cd2",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/92faaee1b108c6e4b07730d20896a6593a85f675",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/9afeca0d569c9fc89d758fe7a9339d1e8afb1546",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/dd278d954c0e96a9cbd3cc491e07b8267d25f8d5",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/e8457ebfd77a46e8d1210e8888ea914ad064558e",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
},
{
"url": "https://git.kernel.org/stable/c/ea9fea370b8de4ffd72e0ef89550415c15637787",
"source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
}
]
}