CVE-2024-26885: Linux kernel · bpf: Fix DEVMAP_HASH overflow check on 32-bit arches
Affects Linux kernelSource GCVE Database
Not known to be exploited · CVSS 7.8 High · fixed in 5.4.0-1135.145~18.04.1 : patch Linux kernel soon.
Data as of 12 Nov 2026, 19:05 UTC
- Patch
- Available – fixed in 5.4.0-1135.145~18.04.1, 5.4.0-1140.147~18.04.1, 5.4.0-1139.148~18.04.1 +65
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 17 Apr 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 12 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
- ubuntu.com/security/notices/USN-6816-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6817-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6820-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6821-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6821-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-6817-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-6828-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6820-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-6821-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-6817-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-6821-4 (opens in a new tab)
- ubuntu.com/security/notices/USN-6871-1 (opens in a new tab)
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSlinuxpkg:deb/ubuntu/linux?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-awspkg:deb/ubuntu/linux-aws?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-azurepkg:deb/ubuntu/linux-azure?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-gcppkg:deb/ubuntu/linux-gcp?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-gkepkg:deb/ubuntu/linux-gke?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu 24.04 LTSlinux-ibmpkg:deb/ubuntu/linux-ibm?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available and should be applied. The vulnerability is fixed in Linux kernel versions 5.4.0-1082.87 and later in the 5.4.x series and other specified fixed versions. Users running affected versions should upgrade to these fixed releases to mitigate the issue. No additional mitigations are specified or required beyond applying the official kernel updates.
Description
CVE-2024-26885 is a vulnerability in the Linux kernel's BPF DEVMAP_HASH implementation on 32-bit architectures. The issue arises from an incorrect overflow check when calculating the number of hash buckets, which can lead to undefined behavior and a crash. This flaw was demonstrated on arm32 systems by creating a DEVMAP_HASH with a large max_entries value. The vulnerability has been fixed by adjusting the overflow check to occur before the rounding operation. The fix is included in Linux kernel versions starting from 5.4.0-1082.87 and related patched releases.
References
- ubuntu.com/security/CVE-2024-26885 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-26885 (opens in a new tab)
- git.kernel.org/linus/281d464a34f540de166cee74b723e97ac2515ec3 (opens in a new tab)
- git.kernel.org/stable/c/225da02acdc97af01b6bc6ce1a3e5362bf01d3fb (opens in a new tab)
- git.kernel.org/stable/c/c826502bed93970f2fd488918a7b8d5f1d30e2e3 (opens in a new tab)
- git.kernel.org/stable/c/edf7990baa48de5097daa9ac02e06cb4c798a737 (opens in a new tab)
- git.kernel.org/stable/c/250051acc21f9d4c5c595e4fcb55986ea08c4691 (opens in a new tab)
- git.kernel.org/stable/c/22079b3a423382335f47d9ed32114e6c9fe88d7c (opens in a new tab)
- git.kernel.org/stable/c/e89386f62ce9a9ab9a94835a9890883c23d9d52c (opens in a new tab)
- git.kernel.org/stable/c/281d464a34f540de166cee74b723e97ac2515ec3 (opens in a new tab)
- ubuntu.com/security/notices/USN-6816-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6817-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6820-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6821-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6821-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-6817-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-6828-1 (opens in a new tab)
- ubuntu.com/security/notices/USN-6820-2 (opens in a new tab)
- ubuntu.com/security/notices/USN-6821-3 (opens in a new tab)
- ubuntu.com/security/notices/USN-6817-3 (opens in a new tab)