In the Linux kernel, the following vulnerability has been resolved: bpf: Bound the nesting that the BTF show code follows btfstructshow()…
CVE-2026-139309
In the Linux kernel, the following vulnerability has been resolved: bpf: Bound the nesting that the BTF show code follows btfstructshow() and btfarrayshow() recurse for every nested struct and array. MAXRESOLVEDEPTH bounds one resolve walk when BTF is loaded, not the nesting: a member whose type is resolved already is not walked again, so BTF that defines its types from the inside out can nest them as deep as it has types. Whoever may load BTF, with CAPBPF or a BPF token, can give such a type to the value of a map. Reading the file of that map in bpffs then overruns the kernel stack: with a few hundred levels the stack guard page is hit and the kernel panics. Stop at 32 levels. That is MAXRESOLVEDEPTH, and btfshowindent() has as many columns. Nothing is shown for a member that lies deeper, and the status becomes -E2BIG, which bpfsnprintfbtf() and bpfseqprintfbtf() return. The types of an x8664 defconfig kernel nest 14 deep.
Assessment
- CVSS
- Not yet scored
- Severity
- Unscored
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 30 November 2026
- Last updated
- 30 November 2026
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
At the source
References
- https://git.kernel.org/stable/c/13ac7c05bc45d3445b580da186548dd3487fae4e
- https://git.kernel.org/stable/c/1e1df9e7ae908e576cd32227b554fbfedfb51653
- https://git.kernel.org/stable/c/223bd268d8a86711dd98610899486eb6e0889c67
- https://git.kernel.org/stable/c/3a59b5615c75bd737e1e5c93653c18522e773bfd
- https://git.kernel.org/stable/c/4b6487fc895e70889f58db1291618e7cd390458b
- https://git.kernel.org/stable/c/696b05fe5397637dee8c69deec988030b59e688d
- https://git.kernel.org/stable/c/72ea9edd9eae351ba1b32ab98be5cedc0fe6cb75
- https://git.kernel.org/stable/c/be380aa90cabe89a93f8308017d8d9329e7bee74
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-139309