CVE-2025-21808

Description

A flaw was found in the Linux kernel. A privileged local user can trigger a Denial of Service (DoS) by attaching a device-bound network program in generic eXpress Data Path (XDP) mode. Because the kernel fails to validate program compatibility with generic mode, driver functions are executed in an invalid context, leading to a system crash.

Statement

This vulnerability is rated as Moderate severity because triggering the issue requires local administrative privileges, specifically capabilities to load and attach eBPF programs (CAP_BPF or CAP_NET_ADMIN). In standard Red Hat Enterprise Linux environments, unprivileged users cannot attach eBPF programs to network interfaces. A privileged user can deliberately attach a device-bound program in generic XDP mode, causing a kernel crash and resulting in a local denial of service. Remote exploitation is not possible, and the vulnerability does not compromise data confidentiality or system integrity.

Common Vulnerability Scoring System (CVSS) Score Details

Info alert:Important note

CVSS scores for open source components depend on vendor-specific factors (e.g. version or build chain). Therefore, Red Hat's score and impact rating can be different from NVD and other vendors. Red Hat remains the authoritative CVE Naming Authority (CNA) source for its products and services (see Red Hat classifications).

The following CVSS metrics and score provided are preliminary and subject to review.

CVSS v3 Score Breakdown

Red HatNVDcve.org
Base Score4.15.57.8
Attack VectorLocalLocalLocal
Attack ComplexityHighLowLow
Privileges RequiredHighLowLow
User InteractionNoneNoneNone
ScopeUnchangedUnchangedUnchanged
ConfidentialityNoneNoneHigh
Integrity ImpactNoneNoneHigh
Availability ImpactHighHighHigh

Vector

Red Hat: CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:N/I:N/A:H

NVD: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

cve.org: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Understanding the Weakness (CWE)

Confidentiality,Availability,Integrity

Technical Impact: Read Application Data; DoS: Crash, Exit, or Restart; Unexpected State

Frequently Asked Questions

Want to get errata notifications? Sign up here.