VDB

CVE-2026-98543

CVE-2026-98543 PUBLISHED CVSS 7.3 HIGH

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.

PackageEcosystemFixed in
kernel6.18-toolsAmazon Linux1:6.18.56-125.164.amzn2023
python3-perf6.18Amazon Linux1:6.18.56-125.164.amzn2023
perf6.18Amazon Linux1:6.18.56-125.164.amzn2023
microvm-kernel6.18Amazon Linux1:6.18.56-125.164.amzn2023
kernel-livepatch-6.18.56-125.164Amazon Linux1:1.0-0.amzn2023

Risk scores

CVSS 3.1
7.3
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:H
EPSS Score
0.15%
4.6th percentile

Affected products

VendorProductVersions
LinuxLinux56467292794b800164df20c076c409ac548e56ec, 56467292794b800164df20c076c409ac548e56ec, 56467292794b800164df20c076c409ac548e56ec
LinuxLinux6.15, 0, 6.18.55
amazon:2023kernel6.18-tools0
amazon:2023python3-perf6.180
amazon:2023perf6.180
amazon:2023microvm-kernel6.180
amazon:2023kernel-livepatch-6.18.56-125.1640
linuxlinux_kernel6.15, 6.15, 6.15
amazon:2023bpftool6.180
LinuxLinux7.2.9, 56467292794b800164df20c076c409ac548e56ec, 56467292794b800164df20c076c409ac548e56ec
amazon:2023kernel6.18-headers0
amazon:2023kernel6.18-modules-extra0
amazon:2023kernel6.18-devel0
amazon:2023kernel6.180
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel6.18-tools-devel0

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

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›