CVE-2025-21808net: xdp: Disallow attaching device-bound programs in generic mode
- 7.8HighCVSS base score
- 0.20%Exploitation in 30 daysEPSS · top 90% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By Linux
- 2 months later
· 2 months later
Published
- 20 months later
· 20 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| LinuxCNA (assigner) | 3.1 | High7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.20% · top 90% of all CVEs (16 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.8.
Affected products
- affected 2b3486bc2d237ec345b3942b7be5deabf8c8fed1 – < b1bc4a35a04cbeb85b6ef5911ec015baa424989f
- affected 2b3486bc2d237ec345b3942b7be5deabf8c8fed1 – < 557707906dd3e34b8a8c265f664d19f95799937e
- affected 2b3486bc2d237ec345b3942b7be5deabf8c8fed1 – < 5a9eae683d6c36e8a7aa31e5eb8b369e41aa66e1
- affected 2b3486bc2d237ec345b3942b7be5deabf8c8fed1 – < 3595599fa8360bb3c7afa7ee50c810b4a64106ea
- affected 6.3
- unaffected < 6.3
- unaffected 6.6.76 – ≤ 6.6.*
- unaffected 6.12.13 – ≤ 6.12.*
- unaffected 6.13.2 – ≤ 6.13.*
- unaffected 6.14 – ≤ *
References
References4
- https://git.kernel.org/stable/c/b1bc4a35a04cbeb85b6ef5911ec015baa424989f (opens in a new tab)
- https://git.kernel.org/stable/c/557707906dd3e34b8a8c265f664d19f95799937e (opens in a new tab)
- https://git.kernel.org/stable/c/5a9eae683d6c36e8a7aa31e5eb8b369e41aa66e1 (opens in a new tab)
- https://git.kernel.org/stable/c/3595599fa8360bb3c7afa7ee50c810b4a64106ea (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-5977 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-21808)Record last updated .