Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2025-21808
VULNERABILITY

CVE-2025-21808

Common Vulnerabilities and Exposures record

HIGH

Summary

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.

Risk

CVSS
7.8
Severity
HIGH
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Timeline

Published
Feb 27, 2025 20:16
Modified
Oct 15, 2026 22:18
Last observed
Oct 16, 2026 23:23

Affected product identifiers

cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*

References