# CVE-2025-38368: misc: tps6594-pfsm: Add NULL pointer check in tps6594_pfsm_probe()

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `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.18%, higher than 8% of CVEs (2026-12-01)
- Published: 2025-07-25T12:47:42.771Z
- Modified: 2026-06-17T09:16:43.147Z
- Weaknesses: CWE-476
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

misc: tps6594-pfsm: Add NULL pointer check in tps6594_pfsm_probe()

The returned value, pfsm->miscdev.name, from devm_kasprintf()
could be NULL.
A pointer check is added to prevent potential NULL pointer dereference.
This is similar to the fix in commit 3027e7b15b02
("ice: Fix some null pointer dereference issues in ice_ptp.c").

This issue is found by our static analysis tool.

(As written by CVE List.)

## Affected

- Linux Linux: from a0df3ef087f8aaebbdf205b1b2e126ec9ef6b113 before a8d1b4f219e8833130927f19d1c8bfbf49215ce4; from a0df3ef087f8aaebbdf205b1b2e126ec9ef6b113 before a10c8bff454b11ef553d9df19ee722d2df34cd0e; from a0df3ef087f8aaebbdf205b1b2e126ec9ef6b113 before d27ee5c59881a64ea92e363502742cb4f38b7460; from a0df3ef087f8aaebbdf205b1b2e126ec9ef6b113 before a99b598d836c9c6411110c70a2da134c78d96e67; 6.5 (not affected: before 6.5; from 6.6.96 up to 6.6.*; from 6.12.36 up to 6.12.*; from 6.15.5 up to 6.15.*; from 6.16 up to *)
- linux linux_kernel: from 6.5 before 6.6.96; from 6.7 before 6.12.36; from 6.13 before 6.15.5

## References

- <https://git.kernel.org/stable/c/a8d1b4f219e8833130927f19d1c8bfbf49215ce4> (patch)
- <https://git.kernel.org/stable/c/a10c8bff454b11ef553d9df19ee722d2df34cd0e> (patch)
- <https://git.kernel.org/stable/c/d27ee5c59881a64ea92e363502742cb4f38b7460> (patch)
- <https://git.kernel.org/stable/c/a99b598d836c9c6411110c70a2da134c78d96e67> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2025-38368 · Whole record: https://cve.day/CVE-2025-38368.json · Rebuilt by cve.day 2026-11-25T22:59:01.669Z
