Skip to main content
VulnerabilityPublished

CVE-2026-139205: Linux kernel · bpf: Propagate btf_add_type() errors in btf_check_all_metas()

Affects Linux kernelSource CVE Database V5

0
Compare

Not known to be exploited · fixed in fb2b27d214c3b88d926a303267dd83cfdb428b13 : update Linux kernel when convenient.

Data as of 30 Nov 2026, 14:00 UTC

Severity
Unrated

Rated by Threat Radar · CVSS not yet scored by NVD

Thin evidence

One scorer or none
Patch
Available – fixed in fb2b27d214c3b88d926a303267dd83cfdb428b13, e54eece54464c30aef9fd13f7260cecee680888b, d2e15eaac0b5ca659d2b96b9c318280aa5687f4e +5

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 30 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
LinuxLinuxAffected
  • ≥ 69b693f0aefa0ed521e8bd02260523b5ae446ad7, < fb2b27d214c3b88d926a303267dd83cfdb428b13
Fixed in
  • fb2b27d214c3b88d926a303267dd83cfdb428b13
LinuxLinuxAffected
  • ≥ 69b693f0aefa0ed521e8bd02260523b5ae446ad7, < e54eece54464c30aef9fd13f7260cecee680888b
Fixed in
  • e54eece54464c30aef9fd13f7260cecee680888b
LinuxLinuxAffected
  • ≥ 69b693f0aefa0ed521e8bd02260523b5ae446ad7, < d2e15eaac0b5ca659d2b96b9c318280aa5687f4e
Fixed in
  • d2e15eaac0b5ca659d2b96b9c318280aa5687f4e
LinuxLinuxAffected
  • ≥ 69b693f0aefa0ed521e8bd02260523b5ae446ad7, < aeeb7926e7ee1f1166dfcb2579273f7853e5c827
Fixed in
  • aeeb7926e7ee1f1166dfcb2579273f7853e5c827
LinuxLinuxAffected
  • ≥ 69b693f0aefa0ed521e8bd02260523b5ae446ad7, < a704a0e7b2749f665b5bc16ef4e49e27f750adda
Fixed in
  • a704a0e7b2749f665b5bc16ef4e49e27f750adda
LinuxLinuxAffected
  • ≥ 69b693f0aefa0ed521e8bd02260523b5ae446ad7, < 808354dd05f7f40d1d4ff1f070c8ce2e7acf9eb8
Fixed in
  • 808354dd05f7f40d1d4ff1f070c8ce2e7acf9eb8

Description

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.

References

Community reviews

Loading reviews…