CVE-2024-35905bpf: Protect against int overflow for stack access size
Updated under an hour ago ()
Does this affect you?
It affects Linux and 3 other products. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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.
- CVSS
- 7.8 HIGH (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weakness (CWE)
- Not given
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- Linux
- NVD analysis
- Modified
- Record last updated
- Oct 15, 2026
- First seen by InfoSec Signals
- Oct 15, 2026
Affected products
Linux Linux linux:linux (from the name) | from afea95d319ccb4ad2060dece9ac5e2e364dec543 before 9970e059af471478455f9534e8c3db82f8c5496d; 02962684258eb53f414a8a59854767be526e6abb builds before 37dc1718dc0c4392dbfcb9adec22a776e745dd69; from b1d4d54d32ce6342f5faffe71bae736540ce7cb5 before 98cdac206b112bec63852e94802791e316acc2c1; 08b91babccbb168353f8d43fea0ed28a4cad568c builds before 3f0784b2f1eb9147973d8c43ba085c5fdf44ff69; from a833a17aeac73b33f79433d7cee68d5cafd71e4f before 203a68151e8eeb331d4a64ab78303f3a15faf103; from a833a17aeac73b33f79433d7cee68d5cafd71e4f before ecc6a2101840177e57c925c102d2d29f260d37c8; 1858b8a331937f3976d8482cd5f6e1f945294ad3; from 5.10.209 before 5.10.215; and 4 more ranges | CNA record |
Siemens SIMATIC S7-1500 TM MFP - GNU/Linux subsystem siemens:simatic_s7_1500_tm_mfp_gnu_linux_subsystem (from the name) | before V1.1.1 | CISA ADP |
linux linux_kernel linux:linux_kernel | from 5.10.209 before 5.10.215; from 5.15.148 before 5.15.154; from 6.1.75 before 6.1.85; from 6.6.14 before 6.6.26; from 6.7.2 before 6.8.5; 6.9 | NVD |
debian debian_linux debian:debian_linux | 10.0 | NVD |
References
- https://git.kernel.org/stable/c/9970e059af471478455f9534e8c3db82f8c5496dpatch
- https://git.kernel.org/stable/c/37dc1718dc0c4392dbfcb9adec22a776e745dd69patch
- https://git.kernel.org/stable/c/98cdac206b112bec63852e94802791e316acc2c1patch
- https://git.kernel.org/stable/c/3f0784b2f1eb9147973d8c43ba085c5fdf44ff69patch
- https://git.kernel.org/stable/c/203a68151e8eeb331d4a64ab78303f3a15faf103patch
- https://git.kernel.org/stable/c/ecc6a2101840177e57c925c102d2d29f260d37c8patch
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.htmlmailing-list
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.