CVE-2025-21808

High

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.

SeverityHigh
CVSS7.8
Exploit probability—
ProductLinux Kernel
PublishedFeb 27, 2025
First seenFeb 27, 2025

How to fix

Update
  • linux linux_kernel6.6.76, 6.12.13, 6.13.2 or later

Affected products

ProductAffected versionsFixed in
linux linux_kernel6.3 ≤ v < 6.6.76, 6.7 ≤ v < 6.12.13, 6.13 ≤ v < 6.13.26.6.76, 6.12.13, 6.13.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.