CVE-2026-98047
bpf: Check ancestor frames for rbtree callbacks
Check your servers for CVE-2026-98047
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-98047 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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.
Exploitation
EPSS 0.22%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.80% of all scored CVEs. Scores of 29 Nov 2026.
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from a44b1334aadd82203f661adb9adb41e53ad0e8d1, before 252e9b476af723edd299a5c71c389ec018e46656 affected from a44b1334aadd82203f661adb9adb41e53ad0e8d1, before b545fa447e09e6844868deb2bee228827fe54d15 affected from a44b1334aadd82203f661adb9adb41e53ad0e8d1, before 2410cb2ac0416dd2795a81984c8c73d7250bd8c4 affected from a44b1334aadd82203f661adb9adb41e53ad0e8d1, before 369f4ce734570bdfedaa4b5ca50e2a3f6a892728
Other versions: unaffected
|
| Linux |
affected 6.9 unaffected before 6.9 unaffected from 6.12.114 up to and including 6.12.* unaffected from 6.18.53 up to and including 6.18.* unaffected from 7.2.7 up to and including 7.2.* unaffected 7.3 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-98047 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-98047
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-98047
trivy image --scanners vuln IMAGE | grep CVE-2026-98047
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/252e9b476af723edd299a5c71c389ec018e46656 git.kernel.org
- https://git.kernel.org/stable/c/b545fa447e09e6844868deb2bee228827fe54d15 git.kernel.org
- https://git.kernel.org/stable/c/2410cb2ac0416dd2795a81984c8c73d7250bd8c4 git.kernel.org
- https://git.kernel.org/stable/c/369f4ce734570bdfedaa4b5ca50e2a3f6a892728 git.kernel.org
Source: the record CVE-2026-98047 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse