PT-2026-163246

CVE-2026-139205

·

Published

2026-11-30

·

Updated

2026-11-30

Description by

Score
N/A
Not available

No severity ratings or metrics are available. When they are, we'll update the corresponding info on the page.

In the Linux kernel, the following vulnerability has been resolved:
bpf: Propagate btf add type() errors in btf check all metas()
btf check all metas() ignores the return value of btf add type(), 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 (BTF MAX TYPE), every following btf add type() fails the same way, so btf check all metas() still returns 0 and the BTF object is created with btf->nr types capped while hdr->type len claims more records.
  • -ENOMEM. btf->nr types 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. btf type by id() 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.
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾