CVE-2025-40290

Description

A flaw was found in the Linux kernel's AF_XDP socket subsystem. When processing high-performance network sockets, the kernel incorrectly stores completion queue descriptors in packet buffer memory that can be overwritten by other network operations after transmission. A local user can exploit this vulnerability by sending network traffic through an AF_XDP socket, causing a null pointer dereference that crashes the system and results in a Denial of Service (DoS).

Statement

This vulnerability does not impact Red Hat Enterprise Linux or other Red Hat offerings as the flawed code was introduced in newer upstream Linux kernels and never backported to supported Red Hat kernels. On vulnerable upstream kernels, handling of AF_XDP completion queue descriptors could lead to a null pointer dereference, causing a kernel panic and denial of service. Because the prerequisite upstream changes were not incorporated into Red Hat Enterprise Linux, supported environments are unaffected.

Understanding the Weakness (CWE)

Availability

Technical Impact: DoS: Crash, Exit, or Restart

NULL pointer dereferences usually result in the failure of the process unless exception handling (on some platforms) is available and implemented. Even when exception handling is being used, it can still be very difficult to return the software to a safe state of operation.

Integrity,Confidentiality

Technical Impact: Execute Unauthorized Code or Commands; Read Memory; Modify Memory

In rare circumstances, when NULL is equivalent to the 0x0 memory address and privileged code can access it, then writing or reading memory is possible, which may lead to code execution.

Frequently Asked Questions

Want to get errata notifications? Sign up here.