# CVE-2026-98047: bpf: Check ancestor frames for rbtree callbacks

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.22% (percentile 8, 2026-11-26)
- **Published:** 2026-09-25T10:23:57.347Z
- **Modified:** 2026-10-21T13:21:20.180Z

## Who should check

- Anyone running Linux \>= a44b1334aadd82203f661adb9adb41e53ad0e8d1, \< 252e9b476af723edd299a5c71c389ec018e46656; \>= a44b1334aadd82203f661adb9adb41e53ad0e8d1, \< b545fa447e09e6844868deb2bee228827fe54d15; \>= a44b1334aadd82203f661adb9adb41e53ad0e8d1, \< 2410cb2ac0416dd2795a81984c8c73d7250bd8c4; \>= a44b1334aadd82203f661adb9adb41e53ad0e8d1, \< 369f4ce734570bdfedaa4b5ca50e2a3f6a892728
- Anyone running Linux 6.9

## 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.

## Affected and fixed versions

- Linux: \>= a44b1334aadd82203f661adb9adb41e53ad0e8d1, \< 252e9b476af723edd299a5c71c389ec018e46656; \>= a44b1334aadd82203f661adb9adb41e53ad0e8d1, \< b545fa447e09e6844868deb2bee228827fe54d15; \>= a44b1334aadd82203f661adb9adb41e53ad0e8d1, \< 2410cb2ac0416dd2795a81984c8c73d7250bd8c4; \>= a44b1334aadd82203f661adb9adb41e53ad0e8d1, \< 369f4ce734570bdfedaa4b5ca50e2a3f6a892728 (cvelist)
- Linux: 6.9 (cvelist)

## Mitigation

- Upgrade Linux to 369f4ce734570bdfedaa4b5ca50e2a3f6a892728 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-98047. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-98047.md
Affected: Linux >= a44b1334aadd82203f661adb9adb41e53ad0e8d1, < 252e9b476af723edd299a5c71c389ec018e46656; >= a44b1334aadd82203f661adb9adb41e53ad0e8d1, < b545fa447e09e6844868deb2bee228827fe54d15; >= a44b1334aadd82203f661adb9adb41e53ad0e8d1, < 2410cb2ac0416dd2795a81984c8c73d7250bd8c4; >= a44b1334aadd82203f661ad…
Fixed in: Linux 252e9b476af723edd299a5c71c389ec018e46656, Linux 2410cb2ac0416dd2795a81984c8c73d7250bd8c4, Linux 369f4ce734570bdfedaa4b5ca50e2a3f6a892728

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-98047 being exploited?

There is no confirmed exploitation: CVE-2026-98047 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.22% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-98047?

It has no CVSS score yet. Unknown.

### Which versions are affected by CVE-2026-98047?

Linux \>= a44b1334aadd82203f661adb9adb41e53ad0e8d1, \< 252e9b476af723edd299a5c71c389ec018e46656; \>= a44b1334aadd82203f661adb9adb41e53ad0e8d1, \< b545fa447e09e6844868deb2bee228827fe54d15; \>= a44b1334aadd82203f661adb9adb41e53ad0e8d1, \< 2410cb2ac0416dd2795a81984c8c73d7250bd8c4; \>= a44b1334aadd82203f661adb9adb41e53ad0e8d1, \< 369f4ce734570bdfedaa4b5ca50e2a3f6a892728; Linux 6.9.

### Is there a fix for CVE-2026-98047?

Yes. Fixed in Linux 252e9b476af723edd299a5c71c389ec018e46656, Linux 2410cb2ac0416dd2795a81984c8c73d7250bd8c4, Linux 369f4ce734570bdfedaa4b5ca50e2a3f6a892728. Upgrade Linux to 369f4ce734570bdfedaa4b5ca50e2a3f6a892728 or later.

### How do I check if I'm affected by CVE-2026-98047?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- other: <https://git.kernel.org/stable/c/252e9b476af723edd299a5c71c389ec018e46656>
- other: <https://git.kernel.org/stable/c/b545fa447e09e6844868deb2bee228827fe54d15>
- other: <https://git.kernel.org/stable/c/2410cb2ac0416dd2795a81984c8c73d7250bd8c4>
- other: <https://git.kernel.org/stable/c/369f4ce734570bdfedaa4b5ca50e2a3f6a892728>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-98047>

HTML: <https://flawdb.com/CVE-2026-98047> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-98047>
