Menu

Star on GitHub · 3.2k

CVE-2024-26883

7.8 · HIGH

In the Linux kernel, the following vulnerability has been resolved: bpf: Fix stackmap overflow check on 32-bit arches The stackmap code relies on roundup_pow_of_two() to compute the number of has…

Published Apr 17, 2024CWE-119EPSS 0.25%

Overview

CVE-2024-26883 is a high-severity vulnerability. It was published on April 17, 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: Fix stackmap overflow check on 32-bit arches

The stackmap code relies on roundup_pow_of_two() to compute the number

of hash buckets, and contains an overflow check by checking if the

resulting value is 0. However, on 32-bit arches, the roundup code itself

can overflow by doing a 32-bit left-shift of an unsigned long value,

which is undefined behaviour, so it is not guaranteed to truncate

neatly. This was triggered by syzbot on the DEVMAP_HASH type, which

contains the same check, copied from the hashtab code.

The commit in the fixes tag actually attempted to fix this, but the fix

did not account for the UB, so the fix only works on CPUs where an

overflow does result in a neat truncation to zero, which is not

guaranteed. Checking the value before rounding does not have this

problem.

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-26883?

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

How severe is CVE-2024-26883?

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-26883?

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-26883?

CyberStrike is an open-source, AI-augmented pentesting engine. Rather than flag a version number, it tests whether an issue like CVE-2024-26883 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