What’s Vulnerable › Vulnerabilities
CVE-2025-38368: misc: tps6594-pfsm: Add NULL pointer check in tps6594_pfsm_probe()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-07-25 · updated 2026-06-17
- Weakness: CWE-476
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.
Affected products
- Linux kernel: from 6.5 before 6.6.96; from 6.7 before 6.12.36; from 6.13 before 6.15.5 — fixed in 6.12.36, 6.15.5, 6.6.96
How to fix
Upgrade to a fixed version: Linux kernel 6.12.36, 6.15.5, 6.6.96. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/a10c8bff454b11ef553d9df19ee722d2df34cd0e
- https://git.kernel.org/stable/c/a8d1b4f219e8833130927f19d1c8bfbf49215ce4
- https://git.kernel.org/stable/c/a99b598d836c9c6411110c70a2da134c78d96e67
- https://git.kernel.org/stable/c/d27ee5c59881a64ea92e363502742cb4f38b7460
Get alerted when CVE-2025-38368 or the next vulnerability affects your stack