In the Linux kernel, the following vulnerability has been resolved:
misc: tps6594-pfsm: Add NULL pointer check in tps6594pfsmprobe()
The returned value, pfsm->miscdev.name, from devmkasprintf() 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 iceptp.c").
This issue is found by our static analysis tool.
{ "vanir_signatures": [ { "signature_version": "v1", "target": { "file": "drivers/misc/tps6594-pfsm.c" }, "signature_type": "Line", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d27ee5c59881a64ea92e363502742cb4f38b7460", "deprecated": false, "digest": { "line_hashes": [ "92130598084219117487959190118044202133", "51431837994667306569499879296013488469", "318936050276699538173758773108811517342", "126920515527522724415566717317450930292" ], "threshold": 0.9 }, "id": "CVE-2025-38368-294f4bc7" }, { "signature_version": "v1", "target": { "function": "tps6594_pfsm_probe", "file": "drivers/misc/tps6594-pfsm.c" }, "signature_type": "Function", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a99b598d836c9c6411110c70a2da134c78d96e67", "deprecated": false, "digest": { "length": 971.0, "function_hash": "136688219677379658958850773353597287678" }, "id": "CVE-2025-38368-2dcc71e1" }, { "signature_version": "v1", "target": { "file": "drivers/misc/tps6594-pfsm.c" }, "signature_type": "Line", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a8d1b4f219e8833130927f19d1c8bfbf49215ce4", "deprecated": false, "digest": { "line_hashes": [ "92130598084219117487959190118044202133", "51431837994667306569499879296013488469", "318936050276699538173758773108811517342", "47356172477406920231067122522368938706" ], "threshold": 0.9 }, "id": "CVE-2025-38368-34af05c2" }, { "signature_version": "v1", "target": { "file": "drivers/misc/tps6594-pfsm.c" }, "signature_type": "Line", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a99b598d836c9c6411110c70a2da134c78d96e67", "deprecated": false, "digest": { "line_hashes": [ "92130598084219117487959190118044202133", "51431837994667306569499879296013488469", "318936050276699538173758773108811517342", "126920515527522724415566717317450930292" ], "threshold": 0.9 }, "id": "CVE-2025-38368-5ed0fe46" }, { "signature_version": "v1", "target": { "function": "tps6594_pfsm_probe", "file": "drivers/misc/tps6594-pfsm.c" }, "signature_type": "Function", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a10c8bff454b11ef553d9df19ee722d2df34cd0e", "deprecated": false, "digest": { "length": 971.0, "function_hash": "136688219677379658958850773353597287678" }, "id": "CVE-2025-38368-72cee5e5" }, { "signature_version": "v1", "target": { "function": "tps6594_pfsm_probe", "file": "drivers/misc/tps6594-pfsm.c" }, "signature_type": "Function", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d27ee5c59881a64ea92e363502742cb4f38b7460", "deprecated": false, "digest": { "length": 971.0, "function_hash": "136688219677379658958850773353597287678" }, "id": "CVE-2025-38368-ac11e6d7" }, { "signature_version": "v1", "target": { "function": "tps6594_pfsm_probe", "file": "drivers/misc/tps6594-pfsm.c" }, "signature_type": "Function", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a8d1b4f219e8833130927f19d1c8bfbf49215ce4", "deprecated": false, "digest": { "length": 937.0, "function_hash": "43014101568423760740369949511263077549" }, "id": "CVE-2025-38368-cde4731e" }, { "signature_version": "v1", "target": { "file": "drivers/misc/tps6594-pfsm.c" }, "signature_type": "Line", "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@a10c8bff454b11ef553d9df19ee722d2df34cd0e", "deprecated": false, "digest": { "line_hashes": [ "92130598084219117487959190118044202133", "51431837994667306569499879296013488469", "318936050276699538173758773108811517342", "126920515527522724415566717317450930292" ], "threshold": 0.9 }, "id": "CVE-2025-38368-ef236ea2" } ] }