CVE-2025-21808 Details
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.
A vulnerability in the Linux kernel's XDP (eXpress Data Path) implementation allows device-bound programs to be attached in generic mode, which is not supported. Device-bound programs rely on driver-specific metadata functions that require the driver context to operate correctly. When these programs are attached in generic mode, the metadata functions can be called in an invalid context, leading to crashes. This issue has been addressed by adding a check to prevent the attachment of device-bound programs in generic mode.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Oct 15, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://git.kernel.org/stable/c/3595599fa8360bb3c7afa7ee50c810b4a64106ea | kernel.org | Patch |
| https://git.kernel.org/stable/c/557707906dd3e34b8a8c265f664d19f95799937e | kernel.org | Patch |
| https://git.kernel.org/stable/c/5a9eae683d6c36e8a7aa31e5eb8b369e41aa66e1 | kernel.org | Patch |
| https://git.kernel.org/stable/c/b1bc4a35a04cbeb85b6ef5911ec015baa424989f | kernel.org | Patch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-noinfo | Insufficient Information to Classify Weakness | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| linux linux kernel | >= 6.3, < 6.6.76 >= 6.7, < 6.12.13 >= 6.13, < 6.13.2 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 15, 2026 | CVE Modified | kernel.org |
| Oct 15, 2026 | CVE Modified | CISA-ADP |
| Jul 30, 2026 | CVE Modified | kernel.org |
| Jun 17, 2026 | CVE Modified | kernel.org |
| Oct 28, 2025 | Initial Analysis | [email protected] |
| Feb 27, 2025 | New CVE Received | kernel.org |