Critical Vulnerability in Linux Kernel: Out-of-Bounds Access via Variable Offset ALU on PTR_TO_FLOW_KEYS
Summary
CVE-2024-26589: In the Linux kernel, the following vulnerability has been resolved: bpf: Reject variable offset alu on PTR_TO_FLOW_KEYS For PTR_TO_FLOW_KEYS, check_flow_keys_access() only uses fixed off for validation. Affects linux versions 5.10.103-1 – 6.9.9-1. No fix is published. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
The Linux kernel is the core component of many operating systems, providing essential services for hardware and software interaction. It is known for its stability, performance, and security features. However, vulnerabilities can arise, impacting its reliability. This specific vulnerability affects the kernel's ability to handle pointer arithmetic on flow keys, potentially leading to severe security risks.
Vulnerability Detail
In the Linux kernel, a vulnerability has been identified where variable offset arithmetic on pointers to flow keys is not properly validated. This oversight allows for out-of-bounds memory access, which can lead to system crashes or exploitation by malicious actors. The vulnerability arises from the function check_flow_keys_access(), which only checks fixed offsets, failing to prohibit variable offsets. This can result in unauthorized access to memory locations, causing instability and potential data breaches.
How To Fix
No fixed version is published for this vulnerability.
Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →
Workaround
Currently, there are no specific workarounds available to mitigate this vulnerability without applying the patch. Users are advised to monitor their systems and apply the kernel update as soon as possible to avoid potential exploitation.
Conclusion
The vulnerability CVE-2024-26589 in the Linux kernel poses a significant risk due to improper handling of pointer arithmetic on flow keys. Users are strongly advised to update their kernel to the latest patched version to safeguard their systems against potential exploitation. Tools like Vulert can assist in monitoring for such vulnerabilities.
See every vulnerability recorded for linux →
FAQ
CVE-2024-26589 is a vulnerability in the Linux kernel that allows for out-of-bounds memory access due to improper validation of variable offset arithmetic on pointers to flow keys.
The CVSS score for this vulnerability is 7.8, indicating a high severity level that could lead to significant security risks if exploited.
The vulnerability affects various versions of the Linux kernel across Debian 11, 12, and 13, specifically those prior to the fixed versions 6.1.76-1 and 6.6.15-1.
You can use tools like Vulert, which monitors open-source vulnerabilities in your software. By uploading your manifest file, such as package-lock.json, you can check for vulnerabilities without needing to install any software.
While there are no workarounds available, it is crucial to monitor your systems closely and apply the kernel update as soon as possible to mitigate the risk of exploitation.
Related vulnerabilities
Recent vulnerabilities recorded for linux.