Use-After-Free Vulnerability in Linux Kernel's Xilinx CAN Driver

linux Updated 02 Oct 2025

Summary

23/09/2025
N/A
No i
Unrated
Not published

CVE-2025-39873: In the Linux kernel, the following vulnerability has been resolved: can: xilinx_can: xcan_write_frame(): fix use-after-free of transmitted SKB can_put_echo_skb() takes ownership of the SKB and it may be freed during or a... Affects linux versions 5.10.103-1 – 6.9.9-1. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Linux kernel is a core component of many operating systems, providing essential services for hardware management, process scheduling, and system security. The Xilinx CAN driver is part of the kernel's Controller Area Network (CAN) subsystem, enabling communication between microcontrollers and devices in automotive and industrial applications. This driver is crucial for ensuring reliable data transmission in real-time systems. However, it is susceptible to vulnerabilities that can compromise system integrity and security.

Vulnerability Detail

In the Linux kernel, a use-after-free vulnerability has been identified in the Xilinx CAN driver, specifically within the xcan_write_frame() function. This issue arises when the function continues to use a socket buffer (SKB) after it has been freed by the can_put_echo_skb() function. The improper handling of memory can lead to unpredictable behavior, including system crashes or exploitation by malicious actors to execute arbitrary code. The vulnerability was introduced due to an earlier fix that did not adequately address the order of operations regarding memory management.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

Currently, there are no specific workarounds mentioned for this vulnerability. The best course of action is to apply the available patches as soon as they are released.

Conclusion

The use-after-free vulnerability in the Linux kernel's Xilinx CAN driver poses significant risks to system integrity and security. It is crucial for users to update their systems to the patched versions as soon as possible to mitigate these risks. Regular monitoring and proactive security measures are essential in maintaining a secure environment.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

A use-after-free vulnerability occurs when a program continues to use a memory resource after it has been freed, potentially leading to memory corruption and security risks.

You can use the Vulert platform to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected by this vulnerability.

Exploitation of this vulnerability could lead to system crashes, unauthorized access, or execution of arbitrary code, compromising the security and stability of the affected system.

Yes, patches are available for Debian 12 and 13. Ensure you update to the specified patched versions to mitigate the vulnerability.

If immediate updates are not possible, ensure that your system is monitored closely for any unusual activity and consider implementing additional security measures until the patch can be applied.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback