Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-26883

HIGH 7.8EPSS 20%

bpf: Fix stackmap overflow check on 32-bit arches

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 063c722dd9d285d877e6fd499e753d6224f4c046, < d0e214acc59145ce25113f617311aa79dda39cb3; >= 7e3a6b820535eb395784060ae26c5af579528fa0, < 21e5fa4688e1a4d3db6b72216231b24232f75c1d; >= 8032bf2af9ce26b3a362b9711d15f626ab946a74, < 15641007df0f0d35fa28742b25c2a7db9dcd6895; >= 6183f4d3a0a2ad230511987c6c362ca43ec0055f, < ca1f06e72dec41ae4f76e7b1a8a97265447b46ae; >= 6183f4d3a0a2ad230511987c6c362ca43ec0055f, < f06899582ccee09bd85d0696290e3eaca9aa042d; >= 6183f4d3a0a2ad230511987c6c362ca43ec0055f, < 7070b274c7866a4c5036f8d54fcaf315c64ac33a; >= 6183f4d3a0a2ad230511987c6c362ca43ec0055f, < 43f798b9036491fb014b55dd61c4c5c3193267d0; >= 6183f4d3a0a2ad230511987c6c362ca43ec0055f, < 0971126c8164abe2004b8536b49690a0d6005b0a; >= 6183f4d3a0a2ad230511987c6c362ca43ec0055f, < 7a4b21250bf79eef26543d35bd390448646c536b; 253150830a012adfccf90afcebae8fda5b05a80f; …
  • Anyone running Linux 5.11

Vulnerability facts

Affected
Linux >= 063c722dd9d285d877e6fd499e753d6224f4c046, < d0e214acc59145ce25113f617311aa79dda39cb3; >= 7e3a6b820535eb395784060ae26c5af579528fa0, < 21e5fa4688e1a4d3db6b72216231b24232f75c1d; >= 8032bf2af9ce26b3a362b9711d15f626ab946a74, < 15641007df0f0d35fa28742b25c2a7db9dcd6895; >= 6183f4d3a0a2ad230511987c6c362ca43ec0055f, < ca1f06e72dec41ae4f76e7b1a8a97265447b46ae; >= 6183f4d3a0a2ad230511987c6c362ca43ec0055f, < f06899582ccee09bd85d0696290e3eaca9aa042d; >= 6183f4d3a0a2ad230511987c6c362ca43ec0055f, < 7070b274c7866a4c5036f8d54fcaf315c64ac33a; >= 6183f4d3a0a2ad230511987c6c362ca43ec0055f, < 43f798b9036491fb014b55dd61c4c5c3193267d0; >= 6183f4d3a0a2ad230511987c6c362ca43ec0055f, < 0971126c8164abe2004b8536b49690a0d6005b0a; >= 6183f4d3a0a2ad230511987c6c362ca43ec0055f, < 7a4b21250bf79eef26543d35bd390448646c536b; 253150830a012adfccf90afcebae8fda5b05a80f; …; Linux 5.11
Fixed in
Linux 21e5fa4688e1a4d3db6b72216231b24232f75c1d, Linux 15641007df0f0d35fa28742b25c2a7db9dcd6895, Linux 7070b274c7866a4c5036f8d54fcaf315c64ac33a, Linux 43f798b9036491fb014b55dd61c4c5c3193267d0, Linux 0971126c8164abe2004b8536b49690a0d6005b0a, Linux 7a4b21250bf79eef26543d35bd390448646c536b
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.34% chance of exploitation in 30 days (percentile 20, 2026-11-26)
CWE
CWE-119
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 063c722dd9d285d877e6fd499e753d6224f4c046, < d0e214acc59145ce25113f617311aa79dda39cb3; >= 7e3a6b820535eb395784060ae26c5af579528fa0, < 21e5fa4688e1a4d3db6b72216231b24232f75c1d; >= 8032bf2af9ce26b3a362b9711d15f626ab946a74, < 15641007df0f0d35fa28742b25c2a7db9dcd6895; >= 6183f4d3a0a2ad230511987c6c362ca43ec0055f, < ca1f06e72dec41ae4f76e7b1a8a97265447b46ae; >= 6183f4d3a0a2ad230511987c6c362ca43ec0055f, < f06899582ccee09bd85d0696290e3eaca9aa042d; >= 6183f4d3a0a2ad230511987c6c362ca43ec0055f, < 7070b274c7866a4c5036f8d54fcaf315c64ac33a; >= 6183f4d3a0a2ad230511987c6c362ca43ec0055f, < 43f798b9036491fb014b55dd61c4c5c3193267d0; >= 6183f4d3a0a2ad230511987c6c362ca43ec0055f, < 0971126c8164abe2004b8536b49690a0d6005b0a; >= 6183f4d3a0a2ad230511987c6c362ca43ec0055f, < 7a4b21250bf79eef26543d35bd390448646c536b; 253150830a012adfccf90afcebae8fda5b05a80f; …—cvelist
Linux5.11—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-26883. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-26883.md
Affected: Linux >= 063c722dd9d285d877e6fd499e753d6224f4c046, < d0e214acc59145ce25113f617311aa79dda39cb3; >= 7e3a6b820535eb395784060ae26c5af579528fa0, < 21e5fa4688e1a4d3db6b72216231b24232f75c1d; >= 8032bf2af9ce26b3a362b9711d15f626ab946a74, < 15641007df0f0d35fa28742b25c2a7db9dcd6895; >= 6183f4d3a0a2ad230511987…
Fixed in: Linux 21e5fa4688e1a4d3db6b72216231b24232f75c1d, Linux 15641007df0f0d35fa28742b25c2a7db9dcd6895, Linux 7070b274c7866a4c5036f8d54fcaf315c64ac33a, Linux 43f798b9036491fb014b55dd61c4c5c3193267d0, Linux 0971126c8164abe2004b8536b49690a0d6005b0a, Linux 7a4b21250bf79eef26543d35bd390448646c536b

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-26883 being exploited?

There is no confirmed exploitation: CVE-2024-26883 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.34% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-26883?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2024-26883?

Linux >= 063c722dd9d285d877e6fd499e753d6224f4c046, < d0e214acc59145ce25113f617311aa79dda39cb3; >= 7e3a6b820535eb395784060ae26c5af579528fa0, < 21e5fa4688e1a4d3db6b72216231b24232f75c1d; >= 8032bf2af9ce26b3a362b9711d15f626ab946a74, < 15641007df0f0d35fa28742b25c2a7db9dcd6895; >= 6183f4d3a0a2ad230511987c6c362ca43ec0055f, < ca1f06e72dec41ae4f76e7b1a8a97265447b46ae; >= 6183f4d3a0a2ad230511987c6c362ca43ec0055f, < f06899582ccee09bd85d0696290e3eaca9aa042d; >= 6183f4d3a0a2ad230511987c6c362ca43ec0055f, < 7070b274c7866a4c5036f8d54fcaf315c64ac33a; >= 6183f4d3a0a2ad230511987c6c362ca43ec0055f, < 43f798b9036491fb014b55dd61c4c5c3193267d0; >= 6183f4d3a0a2ad230511987c6c362ca43ec0055f, < 0971126c8164abe2004b8536b49690a0d6005b0a; >= 6183f4d3a0a2ad230511987c6c362ca43ec0055f, < 7a4b21250bf79eef26543d35bd390448646c536b; 253150830a012adfccf90afcebae8fda5b05a80f; …; Linux 5.11.

Is there a fix for CVE-2024-26883?

Yes. Fixed in Linux 21e5fa4688e1a4d3db6b72216231b24232f75c1d, Linux 15641007df0f0d35fa28742b25c2a7db9dcd6895, Linux 7070b274c7866a4c5036f8d54fcaf315c64ac33a, Linux 43f798b9036491fb014b55dd61c4c5c3193267d0, Linux 0971126c8164abe2004b8536b49690a0d6005b0a, Linux 7a4b21250bf79eef26543d35bd390448646c536b. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2024-26883?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors