CVE-2025-21773: can: etas_es58x: fix potential NULL pointer dereference on udev->serial
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.
Security readout for executives and security teams
Plain-English summary
CVE-2025-21773 is a Linux kernel availability flaw in the ETAS ES58x CAN USB driver. A locally positioned attacker with the ability to present a spoofed USB device can make the kernel hit a NULL pointer dereference, potentially crashing the system. This is not reported as actively exploited in the provided sources.
Executive priority
Treat as a targeted availability risk, not a broad remote compromise issue. Prioritize patching on engineering, automotive, industrial, and lab systems where CAN USB adapters or local USB access are realistic.
Technical view
The etas_es58x driver assumed udev->serial was never NULL. The CVE states a spoofed device identity with no USB serial number can trigger a NULL pointer dereference. The kernel fix adds a NULL check before accessing the serial value. CVSS is 5.5: local, low complexity, low privileges, no user interaction, high availability impact.
Likely exposure
Exposure is most relevant to Linux systems that load the etas_es58x CAN USB driver and allow local USB device attachment. Typical internet-facing servers are unlikely to be directly exposed unless local hardware access or USB redirection paths exist.
Exploitation context
The provided record does not show CISA KEV listing or other evidence of active exploitation. The attack requires local access and a spoofed USB identity, so risk is concentrated in shared workstations, labs, industrial test benches, and systems accepting untrusted USB devices.
Researcher notes
Evidence is limited to the CVE record and Linux stable commit references. Do not infer confidentiality or integrity impact. Validation should focus on kernel branch, driver presence, and whether local USB device spoofing is plausible in the environment.
Mitigation direction
Apply Linux kernel or distribution updates that include the referenced etas_es58x fix.
Check vendor kernel advisories for exact fixed package versions in your distribution.
Restrict physical or redirected USB access to trusted users and devices.
Disable or avoid loading the etas_es58x driver where ETAS ES58x hardware is not used.
Validation and detection
Inventory Linux systems using ETAS ES58x CAN USB adapters or loading etas_es58x.
Check running kernel versions against distribution advisories for CVE-2025-21773.
Confirm updated kernels include the NULL serial-number check from the stable commits.
Review endpoint and lab controls for untrusted USB attachment paths.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-476: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-476 · source CWE mapping
NULL Pointer Dereference
NULL Pointer Dereference represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.