CVE-2025-21773

can: etas_es58x: fix potential NULL pointer dereference on udev->serial

Medium · published February 27, 2025

CVSS v3.1
5.5
EPSS
0%
Percentile
12.0
In the wild
Unconfirmed
What it is

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.

While this is true on commercially available devices, an attacker

could spoof the device identity providing a NULL USB serial number.

That would trigger a NULL pointer dereference.

Add a check on es58x_dev->udev->serial before accessing it.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00221 · 12.0th percentile
Published
2025-02-27T02:18Z
EPSS history
Timeline
  • 27 FEB 02:18Z
    can: etas_es58x: fix potential NULL pointer dereference on udev->serial
    cvelistv5