NULL Pointer Dereference Vulnerability in Linux Kernel's CAN Driver

linux Updated 02 Oct 2025

Summary

27/02/2025
N/A
Yes i
Unrated
Not published

DEBIAN-CVE-2025-21773: In the Linux kernel, the following vulnerability has been resolved: can: etas_es58x: fix potential NULL pointer dereference on udev->serial The driver assumed that es58x_dev->udev->serial could never be NULL. Affects linux versions < 6.12.16-1. Fixed in 6.12.16-1. 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 MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Linux kernel is a core component of many operating systems, providing essential services for hardware and software interactions. It supports a wide range of devices and functionalities, including the Controller Area Network (CAN) subsystem, which facilitates communication between microcontrollers and devices. The specific vulnerability affects the CAN driver for es58x devices, which is designed to manage communication with these devices. This vulnerability arises from an assumption in the code that a USB serial number will always be present, which can be exploited by an attacker.

Vulnerability Detail

In the Linux kernel, a vulnerability has been identified in the CAN driver for es58x devices, where the code does not adequately check for a NULL pointer dereference on the udev->serial field. This oversight allows an attacker to spoof a device identity with a NULL USB serial number, leading to a potential crash of the kernel or other unintended behaviors. The vulnerability is significant as it could be exploited to disrupt system operations or gain unauthorized access to system resources.

How To Fix

Minimum fixed version

6.12.16-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no specific workarounds mentioned for this vulnerability. However, users are advised to monitor their systems for any unusual behavior and ensure that they are using the latest kernel version.

Conclusion

The identified NULL pointer dereference vulnerability in the Linux kernel's CAN driver for es58x devices poses a significant risk. Users are encouraged to update their systems to the patched version to mitigate potential threats. Regular monitoring and prompt updates are essential for maintaining system security.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

The vulnerability is a NULL pointer dereference in the CAN driver for es58x devices, which could be exploited by an attacker.

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.

Exploitation of this vulnerability could lead to system crashes or unauthorized access to system resources.

Yes, a patch is available in the form of an updated Linux package version 6.12.16-1.

While there are no specific workarounds, it is advisable to monitor your system for unusual behavior until you can apply the patch.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.12.16-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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