CVE-2024-26884: bpf: Fix hashtab overflow check on 32-bit arches

Published Apr 17, 2024
·
Updated

bpf: Fix hashtab overflow check on 32-bit arches

Affected Software

11 affected componentsFixes available
Linux Linux kernel>=3.19<4.19.311
Linux Linux kernel>=4.20<5.4.273
Linux Linux kernel>=5.5<5.10.214
Linux Linux kernel>=5.11<5.15.153
Linux Linux kernel>=5.16<6.1.83
Linux Linux kernel>=6.2<6.6.23
Linux Linux kernel>=6.7<6.7.11
Linux Linux kernel>=6.8<6.8.2
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-1
Microsoft azl3 kernel 6.6.22.1-2
Microsoft azl3 kernel 6.6.29.1-3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1
  2. Configuration

    Update the bpf hashtab code so the 32-bit overflow check is performed before calling roundup_pow_of_two(), rather than relying on an overflow check after the roundup result (checking for 0). This prevents undefined behaviour from a 32-bit left-shift during roundup_pow_of_two() on 32-bit architectures.

    Linux kernel bpf hashtab hashtab overflow check placement = Move the overflow check to occur before roundup_pow_of_two() (instead of checking the roundup result for 0 on 32-bit arches)

Event History

Apr 17, 2024
CVE Published
via MITRE·10:27 AM
Data Sourced
via MITRE·10:27 AM
DescriptionSeverity
Data Sourced
via NVD·11:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Jun 8, 2024
Data Sourced
via Launchpad·01:08 AM
Description
Jun 30, 2024
Data Sourced
via Microsoft·02:00 PM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·02:00 PM
Affected Software
Updated
via Microsoft·02:00 PM
DescriptionSeverity
Apr 28, 2025
Data Sourced
via Ubuntu·02:21 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-26884?

The severity of CVE-2024-26884 is classified as high due to its potential impact on system stability and security.

2

How do I fix CVE-2024-26884?

To fix CVE-2024-26884, upgrade the Linux kernel to one of the patched versions such as 5.10.223-1 or 6.1.123-1.

3

What versions of the Linux kernel are affected by CVE-2024-26884?

CVE-2024-26884 affects multiple versions of the Linux kernel from 3.19 to 6.8.2.

4

Is CVE-2024-26884 related to buffer overflow vulnerabilities?

Yes, CVE-2024-26884 addresses an issue with hashtab overflow checks that can lead to vulnerabilities on 32-bit architectures.

5

What is the nature of the flaw in CVE-2024-26884?

CVE-2024-26884 involves an overflow check in the hashtab code that incorrectly assumes the result will not be zero.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203