In the Linux kernel, the following vulnerability has been resolved: bpf: Propagate btfaddtype() errors in btfcheckallmetas()…
CVE-2026-139205
In the Linux kernel, the following vulnerability has been resolved: bpf: Propagate btfaddtype() errors in btfcheckallmetas() btfcheckallmetas() ignores the return value of btfaddtype(), so a type that could not be registered is silently dropped while the loop keeps walking over the type section. Both failure modes are reachable: -E2BIG. Once the types array reaches its capacity (BTFMAXTYPE), every following btfaddtype() fails the same way, so btfcheckallmetas() still returns 0 and the BTF object is created with btf->nrtypes capped while hdr->typelen claims more records. -ENOMEM. btf->nrtypes is not incremented and the array is not grown, so the next type is recorded at the slot of the dropped one and btf->types[] stays off by one with respect to the type ids for all remaining types. btftypebyid() then returns the wrong type for those ids for the whole lifetime of the object, and the last type is silently left unresolved. Propagate the error so that the object is rejected instead.
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/04665d07fa1bd6043a32388e0dc58ca0592647db
- https://git.kernel.org/stable/c/808354dd05f7f40d1d4ff1f070c8ce2e7acf9eb8
- https://git.kernel.org/stable/c/97de075a17067937958d2fe90b2ab0835d67065c
- https://git.kernel.org/stable/c/a704a0e7b2749f665b5bc16ef4e49e27f750adda
- https://git.kernel.org/stable/c/aeeb7926e7ee1f1166dfcb2579273f7853e5c827
- https://git.kernel.org/stable/c/d2e15eaac0b5ca659d2b96b9c318280aa5687f4e
- https://git.kernel.org/stable/c/e54eece54464c30aef9fd13f7260cecee680888b
- https://git.kernel.org/stable/c/fb2b27d214c3b88d926a303267dd83cfdb428b13
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-139205