Skip to main content
Network Thinking Solutions Logo

CVE-2025-21808

Linux kernel: net: xdp: Disallow attaching device-bound programs in generic mode

All CVEs
CVE-2025-21808Published 2/27/2025

Linux kernel: net: xdp: Disallow attaching device-bound programs in generic mode

Vendor advisory
CVSS7.8High

Overview

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.

Published
2/27/2025
Last modified
10/15/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 6.3, < 6.6.76

Verify advisory

Source
linux kernel
linux
≥ 6.7, < 6.12.13

Verify advisory

Source
linux kernel
linux
≥ 6.13, < 6.13.2

Verify advisory

Source
Linux
Linux
≥ 2b3486bc2d237ec345b3942b7be5deabf8c8fed1, < b1bc4a35a04cbeb85b6ef5911ec015baa424989f

Verify advisory

Source
Linux
Linux
≥ 2b3486bc2d237ec345b3942b7be5deabf8c8fed1, < 557707906dd3e34b8a8c265f664d19f95799937e

Verify advisory

Source
Linux
Linux
≥ 2b3486bc2d237ec345b3942b7be5deabf8c8fed1, < 5a9eae683d6c36e8a7aa31e5eb8b369e41aa66e1

Verify advisory

Source
Linux
Linux
≥ 2b3486bc2d237ec345b3942b7be5deabf8c8fed1, < 3595599fa8360bb3c7afa7ee50c810b4a64106ea

Verify advisory

Source
Linux
Linux
6.3

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 7.8. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.