CVE-2026-98613
Last modified
CVE-2026-98613 is a vulnerability of currently unknown severity. 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.
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 Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | >= b0966c724584a5a9fd7fb529de19807c31f27a45, < 92aa0502c781d72bb9685245c3280efb3766a110; >= b0966c724584a5a9fd7fb529de19807c31f27a45, < 9c11e543fec32e92b3aa3f693339ca3ee79ea9dd; >= b0966c724584a5a9fd7fb529de19807c31f27a45, < 4105870a4b8afe852aeb24a6dd58e1836cc4ce58; >= b0966c724584a5a9fd7fb529de19807c31f27a45, < bfc888f04588f591851e95c974954cfca58e6c19 |
| Linux | Linux | 6.12 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-98613?
How severe is CVE-2026-98613?
How do I fix CVE-2026-98613?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-98607In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98608In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98609In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98610In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98611In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98612In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98614In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98615In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98616In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98617In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98618In the Linux kernel, the following vulnerability has been re…
- CVE-2026-98619In the Linux kernel, the following vulnerability has been re…
Are you affected by CVE-2026-98613?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
