CVE-2025-21808net: xdp: Disallow attaching device-bound programs in generic mode
Updated under an hour ago ()
Does this affect you?
It affects Linux and 1 other product. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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
- 7.8 HIGH (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weakness (CWE)
- Not given
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- Linux
- NVD analysis
- Modified
- Record last updated
- Oct 15, 2026
- First seen by InfoSec Signals
- Oct 15, 2026
Affected products
Linux Linux linux:linux (from the name) | from 2b3486bc2d237ec345b3942b7be5deabf8c8fed1 before b1bc4a35a04cbeb85b6ef5911ec015baa424989f; from 2b3486bc2d237ec345b3942b7be5deabf8c8fed1 before 557707906dd3e34b8a8c265f664d19f95799937e; from 2b3486bc2d237ec345b3942b7be5deabf8c8fed1 before 5a9eae683d6c36e8a7aa31e5eb8b369e41aa66e1; from 2b3486bc2d237ec345b3942b7be5deabf8c8fed1 before 3595599fa8360bb3c7afa7ee50c810b4a64106ea | CNA record |
linux linux_kernel linux:linux_kernel | from 6.3 before 6.6.76; from 6.7 before 6.12.13; from 6.13 before 6.13.2 | NVD |
References
- https://git.kernel.org/stable/c/b1bc4a35a04cbeb85b6ef5911ec015baa424989fpatch
- https://git.kernel.org/stable/c/557707906dd3e34b8a8c265f664d19f95799937epatch
- https://git.kernel.org/stable/c/5a9eae683d6c36e8a7aa31e5eb8b369e41aa66e1patch
- https://git.kernel.org/stable/c/3595599fa8360bb3c7afa7ee50c810b4a64106eapatch
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.