CVE Catalog

CVE-2026-23359

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.13%

3th percentile - higher than 3% of all known CVEs

Summary

In the Linux kernel, a stack-out-of-bounds write vulnerability was found in the get_upper_ifindexes() function in devmap. The function iterates over all upper network devices and writes their indices into an array without bounds checking, potentially causing a stack buffer overflow.

Risk Assessment

An attacker could exploit this vulnerability to execute code in kernel context or cause a kernel crash, leading to system integrity compromise and potential privilege escalation.

Recommendation

Immediately update the Linux kernel to a version containing the fix (commit adding a max parameter to get_upper_ifindexes() and returning -EOVERFLOW when too many upper devices are present).

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

In the Linux kernel, the following vulnerability has been resolved: bpf: Fix stack-out-of-bounds write in devmap get_upper_ifindexes() iterates over all upper devices and writes their indices into an array without checking bounds. Also the callers assume that the max number of upper devices is MAX_NEST_DEV and allocate excluded_devices[1+MAX_NEST_DEV] on the stack, but that assumption is not correct and the number of upper devices could be larger than MAX_NEST_DEV (e.g., many macvlans), causing a stack-out-of-bounds write. Add a max parameter to get_upper_ifindexes() to avoid the issue. When there are too many upper devices, return -EOVERFLOW and abort the redirect. To reproduce, create more than MAX_NEST_DEV(8) macvlans on a device with an XDP program attached using BPF_F_BROADCAST | BPF_F_EXCLUDE_INGRESS. Then send a packet to the device to trigger the XDP redirect path.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS