CVE-2025-38368

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

At a glance

Severity
Not available
EPSS
EPSS 0.18 % · percentile 7 (2026-10-27)
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

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

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Weaknesses (CWE)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected a0df3ef087f8aaebbdf205b1b2e126ec9ef6b113 < a8d1b4f219e8833130927f19d1c8bfbf49215ce4 ; affected a0df3ef087f8aaebbdf205b1b2e126ec9ef6b113 < a10c8bff454b11ef553d9df19ee722d2df34cd0e ; affected a0df3ef087f8aaebbdf205b1b2e126ec9ef6b113 < d27ee5c59881a64ea92e363502742cb4f38b7460 ; affected a0df3ef087f8aaebbdf205b1b2e126ec9ef6b113 < a99b598d836c9c6411110c70a2da134c78d96e67
Linux · Linuxaffected 6.5 ; unaffected 0 < 6.5 ; unaffected 6.6.96 ≤ 6.6.* ; unaffected 6.12.36 ≤ 6.12.* ; unaffected 6.15.5 ≤ 6.15.* ; unaffected 6.16 ≤ *

References

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD