Critical Vulnerability in Linux Kernel: BPF Changes Packet Data Property
Summary
DEBIAN-CVE-2024-58100: In the Linux kernel, the following vulnerability has been resolved: bpf: check changes_pkt_data property for extension programs When processing calls to global sub-programs, verifier decides whether to invalidate all pac... Affects linux versions < 6.12.25-1. Fixed in 6.12.25-1. 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, managing hardware resources and providing essential services for software applications. It is known for its robustness and flexibility, supporting a wide range of hardware architectures. However, like any complex software, it is susceptible to vulnerabilities that can compromise system integrity and security. This specific vulnerability relates to the BPF (Berkeley Packet Filter) subsystem, which is used for packet filtering and network traffic analysis.
Vulnerability Detail
In the Linux kernel, a vulnerability has been identified in the BPF subsystem where the verifier does not properly check the 'changes_pkt_data' property when processing calls to global sub-programs. This oversight can lead to compatibility issues when an extension program replaces a global sub-program, potentially allowing malicious actors to exploit this flaw. The vulnerability arises from the improper handling of packet pointers, which could result in unintended behavior or system crashes, thereby impacting the overall security and stability of the system.
How To Fix
Minimum fixed version
6.12.25-1
This is the first release that contains the fix.
sudo apt-get install --only-upgrade linux
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
Currently, there are no specific workarounds mentioned for this vulnerability. The best course of action is to apply the patch as soon as it is available.
Conclusion
The identified vulnerability in the Linux kernel's BPF subsystem poses a significant risk to system security and stability. It is imperative for users to update their kernel to the patched version 6.12.25-1 to mitigate this risk. Regular monitoring of software dependencies using tools like Vulert can help in identifying and addressing vulnerabilities promptly.
See every vulnerability recorded for linux →
FAQ
The vulnerability is related to the BPF subsystem in the Linux kernel, where the verifier fails to check the 'changes_pkt_data' property correctly.
Exploiting this vulnerability could lead to system instability, crashes, or unauthorized access to sensitive data.
The vulnerability affects the Linux kernel versions prior to 6.12.25-1 in both Debian 13 and Debian 14.
Yes, the vulnerability has been patched in version 6.12.25-1 of the Linux kernel.
You can use Vulert, which monitors open-source vulnerabilities in real-time using a manifest file like package-lock.json. You can check your application for this vulnerability using the Vulert playground without any signup.
References
Related vulnerabilities
Recent vulnerabilities recorded for linux.