StraitOfVuln
Latest / CVE-2026-139309

CVE-2026-139309

Not yet scoredReceived
CVE.org ↗NVD ↗

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.

Details

CVE ID
CVE-2026-139309
Published / updated
30 Nov 2026, 14:18 UTC · last modified 30 Nov 2026, 14:18 UTC
Severity
Not yet scored by NVD
CVSS score
—
Affected vendor
Linux
Affected products
Linux
Affected versions
Linux: b00b8daec828dd59af7d1f7a42acd6e5867f80c6 to before 3a59b5615c75bd737e1e5c93653c18522e773bfd, b00b8daec828dd59af7d1f7a42acd6e5867f80c6 to before be380aa90cabe89a93f8308017d8d9329e7bee74, b00b8daec828dd59af7d1f7a42acd6e5867f80c6 to before 223bd268d8a86711dd98610899486eb6e0889c67, b00b8daec828dd59af7d1f7a42acd6e5867f80c6 to before 4b6487fc895e70889f58db1291618e7cd390458b, b00b8daec828dd59af7d1f7a42acd6e5867f80c6 to before 1e1df9e7ae908e576cd32227b554fbfedfb51653, b00b8daec828dd59af7d1f7a42acd6e5867f80c6 to before 696b05fe5397637dee8c69deec988030b59e688d, b00b8daec828dd59af7d1f7a42acd6e5867f80c6 to before 72ea9edd9eae351ba1b32ab98be5cedc0fe6cb75, b00b8daec828dd59af7d1f7a42acd6e5867f80c6 to before 13ac7c05bc45d3445b580da186548dd3487fae4e
From the publisher's (CNA) CVE record. NVD analysis is pending.
Fixed versions
Linux 3a59b5615c75bd737e1e5c93653c18522e773bfd, Linux be380aa90cabe89a93f8308017d8d9329e7bee74, Linux 223bd268d8a86711dd98610899486eb6e0889c67, Linux 4b6487fc895e70889f58db1291618e7cd390458b, Linux 1e1df9e7ae908e576cd32227b554fbfedfb51653, Linux 696b05fe5397637dee8c69deec988030b59e688d, Linux 72ea9edd9eae351ba1b32ab98be5cedc0fe6cb75, Linux 13ac7c05bc45d3445b580da186548dd3487fae4e
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.21% probability of exploitation in the next 30 days · 12% percentile (03 Dec 2026)
Weakness
—
Remediation
See the vendor advisory below.
Source (CNA)
416baaa9-dc9f-4396-8d5f-8c081fb06d67