VDB

CVE-2026-98047

CVE-2026-98047 PUBLISHED

bpf: Check ancestor frames for rbtree callbacks

Reported by linux · Published September 25, 2026

In the Linux kernel, the following vulnerability has been resolved: bpf: Check ancestor frames for rbtree callbacks bpf_rbtree_add() invokes its comparator while the caller holds the root lock. The native insertion code retains raw parent and link pointers across the callback, so the verifier prohibits unlocking, consuming tree nodes, or changing RCU state from that callback. in_rbtree_lock_required_cb() only checks the innermost verifier frame. Static subprogram calls are permitted while holding a spin lock, and such a call pushes a frame without in_callback_fn set. Consequently, all callback restrictions disappear in the nested frame. The subprogram can unlock the tree, remove and drop the node being compared, then relock. Native insertion resumes with the stale parent pointer and links freed memory into the tree. Walk all active frames for the rbtree callback instead. Benign static subprograms remain permitted, while callback restrictions follow execution into nested frames.

EPSS 0.22% · 12.0th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-livepatch-6.12.114-139.210Amazon Linux1:1.0-0.amzn2023
python3-perf6.18Amazon Linux1:6.18.54-121.166.amzn2023
kernel6.18-modules-extraAmazon Linux1:6.18.54-121.166.amzn2023
bpftool6.18Amazon Linux1:6.18.54-121.166.amzn2023
microvm-kernel6.18Amazon Linux1:6.18.54-121.166.amzn2023

Risk scores

EPSS Score
0.22%
12.0th percentile

Affected products

VendorProductVersions
LinuxLinuxa44b1334aadd82203f661adb9adb41e53ad0e8d1, a44b1334aadd82203f661adb9adb41e53ad0e8d1, a44b1334aadd82203f661adb9adb41e53ad0e8d1
LinuxLinux6.9, 0, 6.12.114
amazon:2023kernel-livepatch-6.12.114-139.2100
amazon:2023python3-perf6.180
amazon:2023kernel6.18-modules-extra0
amazon:2023bpftool6.180
amazon:2023microvm-kernel6.180
linuxlinux_kernel6.9, 6.9, 6.9
amazon:2023kernel6.180
amazon:2023kernel6.12-tools0
amazon:2023kernel6.18-tools0
amazon:2023kernel6.18-modules-extra-common0
amazon:2023perf6.180
amazon:2023kernel6.12-tools-devel0
amazon:2023python3-perf6.120
amazon:2023perf6.120
amazon:2023kernel6.12-headers0
amazon:2023kernel6.12-devel0
amazon:2023kernel6.120
amazon:2023kernel6.12-modules-extra-common0

…and 7 more

Timeline

  • Sep 25, 2026 CVE Published
  • Sep 26, 2026 EPSS Score (10 in total, the first dated here)
  • Oct 21, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-98047
vulnetix vdb fixes CVE-2026-98047

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-98047/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 ›