CVE-2026-98543
bpf: fs/xattr: don't assume the inode is locked in path_unlink/path_rmdir
Reported by linux · Published October 18, 2026
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.
EPSS 0.15% · 4.6th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| kernel6.18-tools | Amazon Linux | 1:6.18.56-125.164.amzn2023 |
| python3-perf6.18 | Amazon Linux | 1:6.18.56-125.164.amzn2023 |
| perf6.18 | Amazon Linux | 1:6.18.56-125.164.amzn2023 |
| microvm-kernel6.18 | Amazon Linux | 1:6.18.56-125.164.amzn2023 |
| kernel-livepatch-6.18.56-125.164 | Amazon Linux | 1:1.0-0.amzn2023 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | 56467292794b800164df20c076c409ac548e56ec, 56467292794b800164df20c076c409ac548e56ec, 56467292794b800164df20c076c409ac548e56ec |
| Linux | Linux | 6.15, 0, 6.18.55 |
| amazon:2023 | kernel6.18-tools | 0 |
| amazon:2023 | python3-perf6.18 | 0 |
| amazon:2023 | perf6.18 | 0 |
| amazon:2023 | microvm-kernel6.18 | 0 |
| amazon:2023 | kernel-livepatch-6.18.56-125.164 | 0 |
| linux | linux_kernel | 6.15, 6.15, 6.15 |
| amazon:2023 | bpftool6.18 | 0 |
| Linux | Linux | 7.2.9, 56467292794b800164df20c076c409ac548e56ec, 56467292794b800164df20c076c409ac548e56ec |
| amazon:2023 | kernel6.18-headers | 0 |
| amazon:2023 | kernel6.18-modules-extra | 0 |
| amazon:2023 | kernel6.18-devel | 0 |
| amazon:2023 | kernel6.18 | 0 |
| amazon:2023 | kernel6.18-modules-extra-common | 0 |
| amazon:2023 | kernel6.18-tools-devel | 0 |
Timeline
- Oct 18, 2026 Coalition ESS Score
- Oct 18, 2026 CVE Published
- Oct 19, 2026 EPSS Score (3 in total, the first dated here)
- Oct 24, 2026 CVE Updated
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-98543
vulnetix vdb fixes CVE-2026-98543
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-98543/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart