CVE-2025-21808
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
27/02/2025
Last modified:
28/10/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
net: xdp: Disallow attaching device-bound programs in generic mode<br />
<br />
Device-bound programs are used to support RX metadata kfuncs. These<br />
kfuncs are driver-specific and rely on the driver context to read the<br />
metadata. This means they can&#39;t work in generic XDP mode. However, there<br />
is no check to disallow such programs from being attached in generic<br />
mode, in which case the metadata kfuncs will be called in an invalid<br />
context, leading to crashes.<br />
<br />
Fix this by adding a check to disallow attaching device-bound programs<br />
in generic mode.
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.3 (including) | 6.6.76 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.7 (including) | 6.12.13 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.13 (including) | 6.13.2 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



