Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2026-139309

published

bpf: Bound the nesting that the BTF show code follows

Published
30 Nov 2026, 13:33:33 UTC
Updated
30 Nov 2026, 13:33:33 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Linux — Linuxb00b8daec828dd59af7d1f7a42acd6e5867f80c6 to < 3a59b5615c75bd737e1e5c93653c18522e773bfd · b00b8daec828dd59af7d1f7a42acd6e5867f80c6 to < be380aa90cabe89a93f8308017d8d9329e7bee74 · b00b8daec828dd59af7d1f7a42acd6e5867f80c6 to < 223bd268d8a86711dd98610899486eb6e0889c67 · b00b8daec828dd59af7d1f7a42acd6e5867f80c6 to < 4b6487fc895e70889f58db1291618e7cd390458b · b00b8daec828dd59af7d1f7a42acd6e5867f80c6 to < 1e1df9e7ae908e576cd32227b554fbfedfb51653 · b00b8daec828dd59af7d1f7a42acd6e5867f80c6 to < 696b05fe5397637dee8c69deec988030b59e688d · b00b8daec828dd59af7d1f7a42acd6e5867f80c6 to < 72ea9edd9eae351ba1b32ab98be5cedc0fe6cb75 · b00b8daec828dd59af7d1f7a42acd6e5867f80c6 to < 13ac7c05bc45d3445b580da186548dd3487fae4e · Other versions: unaffected Affected Not stated Linux
Linux — Linux4.18 (affected) · 0 to < 4.18 (unaffected · semver) · 5.10.275 through 5.10.* (unaffected · semver) · 5.15.226 through 5.15.* (unaffected · semver) · 6.1.193 through 6.1.* (unaffected · semver) · 6.6.163 through 6.6.* (unaffected · semver) · 6.12.119 through 6.12.* (unaffected · semver) · 6.18.65 through 6.18.* (unaffected · semver) · 7.3.6 through 7.3.* (unaffected · semver) · 7.4-rc1 and later (unaffected · original_commit_for_fix) · Other versions: affected Version-specific Not stated Linux
Amazon Linux AL2 Release evaluation Pending Fix; Not Affected Not stated Amazon Linux assessment
Amazon Linux AL2023 Release evaluation Pending Fix Not stated Amazon Linux assessment

Description

In the Linux kernel, the following vulnerability has been resolved: bpf: Bound the nesting that the BTF show code follows btf_struct_show() and btf_array_show() recurse for every nested struct and array. MAX_RESOLVE_DEPTH 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 CAP_BPF 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 MAX_RESOLVE_DEPTH, and __btf_show_indent() has as many columns. Nothing is shown for a member that lies deeper, and the status becomes -E2BIG, which bpf_snprintf_btf() and bpf_seq_printf_btf() return. The types of an x86_64 defconfig kernel nest 14 deep.

en · Linux · cna

Vendor advisories explicitly linked to this CVE.

0

No linked advisories were found for this CVE.

Assessment

CVSS risk assessment and additional context for this vulnerability.

No normalized assessments.

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Linux Linux b00b8daec828dd59af7d1f7a42acd6e5867f80c6 to < 3a59b5615c75bd737e1e5c93653c18522e773bfd (affected · git)b00b8daec828dd59af7d1f7a42acd6e5867f80c6 to < be380aa90cabe89a93f8308017d8d9329e7bee74 (affected · git)b00b8daec828dd59af7d1f7a42acd6e5867f80c6 to < 223bd268d8a86711dd98610899486eb6e0889c67 (affected · git)b00b8daec828dd59af7d1f7a42acd6e5867f80c6 to < 4b6487fc895e70889f58db1291618e7cd390458b (affected · git)b00b8daec828dd59af7d1f7a42acd6e5867f80c6 to < 1e1df9e7ae908e576cd32227b554fbfedfb51653 (affected · git)b00b8daec828dd59af7d1f7a42acd6e5867f80c6 to < 696b05fe5397637dee8c69deec988030b59e688d (affected · git)b00b8daec828dd59af7d1f7a42acd6e5867f80c6 to < 72ea9edd9eae351ba1b32ab98be5cedc0fe6cb75 (affected · git)b00b8daec828dd59af7d1f7a42acd6e5867f80c6 to < 13ac7c05bc45d3445b580da186548dd3487fae4e (affected · git)Default: unaffected Linux · cna
Linux Linux 4.18 (affected)0 to < 4.18 (unaffected · semver)5.10.275 through 5.10.* (unaffected · semver)5.15.226 through 5.15.* (unaffected · semver)6.1.193 through 6.1.* (unaffected · semver)6.6.163 through 6.6.* (unaffected · semver)6.12.119 through 6.12.* (unaffected · semver)6.18.65 through 6.18.* (unaffected · semver)7.3.6 through 7.3.* (unaffected · semver)7.4-rc1 and later (unaffected · original_commit_for_fix)Default: affected Linux · cna

Weaknesses

0

No weakness assertions.

References

8

Provider assertions

1

Linux · cna

bpf: Bound the nesting that the BTF show code follows

Provenance

Schema
5.2
Searchable
yes
Content hash
45a3e65b9a87714c6c80ff9a5a504eddaeb4a60aaf8ca0ee502d968c3a007273
Ingested
30 Nov 2026, 13:42:23 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected