CVE-2025-21808: net: xdp: Disallow attaching device-bound programs in generic mode
Vulnerability summary
CVE-2025-21808 is a high (CVSS 7.8) vulnerability in linux. EPSS estimates a 0.20% chance of exploitation in the next 30 days, higher than 10.7% of scored vulnerabilities.
Not severe (CVSS 7.8, local access); no exploitation reported by the 5 checked sources
CIRCL last checked 06-12-2026
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 21 · Related 22Timeline
- 27-02-2025PublishedVulnerability first disclosed.
- 15-10-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
- NVDNIST5.5MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HDiffers
EPSS trend
Probability
0.20%
Chance of exploitation in the next 30 days
Percentile
11%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.20% on 05-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Ubuntu106 products
- linux< 6.8.0-64.67
- linux-allwinner-5.19All versions (No fix recorded)
- linux-aws< 6.8.0-1032.34
- linux-aws-5.0All versions (No fix recorded)
- linux-aws-5.11All versions (No fix recorded)
Linux2 products
- linux≥ 2b3486bc2d237ec345b3942b7be5deabf8c8fed1, < b1bc4a35a04cbeb85b6ef5911ec015baa424989f | ≥ 2b3486bc2d237ec345b3942b7be5deabf8c8fed1, < 557707906dd3e34b8a8c265f664d19f95799937e | ≥ 2b3486bc2d237ec345b3942b7be5deabf8c8fed1, < 5a9eae683d6c36e8a7aa31e5eb8b369e41aa66e1 | ≥ 2b3486bc2d237ec345b3942b7be5deabf8c8fed1, < 3595599fa8360bb3c7afa7ee50c810b4a64106ea | 6.3
- linux_kernel≥ 6.3, < 6.6.76 | ≥ 6.7, < 6.12.13 | ≥ 6.13, < 6.13.2
Debian1 product
- linux< 6.12.13-1
3 vendors · 109 products