Linux Kernel up to 7.3.5 BPF btf_struct_show/btf_array_show stack-based overflow

CVSS Meta Temp Score
CVSS is a standardized scoring system to determine possibilities of attacks. The Temp Score considers temporal factors like disclosure, exploit and countermeasures. The unique Meta Score calculates the average score of different sources to provide a normalized scoring system.
Current Exploit Price (≈)
Our analysts are monitoring exploit markets and are in contact with vulnerability brokers. The range indicates the observed or calculated exploit price to be seen on exploit markets. A good indicator to understand the monetary effort required for and the popularity of an attack.
CTI Interest Score
Our Cyber Threat Intelligence team is monitoring different web sites, mailing lists, exploit markets and social media networks. The CTI Interest Score identifies the interest of attackers and the security community for this specific vulnerability in real-time. A high score indicates an elevated risk to be targeted for this vulnerability.
4.2$0-$5k0.00+

Summaryinfo

A vulnerability was found in Linux Kernel up to 7.3.5. It has been classified as problematic. The impacted element is the function btf_struct_show/btf_array_show of the component BPF. This manipulation causes stack-based overflow. The identification of this vulnerability is CVE-2026-139309. The attack can only be executed locally. There is no exploit available. Upgrading the affected component is recommended.

Detailsinfo

A vulnerability has been found in Linux Kernel up to 7.3.5 and classified as problematic. Affected by this vulnerability is the function btf_struct_show/btf_array_show of the component BPF. The manipulation with an unknown input leads to a stack-based overflow vulnerability. The CWE definition for the vulnerability is CWE-121. The product writes past the end of a buffer that was allocated on the stack. As an impact it is known to affect availability. The summary by CVE is:

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.

It is possible to read the advisory at git.kernel.org. This vulnerability is known as CVE-2026-139309 since 11/30/2026. The exploitation appears to be easy. Attacking locally is a requirement. Additional levels of successful authentication are needed for exploitation. Technical details of the vulnerability are known, but there is no available exploit.

Upgrading to version 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.119, 6.18.65, 7.3.6 or 7.4-rc1 eliminates this vulnerability. Applying the patch 3a59b5615c75bd737e1e5c93653c18522e773bfd/be380aa90cabe89a93f8308017d8d9329e7bee74/223bd268d8a86711dd98610899486eb6e0889c67/4b6487fc895e70889f58db1291618e7cd390458b/1e1df9e7ae908e576cd32227b554fbfedfb51653/696b05fe5397637dee8c69deec988030b59e688d/72ea9edd9eae351ba1b32ab98be5cedc0fe6cb75/13ac7c05bc45d3445b580da186548dd3487fae4e is able to eliminate this problem. The best possible mitigation is suggested to be upgrading to the latest version.

Be aware that VulDB is the high quality source for vulnerability data.

Productinfo

Type

Vendor

Name

Version

License

Website

CPE 2.3info

CPE 2.2info

CVSSv4info

VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv3info

VulDB Meta Base Score: 4.4
VulDB Meta Temp Score: 4.2

VulDB Base Score: 4.4
VulDB Temp Score: 4.2
VulDB Vector: 🔒
VulDB Reliability: 🔍

CVSSv2info

AVACAuCIA
💳💳💳💳💳💳
💳💳💳💳💳💳
💳💳💳💳💳💳
VectorComplexityAuthenticationConfidentialityIntegrityAvailability
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock
UnlockUnlockUnlockUnlockUnlockUnlock

VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍

Exploitinginfo

Class: Stack-based overflow
CWE: CWE-121 / CWE-119
CAPEC: 🔒
ATT&CK: 🔒

Physical: Partially
Local: Yes
Remote: No

Availability: 🔒
Status: Not defined
Price Prediction: 🔍
Current Price Estimation: 🔒

0-DayUnlockUnlockUnlockUnlock
TodayUnlockUnlockUnlockUnlock

Threat Intelligenceinfo

Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍

Countermeasuresinfo

Recommended: Upgrade
Status: 🔍

0-Day Time: 🔒

Upgrade: Kernel 5.10.275/5.15.226/6.1.193/6.6.163/6.12.119/6.18.65/7.3.6/7.4-rc1
Patch: 3a59b5615c75bd737e1e5c93653c18522e773bfd/be380aa90cabe89a93f8308017d8d9329e7bee74/223bd268d8a86711dd98610899486eb6e0889c67/4b6487fc895e70889f58db1291618e7cd390458b/1e1df9e7ae908e576cd32227b554fbfedfb51653/696b05fe5397637dee8c69deec988030b59e688d/72ea9edd9eae351ba1b32ab98be5cedc0fe6cb75/13ac7c05bc45d3445b580da186548dd3487fae4e

Timelineinfo

11/30/2026 Advisory disclosed
11/30/2026 +0 days CVE reserved
11/30/2026 +0 days VulDB entry created
11/30/2026 +0 days VulDB entry last update

Sourcesinfo

Vendor: kernel.org

Advisory: git.kernel.org
Status: Confirmed

CNA: Linux
CVE: CVE-2026-139309 (🔒)

GCVE (CVE): GCVE-0-2026-139309
GCVE (VulDB): GCVE-100-445639

Entryinfo

Created: 11/30/2026 15:59
Changes: 11/30/2026 15:59 (59)
Complete: 🔍
Cache ID: 216::103

Be aware that VulDB is the high quality source for vulnerability data.

Discussion

No comments yet. Languages: en.

Please log in to comment.

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!