Menu

Star on GitHub · 3.2k

CVE-2024-35905

7.8 · HIGH

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…

Published May 19, 2024CWE-129EPSS 0.22%

Overview

CVE-2024-35905 is a high-severity vulnerability. It was published on May 19, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Frequently asked questions

What is CVE-2024-35905?

CVE-2024-35905 is a high-severity vulnerability. It was published on May 19, 2024 and has a CVSS 3.1 base score of 7.8 (HIGH).

How severe is CVE-2024-35905?

This vulnerability has a CVSS 3.1 base score of 7.8, rated HIGH. It requires local or adjacent network access to exploit. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2024-35905?

Check the references section for vendor advisories, patches, and mitigation guidance. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2024-35905?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-35905 is actually reachable in your own applications and APIs, then verifies each finding before reporting it. That tells you if the weakness is a real, exploitable risk in your environment or a false positive you can safely deprioritize.

Related HIGH CVEs from 2024

View all