Critical Vulnerability in Linux Kernel: Device-Bound Programs in Generic XDP Mode
Summary
DEBIAN-CVE-2025-21808: In the Linux kernel, the following vulnerability has been resolved: net: xdp: Disallow attaching device-bound programs in generic mode Device-bound programs are used to support RX metadata kfuncs. Affects linux versions < 6.12.13-1. Fixed in 6.12.13-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, including Debian. It manages system resources and hardware communication, providing essential services for software applications. The kernel supports various networking features, including eXpress Data Path (XDP), which allows for high-performance packet processing. However, a recent vulnerability has been identified that affects the handling of device-bound programs in generic XDP mode, potentially leading to system crashes.
Vulnerability Detail
In the Linux kernel, a vulnerability has been discovered where device-bound programs can be attached in generic XDP mode without proper checks. These programs are designed to work with specific drivers and rely on driver context to access RX metadata. When attached in generic mode, they can lead to invalid context calls, resulting in crashes. This issue poses a significant risk as it can disrupt network operations and affect system stability.
How To Fix
Minimum fixed version
6.12.13-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. It is recommended to apply the patch as soon as it becomes available to mitigate risks.
Conclusion
The identified vulnerability in the Linux kernel poses a significant risk by allowing device-bound programs to be improperly attached in generic XDP mode, leading to potential system crashes. It is crucial to update to the patched version 6.12.13-1 to ensure system stability and security.
See every vulnerability recorded for linux →
FAQ
The vulnerability allows device-bound programs to be attached in generic XDP mode, which can lead to crashes due to invalid context calls.
The vulnerability affects Linux versions prior to 6.12.13-1.
You can use tools like Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected.
If exploited, this vulnerability can lead to system crashes, disrupting network operations and affecting overall system stability.
Currently, there are no known workarounds. The best course of action is to update to the patched version as soon as possible.
References
Related vulnerabilities
Recent vulnerabilities recorded for linux.