{"id":"CVE-2026-98543","published":"2026-10-18T15:18:10Z","modified":"2026-10-24T14:09:20Z","title":"bpf: fs/xattr: don't assume the inode is locked in path_unlink/path_rmdir","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: fs/xattr: don't assume the inode is locked in path_unlink/path_rmdir\n\nbpf_lsm_has_d_inode_locked() makes the verifier rewrite\nbpf_[set|remove]_dentry_xattr() to the _locked variants, which assume\nthat the caller already holds the inode's i_rwsem.  The path_unlink and\npath_rmdir hooks are listed, but security_path_unlink() and\nsecurity_path_rmdir() run before vfs_unlink()/vfs_rmdir() take the\nvictim inode's i_rwsem, so a sleepable BPF LSM program attached to\neither hook mutates the victim's xattrs without the lock held.\n\nDrop the two path hooks from d_inode_locked_hooks so that the verifier\nkeeps the locking bpf_[set|remove]_dentry_xattr() variants, which take\nthe lock themselves.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.3,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00154,"percentile":0.04473,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/7504b677c4370c9e4b153c553ff8831c093b1ff6","tags":[]},{"url":"https://git.kernel.org/stable/c/640d37fbd34d03af727dbc567f48c0203d1de6b4","tags":[]},{"url":"https://git.kernel.org/stable/c/35d442ed1f86465e49df3119fb898f985186db13","tags":[]}],"priority":{"score":6.0,"factors":[{"name":"EPSS percentile","points":0.89},{"name":"CVSS severity","points":5.11}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 56467292794b800164df20c076c409ac548e56ec, < 7504b677c4370c9e4b153c553ff8831c093b1ff6",">= 56467292794b800164df20c076c409ac548e56ec, < 640d37fbd34d03af727dbc567f48c0203d1de6b4",">= 56467292794b800164df20c076c409ac548e56ec, < 35d442ed1f86465e49df3119fb898f985186db13"]},{"vendor":"Linux","product":"Linux","versions":["6.15"]}],"euvd":{"id":"EUVD-2026-103588","exploited":false,"provenance":"source"}}