CVE-2024-26885
HIGHDescription
In the Linux kernel, the following vulnerability has been resolved: bpf: Fix DEVMAP_HASH overflow check on 32-bit arches The devmap code allocates a number hash buckets equal to the next power of two of the max_entries value provided when creating the map. When rounding up to the next power of two, the 32-bit variable storing the number of buckets can overflow, and the code checks for overflow by checking if the truncated 32-bit value is equal to 0. However, on 32-bit arches the rounding up itself can overflow mid-way through, because it ends up doing a left-shift of 32 bits on an unsigned long value. If the size of an unsigned long is four bytes, this is undefined behaviour, so there is no guarantee that we'll end up with a nice and tidy 0-value at the end. Syzbot managed to turn this into a crash on arm32 by creating a DEVMAP_HASH with max_entries > 0x80000000 and then trying to update it. Fix this by moving the overflow check to before the rounding up operation.
How to fix
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Exploit Intelligence
Low risk: more likely to be exploited than 16% of all known CVEs.
References
Related Vulnerabilities
Other CWE-119 (Buffer Overflow) vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2023-4966 | Critical | 9.4 | 100% | KEV + Ransom | Fix |
| CVE-2017-11882 | High | 7.8 | 100% | KEV + Ransom | - |
| CVE-2020-0796 | Critical | 10.0 | 100% | KEV + Ransom | - |
| CVE-2008-4250 | Critical | 9.8 | 99% | KEV | - |
| CVE-2017-15944 | Critical | 9.8 | 98% | KEV | Fix |
| CVE-2015-0014 | High | 10.0 | 97% | - | - |
Embed a live status badge for CVE-2024-26885
Markdown
[](https://tridentstack.com/cve/CVE-2024-26885)HTML
<a href="https://tridentstack.com/cve/CVE-2024-26885"><img src="https://tridentstack.com/cve/badge/CVE-2024-26885.svg" alt="CVE-2024-26885"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
Start freeThis product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2026-05-12.