CVE-2024-35905 in Debian Linux and 2 more products
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.
Affects 3 products from 3 vendors. Description from NVD and MITRE.
Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Debian | Debian Linux | 10.0 |
| Linux | Linux Kernel | 6.9 ≥ 5.10.209, < 5.10.215 ≥ 5.15.148, < 5.15.154 ≥ 6.1.75, < 6.1.85 ≥ 6.6.14, < 6.6.26 ≥ 6.7.2, < 6.8.5 |
| Linux | Linux | 6.8 ≥ 5.10.209, < 5.10.215 ≥ 5.15.148, < 5.15.154 ≥ 6.1.75, < 6.1.85 ≥ 6.6.14, < 6.6.26 ≥ 6.7.2, < 6.8 |
| Siemens | — | — |
| Siemens | Simatic S7-1500 Tm Mfp Firmware | < 1.1.1 |
Fix and vendor advisory
- SIMATIC S7-1500 TM MFP - GNU/Linux subsystem before V1.1.1: Update to V1.1.1 or later version
Source: SSA-265688
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Record details
| CVE ID | CVE-2024-35905 |
|---|---|
| BreachSpider ID | BS-2024-GLOBAL-195200-H |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2024-05-19 |
| Last modified | 2026-10-15 |
| Weakness (CWE) | |
| Source | NVD |
Compensating controls AI-drafted, review before use
Implement strict input validation and access control policies for BPF programs to prevent unauthorized or malformed stack access operations.
NERC CIP: CIP-007 CIP-007-R2
IEC 62443: SR 7.6
Not validated for your network. A compensating control does not replace the vendor fix.
Check devices from your own code or AI agent: free 14-day trial
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-15.