# CVE-2026-98613: bpf: Bound ownership depth through local kptrs and graph roots

> 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 7, 2026-11-26)
- **Published:** 2026-10-18T15:19:33.624Z
- **Modified:** 2026-10-19T10:19:23.637Z

## Who should check

- Anyone running Linux \>= b0966c724584a5a9fd7fb529de19807c31f27a45, \< 92aa0502c781d72bb9685245c3280efb3766a110; \>= b0966c724584a5a9fd7fb529de19807c31f27a45, \< 9c11e543fec32e92b3aa3f693339ca3ee79ea9dd; \>= b0966c724584a5a9fd7fb529de19807c31f27a45, \< 4105870a4b8afe852aeb24a6dd58e1836cc4ce58; \>= b0966c724584a5a9fd7fb529de19807c31f27a45, \< bfc888f04588f591851e95c974954cfca58e6c19
- Anyone running Linux 6.12

## Description

In the Linux kernel, the following vulnerability has been resolved:

bpf: Bound ownership depth through local kptrs and graph roots

Program-allocated objects can own other local objects through referenced
kptrs. bpf\_obj\_free\_fields() follows those pointers through
\_\_bpf\_obj\_drop\_impl() synchronously, before the object storage is freed
through RCU. A self-referential local kptr type therefore permits arbitrarily
deep object chains, and dropping the head can exhaust the kernel stack.
Long acyclic type chains have the same problem.

btf\_check\_and\_fixup\_fields() still assumes referenced kptrs only point to
kernel types and checks ownership through list and rbtree roots only. Its
existing rule is sufficient for graph-only cycles: the target of each graph
edge must contain a node, so every type in a cycle has both a root and a
node. The rule rejects such a type owning another root, breaking every
cycle. It also limits graph-only chains to three types, or two if the first
type contains a node, and conservatively rejects longer acyclic chains.
The missing local-kptr edges, rather than a missed graph-only cycle, are the
bug introduced by support for bpf\_kptr\_xchg() into local kptrs.

Replace that restriction with one bounded ownership walk covering graph
roots and local referenced kptrs. Run it after all BTF records have been
fixed up, reject cycles and paths deeper than eight record-bearing types,
and cache each type's suffix depth while checking it against the remaining
budget. This also permits the longer acyclic graph-only layouts rejected
by the old rule; update their existing BTF tests accordingly.

Keep the bound independent of MAX\_CALL\_FRAMES because recursive destruction
can run below a BPF call chain. A plain local pointee without special-field
metadata adds only a final non-recursing drop. Non-owning kptrs and
kernel-BTF kptrs do not recurse through local records and remain outside the
walk. Include local percpu-kptr edges too, although allocation of percpu
objects with special fields is currently forbidden, so that relaxing that
restriction cannot bypass the ownership bound.

btf\_check\_and\_fixup\_fields() continues to initialize graph\_root.value\_rec,
including for separately allocated map records. The ownership relationships
belong to immutable program BTF and only need validation at BTF load time.

## Affected and fixed versions

- Linux: \>= b0966c724584a5a9fd7fb529de19807c31f27a45, \< 92aa0502c781d72bb9685245c3280efb3766a110; \>= b0966c724584a5a9fd7fb529de19807c31f27a45, \< 9c11e543fec32e92b3aa3f693339ca3ee79ea9dd; \>= b0966c724584a5a9fd7fb529de19807c31f27a45, \< 4105870a4b8afe852aeb24a6dd58e1836cc4ce58; \>= b0966c724584a5a9fd7fb529de19807c31f27a45, \< bfc888f04588f591851e95c974954cfca58e6c19 (cvelist)
- Linux: 6.12 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-98613.md
Affected: Linux >= b0966c724584a5a9fd7fb529de19807c31f27a45, < 92aa0502c781d72bb9685245c3280efb3766a110; >= b0966c724584a5a9fd7fb529de19807c31f27a45, < 9c11e543fec32e92b3aa3f693339ca3ee79ea9dd; >= b0966c724584a5a9fd7fb529de19807c31f27a45, < 4105870a4b8afe852aeb24a6dd58e1836cc4ce58; >= b0966c724584a5a9fd7fb52…
Fixed in: Linux 92aa0502c781d72bb9685245c3280efb3766a110, Linux 9c11e543fec32e92b3aa3f693339ca3ee79ea9dd, Linux 4105870a4b8afe852aeb24a6dd58e1836cc4ce58

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-98613 being exploited?

There is no confirmed exploitation: CVE-2026-98613 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-98613?

It has no CVSS score yet. Unknown.

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

Linux \>= b0966c724584a5a9fd7fb529de19807c31f27a45, \< 92aa0502c781d72bb9685245c3280efb3766a110; \>= b0966c724584a5a9fd7fb529de19807c31f27a45, \< 9c11e543fec32e92b3aa3f693339ca3ee79ea9dd; \>= b0966c724584a5a9fd7fb529de19807c31f27a45, \< 4105870a4b8afe852aeb24a6dd58e1836cc4ce58; \>= b0966c724584a5a9fd7fb529de19807c31f27a45, \< bfc888f04588f591851e95c974954cfca58e6c19; Linux 6.12.

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

Yes. Fixed in Linux 92aa0502c781d72bb9685245c3280efb3766a110, Linux 9c11e543fec32e92b3aa3f693339ca3ee79ea9dd, Linux 4105870a4b8afe852aeb24a6dd58e1836cc4ce58. No fix listed yet: follow the vendor advisory.

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

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/92aa0502c781d72bb9685245c3280efb3766a110>
- other: <https://git.kernel.org/stable/c/9c11e543fec32e92b3aa3f693339ca3ee79ea9dd>
- other: <https://git.kernel.org/stable/c/4105870a4b8afe852aeb24a6dd58e1836cc4ce58>
- other: <https://git.kernel.org/stable/c/bfc888f04588f591851e95c974954cfca58e6c19>

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

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