CVE-2025-38368

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

State
Published
Severity
Not scored
Published
Jul 25, 2025
Updated
May 11, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • a0df3ef087f8aaebbdf205b1b2e126ec9ef6b113 to before a8d1b4f219e8833130927f19d1c8bfbf49215ce4Affected
  • a0df3ef087f8aaebbdf205b1b2e126ec9ef6b113 to before a10c8bff454b11ef553d9df19ee722d2df34cd0eAffected
  • a0df3ef087f8aaebbdf205b1b2e126ec9ef6b113 to before d27ee5c59881a64ea92e363502742cb4f38b7460Affected
  • a0df3ef087f8aaebbdf205b1b2e126ec9ef6b113 to before a99b598d836c9c6411110c70a2da134c78d96e67Affected
LinuxLinux
  • 6.5Affected
  • before 6.5Not affected
  • 6.6.96 through 6.6.*Not affected
  • 6.12.36 through 6.12.*Not affected
  • 6.15.5 through 6.15.*Not affected
  • 6.16 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.