← CVE Intelligence

CVE-2025-38281

wifi: mt76: mt7996: Add NULL check in mt7996_thermal_init PUBLISHED

Description (CNA)

In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: mt7996: Add NULL check in mt7996_thermal_init devm_kasprintf() can return a NULL pointer on failure,but this returned value in mt7996_thermal_init() is not checked. Add NULL check in mt7996_thermal_init(), to handle kernel NULL pointer dereference error.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 69d54ce7491d046eaae05de7fb2493319a481991 before 8340cb173750c1ea99cd643006b72f8b0e6c21f2; affected 69d54ce7491d046eaae05de7fb2493319a481991 before caf4b347c5dc40fdd125793b5e82ba9fc4de5275
Linux / Linuxaffected 6.14; unaffected 0 before 6.14; unaffected 6.15.3 through 6.15.*; unaffected 6.16 through *

CWE

No CWE identifiers supplied.

References