CVE-2025-21808

CVE-2025-21808

High · published February 28, 2025

CVSS v3.1
7.8
EPSS
0%
Percentile
9.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
7.8 · HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00202 · 9.7th percentile
Published
2025-02-28T01:16Z
Affected products (3)
ProductVersionsFixed in
linux/linux_kernel≥ 6.3, < 6.6.766.6.76
linux/linux_kernel≥ 6.7, < 6.12.136.12.13
linux/linux_kernel≥ 6.13, < 6.13.26.13.2
References (4)
EPSS history
Timeline
  • 27 FEB 20:01Z
    net: xdp: Disallow attaching device-bound programs in generic mode
    cvelistv5