In the Linux kernel, the following vulnerability has been resolved: bpf: Fix out-of-bounds btf->types write for split BTF btfaddtype()…
CVE-2026-142893
In the Linux kernel, the following vulnerability has been resolved: bpf: Fix out-of-bounds btf->types write for split BTF btfaddtype() stores the types of a BTF in btf->types[], which can hold at most BTFMAXTYPE entries. The types of a split BTF get IDs startid .. startid + nrtypes - 1, so only BTFMAXTYPE - startid of them fit, but neither the limit check nor the size used to grow the array accounts for startid: the check is an equality test against BTFMAXTYPE ('startid + btf->typessize == BTFMAXTYPE') and the new size is clamped to BTFMAXTYPE. The check therefore only fires if the array happens to grow to exactly BTFMAXTYPE - startid entries. Otherwise, if the module has more than BTFMAXTYPE types, the array is filled up to BTFMAXTYPE entries. The next type that needs to be added reallocates the array to the same size, after which btf->typessize no longer equals btf->nrtypes and the growth path is not taken anymore, so every following type is written past the end of the array: BUG: unable to handle page fault for address: ffffc90006200000 RIP: 0010:btfaddtype+0x74/0x270 Call Trace: btfcheckallmetas btfparsemodule Bound both the array size and the limit check by BTFMAXTYPE -…
Assessment
- CVSS
- 0
- Severity
- Unscored
- EPSS
- 0% chance of exploitation in the next 30 days
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 3 December 2026
- Last updated
- 3 December 2026
- Assigner
- Linux
At the source
References
- https://git.kernel.org/stable/c/0c94c0a9ee19a3a1ca46e5c9a2e9a4900278c0ff
- https://git.kernel.org/stable/c/a2f2f3b32dca430bffc033ac06cc97cba551c171
- https://git.kernel.org/stable/c/5dd99faf54c2b874b72f6c452c4da8e462b4f9f6
- https://git.kernel.org/stable/c/e6583935e3bf07e2a75af622d675afc20e3ddb59
- https://git.kernel.org/stable/c/2752532f5f9a292457a31090a62334f5ef40e0b4
- https://git.kernel.org/stable/c/edf4ae4ba4e7fabc1003c66aacaad2529769573f
- https://git.kernel.org/stable/c/6c476d2b73056ed151c3f8b884c627c75999ed7c
- https://nvd.nist.gov/vuln/detail/CVE-2026-142893
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-142893