Critical Vulnerability in Linux Kernel: Device-Bound Programs in Generic XDP Mode

linux Updated 02 Oct 2025

Summary

27/02/2025
N/A
Yes i
Unrated
Not published

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 ↓

Free scan

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.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

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 →

Share this vulnerability

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.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

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 →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback