# CVE-2025-21773: can: etas_es58x: fix potential NULL pointer dereference on udev->serial

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2025-02-27T02:18:20.013Z
- Modified: 2026-06-17T08:44:14.660Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 9f06631c3f1f0f298536443df85a6837ba4c5f5c before 1590667a60753ee5a54871f2840ceefd4a7831fa; from 9f06631c3f1f0f298536443df85a6837ba4c5f5c before 722e8e1219c8b6ac2865011fe339315d6a8d0721; from 9f06631c3f1f0f298536443df85a6837ba4c5f5c before 5059ea98d7bc133903d3e47ab36df6ed11d0c95f; from 9f06631c3f1f0f298536443df85a6837ba4c5f5c before a1ad2109ce41c9e3912dadd07ad8a9c640064ffb; 6.2 (not affected: before 6.2; from 6.6.79 up to 6.6.*; from 6.12.16 up to 6.12.*; from 6.13.4 up to 6.13.*; from 6.14 up to *)
- linux linux_kernel: from 6.2 before 6.6.79; from 6.7 before 6.12.16; from 6.13 before 6.13.4; 6.14

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/1590667a60753ee5a54871f2840ceefd4a7831fa> (patch)
- <https://git.kernel.org/stable/c/722e8e1219c8b6ac2865011fe339315d6a8d0721> (patch)
- <https://git.kernel.org/stable/c/5059ea98d7bc133903d3e47ab36df6ed11d0c95f> (patch)
- <https://git.kernel.org/stable/c/a1ad2109ce41c9e3912dadd07ad8a9c640064ffb> (patch)

## Sources

- CVE List: [CVE-2025-21773](https://www.cve.org/CVERecord?id=CVE-2025-21773), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-21773](https://nvd.nist.gov/vuln/detail/CVE-2025-21773), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-21773 · Whole record: https://cve.day/CVE-2025-21773.json · Rebuilt by cve.day 2026-11-25T22:58:54.553Z
