CVE-2024-26884: linux
Vulnerability summary
CVE-2024-26884 is a high (CVSS 7.8) vulnerability in linux. EPSS estimates a 0.25% chance of exploitation in the next 30 days, higher than 15.3% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 38 · Related 35Timeline
- 17-04-2024PublishedVulnerability first disclosed.
- 15-10-2026Last modifiedVulnerability information updated.
Description
In the Linux kernel, the following vulnerability has been resolved: bpf: Fix hashtab overflow check on 32-bit arches The hashtab 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. So apply the same fix to hashtab, by moving the overflow check to before the roundup.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- NVDNIST7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
0.25%
Chance of exploitation in the next 30 days
Percentile
15%
Versus all other CVEs
30-day change
0.00 pp
From 0.25% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-119Improper Restriction of Operations within the Bounds of a Memory BufferThe product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
- CWE-190Integer Overflow or WraparoundThe product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
Affected systems
Ubuntu117 products
- linux< 4.4.0-257.291 | < 4.15.0-227.239 | < 5.4.0-189.209 | < 5.15.0-112.122 | < 6.8.0-35.35
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 4.4.0-1134.140 | < 4.4.0-1172.187 | < 4.15.0-1170.183 | < 5.4.0-1128.138 | < 5.15.0-1063.69 | < 6.8.0-1009.9
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ daaf427c6ab392bedcd018e326b2ffa1e1110cd6, < 33ec04cadb77605b71d9298311919303d390c4d5 | ≥ daaf427c6ab392bedcd018e326b2ffa1e1110cd6, < 92c81fbb3ed2e0dfc33a4183a67135e1ab566ace | ≥ daaf427c6ab392bedcd018e326b2ffa1e1110cd6, < 64f00b4df0597590b199b62a37a165473bf658a6 | ≥ daaf427c6ab392bedcd018e326b2ffa1e1110cd6, < 3b08cfc65f07b1132c1979d73f014ae6e04de55d | ≥ daaf427c6ab392bedcd018e326b2ffa1e1110cd6, < a83fdaeaea3677b83a53f72ace2d73a19bcd6d93 | ≥ daaf427c6ab392bedcd018e326b2ffa1e1110cd6, < 8435f0961bf3dc65e204094349bd9aeaac1f8868 | ≥ daaf427c6ab392bedcd018e326b2ffa1e1110cd6, < d817f0d34d927f2deb17dadbfe212c9a6a32ac3e | ≥ daaf427c6ab392bedcd018e326b2ffa1e1110cd6, < a6fa75b5096c0f9826a4fabe22d907b0a5bb1016 | ≥ daaf427c6ab392bedcd018e326b2ffa1e1110cd6, < 6787d916c2cf9850c97a0a3f73e08c43e7d973b1 | 3.19
- linux_kernel≥ 3.19, < 4.19.311 | ≥ 4.20, < 5.4.273 | ≥ 5.5, < 5.10.214 | ≥ 5.11, < 5.15.153 | ≥ 5.16, < 6.1.83 | ≥ 6.2, < 6.6.23 | ≥ 6.7, < 6.7.11 | ≥ 6.8, < 6.8.2
Debian1 product
- linux< 6.1.85-1 | < 6.7.12-1
3 vendors · 120 products