Linux kernel BPF devmap stack overflow via excessive upper devices
CVE-2026-23359High
The get_upper_ifindexes() function in the Linux kernel writes network device indices into a fixed-size stack array without checking bounds. An attacker can create more than eight virtual network devices (such as macvlans) on a single interface and attach an XDP program using BPF_F_BROADCAST and BPF_F_EXCLUDE_INGRESS flags. When a packet is sent to trigger the XDP redirect path, the function writes beyond the allocated stack buffer, causing a stack-out-of-bounds write that could lead to kernel crash or code execution.
Plain English summary of the NVD and CISA text, checked by machine against both.
Scores and dates
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Detail
Affected versions
- linux linux kernel: from 5.15.1, before 5.15.203
- linux linux kernel: from 5.16, before 6.1.167
- linux linux kernel: from 6.2, before 6.6.130
- linux linux kernel: from 6.7, before 6.12.77
- linux linux kernel: from 6.13, before 6.18.17
- linux linux kernel: from 6.19, before 6.19.7
- linux linux kernel: 5.15
- linux linux kernel: 7.0
Reports naming this CVE2 in total
· All CISA Advisories
Siemens SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP (opens in a new tab)· All CISA Advisories
Siemens SIMATIC S7-1500 TM MFP (opens in a new tab)