CVE-2024-35905
Last modified
CVE-2024-35905 is a high-severity vulnerability rated 7.8/10 on the CVSS scale. 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. EPSS estimates a 0.22% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions | Update |
|---|---|---|---|
| Linux | Linux Kernel | >= 5.10.209, < 5.10.215 | — |
| Linux | Linux Kernel | >= 5.15.148, < 5.15.154 | — |
| Linux | Linux Kernel | >= 6.1.75, < 6.1.85 | — |
| Linux | Linux Kernel | >= 6.6.14, < 6.6.26 | — |
| Linux | Linux Kernel | >= 6.7.2, < 6.8.5 | — |
| Linux | Linux Kernel | 6.9 | Rc1 |
| Debian | Debian Linux | 10.0 | — |
References
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2024-35905?
How severe is CVE-2024-35905?
How do I fix CVE-2024-35905?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-3590The LetterPress WordPress plugin through 1.2.2 does not hav…6.1
- CVE-2024-35900In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-35901In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-35902In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-35903In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-35904In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-35906Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2024-35907In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-35908In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-35909In the Linux kernel, the following vulnerability has been re…5.5
- CVE-2024-3591The Geo Controller WordPress plugin before 8.6.5 unserialize…6.5
- CVE-2024-35910In the Linux kernel, the following vulnerability has been re…5.8
Are you affected by CVE-2024-35905?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
