CVE-2025-39873

Description

A flaw was found in the Linux kernel's Xilinx CAN (Controller Area Network) driver. A local user can exploit this vulnerability to cause a Denial of Service (DoS) or potentially execute arbitrary code. The issue is triggered by a use-after-free condition in the xcan_write_frame() function, where network packet buffer memory continues to be accessed after its ownership has been released and the memory freed.

Statement

This flaw represents minimal risk to Red Hat environments because the vulnerable code is not present in supported Red Hat Enterprise Linux releases. Furthermore, the affected driver targets Xilinx Controller Area Network (CAN) hardware controllers, which are specific to embedded platforms and not utilized in standard enterprise server environments. Consequently, standard enterprise installations are not exposed to this vulnerability.

Understanding the Weakness (CWE)

Confidentiality

Technical Impact: Read Memory

If the expired pointer is used in a read operation, an attacker might be able to control data read in by the application.

Availability

Technical Impact: DoS: Crash, Exit, or Restart

If the expired pointer references a memory location that is not accessible to the product, or points to a location that is "malformed" (such as NULL) or larger than expected by a read or write operation, then a crash may occur.

Integrity,Confidentiality,Availability

Technical Impact: Execute Unauthorized Code or Commands

If the expired pointer is used in a function call, or points to unexpected data in a write operation, then code execution may be possible.

Frequently Asked Questions

Want to get errata notifications? Sign up here.