In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: mt7925: Fix null-ptr-deref in mt7925_thermal_init() devm_kasprintf() returns NULL on error. Currently, mt7925_thermal_init() does not check for this case, which results in a NULL pointer dereference. Add NULL check after devm_kasprintf() to prevent this issue.
History

Sat, 16 Aug 2025 11:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: wifi: mt76: mt7925: Fix null-ptr-deref in mt7925_thermal_init() devm_kasprintf() returns NULL on error. Currently, mt7925_thermal_init() does not check for this case, which results in a NULL pointer dereference. Add NULL check after devm_kasprintf() to prevent this issue.
Title wifi: mt76: mt7925: Fix null-ptr-deref in mt7925_thermal_init()
References

cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published: 2025-08-16T11:22:15.776Z

Updated: 2025-08-16T11:22:15.776Z

Reserved: 2025-04-16T04:51:24.024Z

Link: CVE-2025-38541

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2025-08-16T12:15:29.957

Modified: 2025-08-16T12:15:29.957

Link: CVE-2025-38541

cve-icon Redhat

No data.