CVE-2024-26884

High

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.

Package Linux Kernel
Published 2024-04-17
Last modified 2026-05-12
CVSS version 3.1
Patch available
Yes

CVSS 3.1 score

7.8

out of 10
High
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weakness type

CWE-119

CVE-2024-26884 is a Buffer Overflow vulnerability

What is Buffer Overflow?

The product performs operations on a memory buffer but reads or writes outside its intended boundaries. Learn more on MITRE CWE

Affected versions

Linux kernel versions 3.19 and later are affected. Fixed in 4.19.311, 5.4.273, 5.10.214, 5.15.153, 6.1.83, 6.6.23, 6.7.11, 6.8.2, 6.9 and their respective stable series.

Affected from
≥ 3.19
Fixed in
✓ 4.19.311 4.19.x ✓ 5.4.273 5.4.x ✓ 5.10.214 5.10.x ✓ 5.15.153 5.15.x ✓ 6.1.83 6.1.x ✓ 6.6.23 6.6.x ✓ 6.7.11 6.7.x ✓ 6.8.2 6.8.x ✓ 6.9

Frequently asked questions

  • What is CVE-2024-26884?

    CVE-2024-26884 is a High severity Linux kernel vulnerability with a CVSS score of 7.8 out of 10 , classified as a Buffer Overflow flaw (CWE-119) . It affects Linux kernel versions from 3.19 onward and has been patched in 4.19.311, 5.4.273, 5.10.214 and others. CVE-2024-26884 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • What is the CVSS score for CVE-2024-26884?

    CVE-2024-26884 has a CVSS score of 7.8 out of 10, rated High severity (CVSS 3.1). The vector string is CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H .

  • Is there a patch available for CVE-2024-26884?

    Yes. CVE-2024-26884 has been patched. Fixed versions include 4.19.311, 5.4.273, 5.10.214 and others. If you are running Linux kernel 3.19 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2024-26884 actively exploited?

    No. CVE-2024-26884 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.