CVE-2026-98543
What it is
A flaw in how the Linux kernel lets BPF security programs change a file's extra attributes while the file is being deleted. The kernel assumes the file is already locked when it is not, so its attributes are changed without protection from other changes at the same time. Only someone already signed in to the computer can use it.
Written in plain English by AI from the official record. Show the official wording
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.
How it can be attacked: Only someone already signed in to the computer can use it, not someone on the internet.
How serious it is: Scored 7.3 out of 10 by the organization that published the record.
Chance of being attacked in the next 30 days: 0.2 % (EPSS).
What it affects, and the version that fixes it
- Linux Kernel Each release has its own fixed version: 6.18.55, 7.2.9, 7.3.
The official vulnerability database has not reviewed this record yet, so this comes from the vendor's own listing and may be incomplete.