CVE-2024-26589
Linux Kernel vulnerability analysis and mitigation

Overview

CVE-2024-26589 is a vulnerability in the Linux kernel's BPF subsystem that affects the handling of variable offset arithmetic on PTR_TO_FLOW_KEYS. The vulnerability was discovered in January 2024 and affects Linux kernel versions from 4.20 through 6.7.2. The issue arises because check_flow_keys_access() only uses fixed offset for validation, while variable offset pointer arithmetic is not prohibited for this pointer kind, leading to potential out-of-bounds access (NVD).

Technical details

The vulnerability exists in the BPF verifier's handling of PTR_TO_FLOW_KEYS pointer arithmetic. When processing variable offset arithmetic operations, the verifier fails to properly validate the offset, allowing programs to perform unchecked pointer arithmetic. This can lead to out-of-bounds memory access. The issue has been assigned a CVSS v3.1 base score of 7.8 (HIGH) with vector string CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, indicating local access requirements but high impact potential (NVD).

Impact

The vulnerability can lead to out-of-bounds memory access, potentially causing system crashes or memory exposure. When exploited, it can trigger kernel page faults and system crashes, as demonstrated by proof-of-concept code that causes a page fault at invalid memory addresses. This could result in denial of service conditions or potentially allow an attacker to read or write to unauthorized memory locations (Kernel Patch).

Mitigation and workarounds

The vulnerability has been patched in the Linux kernel by adding validation that rejects pointer arithmetic with variable offsets on flow_keys. The fix has been backported to multiple stable kernel versions. Systems should be updated to patched versions that include this fix. The patch rejects potentially dangerous programs with the error message 'R7 pointer arithmetic on flow_keys prohibited' (Kernel Patch).

Additional resources


SourceThis report was generated using AI

Related Linux Kernel vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-71142N/AN/A
  • Linux KernelLinux Kernel
  • kernel-64k-debug-devel-matched
NoNoJan 14, 2026
CVE-2025-71137N/AN/A
  • Linux KernelLinux Kernel
  • linux-gcp
NoYesJan 14, 2026
CVE-2025-71135N/AN/A
  • Linux KernelLinux Kernel
  • kernel-debug-core
NoNoJan 14, 2026
CVE-2025-71134N/AN/A
  • Linux KernelLinux Kernel
  • kernel-uki-virt
NoNoJan 14, 2026
CVE-2025-71133N/AN/A
  • Linux KernelLinux Kernel
  • kernel-modules-extra
NoYesJan 14, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management