CVE-2024-35905

HIGH

Linux Kernel < 5.10.215 - Integer Overflow

Title source: rule
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: bpf: Protect against int overflow for stack access size This patch re-introduces protection against the size of access to stack memory being negative; the access size can appear negative as a result of overflowing its signed int representation. This should not actually happen, as there are other protections along the way, but we should protect against it anyway. One code path was missing such protections (fixed in the previous patch in the series), causing out-of-bounds array accesses in check_stack_range_initialized(). This patch causes the verification of a program with such a non-sensical access size to fail. This check used to exist in a more indirect way, but was inadvertendly removed in a833a17aeac7.

Scores

CVSS v3 7.8
EPSS 0.0003
EPSS Percentile 8.2%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-190 CWE-129
Status published
Products (8)
debian/debian_linux 10.0
linux/Kernel < 5.10.215linux
linux/Kernel 5.11.0 - 5.15.154linux
linux/Kernel 5.16.0 - 6.1.85linux
linux/Kernel 6.2.0 - 6.6.26linux
linux/Kernel 6.7.0 - 6.8.5linux
linux/linux_kernel 6.9 rc1
linux/linux_kernel 5.10.209 - 5.10.215
Published May 19, 2024
Tracked Since Feb 18, 2026