CVE Catalog

CVE-2025-21808

HighCVSS 7.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.20%

10th percentile - higher than 10% of all known CVEs

Summary

In the Linux kernel, the XDP subsystem lacks a check to disallow attaching device-bound programs in generic mode. These programs rely on driver-specific kfuncs that do not work in generic mode, potentially causing crashes.

Risk Assessment

An attacker can attach a device-bound XDP program in generic mode, triggering kfuncs in an invalid context and causing a kernel crash (DoS).

Recommendation

Apply the patch that adds a check to disallow attaching device-bound programs in generic XDP mode.

Other vulnerabilities in Linux kernel

See all
Original NVD description (English source)

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. These kfuncs are driver-specific and rely on the driver context to read the metadata. This means they can't work in generic XDP mode. However, there is no check to disallow such programs from being attached in generic mode, in which case the metadata kfuncs will be called in an invalid context, leading to crashes. Fix this by adding a check to disallow attaching device-bound programs in generic mode.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS