← All Advisories
Reported from OT-Advisories.com as of

Linux Kernel BPF LSM Hook for fs/xattr Assumes the Inode Is Locked in path_unlink and path_rmdir When It May Not Be

Last refreshed2026-11-16

Status: UPDATED  |  Advisory ID: CVE-2026-98543

Key Details

CVECVE-2026-98543
CVSS Score / Version
7.3 (High) / CVSS v3.1
Updated2026-10-24
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:H
CVSS Prose
attack vector is local; attack complexity is low; privileges required is low; user interaction is none; scope is changed; confidentiality impact is none; integrity impact is low; availability impact is high.
Affected products
Linux Kernel
Exploitation prediction (EPSS)
0.15% probability of exploitation in the next 30 days (5% percentile) -- FIRST.org's EPSS model.

Affected Products, Subsystems & Sectors

VendorProductAffected VersionsPatch Status
LinuxLinux Kernel
SubsystemsOT Supporting Infrastructure
SectorsAll Sectors

What to Know

In the Linux kernel, the following vulnerability has been resolved:

bpf: fs/xattr: don't assume the inode is locked in path_unlink/path_rmdir

bpf_lsm_has_d_inode_locked() makes the verifier rewrite

bpf_[set|remove]_dentry_xattr() to the _locked variants, which assume

that the caller already holds the inode's i_rwsem. The path_unlink and

path_rmdir hooks are listed, but security_path_unlink() and

security_path_rmdir() run before vfs_unlink()/vfs_rmdir() take the

victim inode's i_rwsem, so a sleepable BPF LSM program attached to

either hook mutates the victim's xattrs without the lock held.

Drop the two path hooks from d_inode_locked_hooks so that the verifier

keeps the locking bpf_[set|remove]_dentry_xattr() variants, which take

the lock themselves. (NVD)

What to Do

Monitor Linux's web page for any future patch releases.

References

SourceReference
NVDhttps://nvd.nist.gov/vuln/detail/CVE-2026-98543
CVEhttps://www.cve.org/CVERecord?id=CVE-2026-98543
Report compilation © 2026 OT-Advisories.com  ·  CC BY 4.0  ·  Source materials remain the property of their respective publishers as cited.