CVE-2025-38368

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

MEDIUM
5.5
CVSS Score
Published: July 25, 2025 at 12:47 PM UTC
Updated: June 17, 2026 at 09:16 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

6.13 ≤ v < 6.15.56.5 ≤ v < 6.12.366.5 ≤ v < 6.15.56.5 ≤ v < 6.166.5 ≤ v < 6.6.966.7 ≤ v < 6.12.366.5a0df3ef087f8aaebbdf205b1b2e126ec9ef6b113
Vendor states this is fixed in a10c8bff454b11ef553d9df19ee722d2df34cd0e (fixed)
Vendor states this is fixed in a8d1b4f219e8833130927f19d1c8bfbf49215ce4 (fixed)
Vendor states this is fixed in a99b598d836c9c6411110c70a2da134c78d96e67 (fixed)
Vendor states this is fixed in d27ee5c59881a64ea92e363502742cb4f38b7460 (fixed)
Vendor states this is fixed in 6.12.36 (unaffected)
Vendor states this is fixed in 6.15.5 (unaffected)
Vendor states this is fixed in 6.16 (unaffected)
Vendor states this is fixed in 6.5 (unaffected)
Vendor states this is fixed in 6.6.96 (unaffected)

References (4)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a10c8bff454b11ef553d9df19ee722d2df34cd0e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a8d1b4f219e8833130927f19d1c8bfbf49215ce4
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a99b598d836c9c6411110c70a2da134c78d96e67
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/d27ee5c59881a64ea92e363502742cb4f38b7460

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusANALYZED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card