CVE-2026-98543·Kernel vulnerability
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.
- Severity
- high
- Software
- Kernel
- Fixed in
- 6.18.55, 7.2.9, 7.3
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.15% — higher than 5% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Read the two together. CVE-2026-98543 scores 7.3 on CVSS, so a successful attack would be serious — but at 0.15%, almost nobody is currently attempting it. That is a different situation from a flaw under mass exploitation, and it is usually the difference between patching on your next maintenance window and patching tonight.
How to fix this CVE
This vulnerability affects the Linux kernel's BPF LSM subsystem, where xattr operations on dentries were incorrectly assumed to hold inode locks in path_unlink and path_rmdir hooks, potentially allowing unprivileged local users to corrupt filesystem metadata or cause denial of service. Update your kernel to version 6.18.55, 7.2.9, or 7.3+ depending on your current branch, or install your distribution's patched kernel package immediately. This fix removes the vulnerable hook assumptions to ensure proper locking semantics are maintained.
sudo dnf update kernel kernel-develDefensia detects this vulnerability
How to check if you are affected
- Check your current kernel version: uname -r — compare against fixed versions (6.18.55, 7.2.9, 7.3+)
- Verify BPF LSM is enabled in your kernel: grep -i 'CONFIG_BPF_LSM' /boot/config-$(uname -r) — if set to 'y' and kernel version is below fixed releases, you are vulnerable
- Search system logs for BPF-related errors or xattr corruption: grep -i 'bpf\|xattr\|i_rwsem' /var/log/kern.log or journalctl -u kernel | grep -i bpf
- After patching, verify the new kernel version: uname -r — confirm it matches or exceeds the fixed version for your branch
FAQ
What is CVE-2026-98543?
CVE-2026-98543 is a kernel-level race condition in the BPF LSM subsystem where xattr operations incorrectly assumed inode locks were held in path_unlink and path_rmdir contexts, allowing local attackers with limited privileges to access or modify file metadata without proper synchronization.
Is CVE-2026-98543 being actively exploited?
No, there is no evidence of active exploitation or public exploit code for CVE-2026-98543 at this time, though it is a high-severity vulnerability affecting local attack surfaces on systems with BPF LSM enabled.
What versions of Kernel are affected by CVE-2026-98543?
Kernel versions prior to 6.18.55 (6.18.x branch), 7.2.9 (7.2.x branch), and 7.3-mainline are affected. Users on the 6.18, 7.2, or 7.x stable branches should upgrade to their respective patched releases.
How do I check if my server is vulnerable to CVE-2026-98543?
Run uname -r to check your kernel version, then verify it against the fixed versions (6.18.55+, 7.2.9+, 7.3+). Additionally, confirm BPF LSM support is enabled with: grep CONFIG_BPF_LSM /boot/config-$(uname -r)
Does Defensia detect CVE-2026-98543?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If the Linux kernel package is installed on a monitored server, CVE-2026-98543 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2026-98543. Free for 1 server.
Get started free