CVE-2025-38541

published 16 Aug 2025 · updated 11 May 2026

wifi: mt76: mt7925: Fix null-ptr-deref in mt7925_thermal_init()

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 03ee8f73801a8f46d83dfc2bf73fb9ffa5a21602, Kernel 1bbdf4213711bb6dc365e7628430a63dd3280794 and Kernel 2e99e9b34ece0b6d3e82cb757e9f60fa414da999.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.9, >=396e41a74a88654f23e36c46d2995752c91654a5 <03ee8f73801a8f46d83dfc2bf73fb9ffa5a21602, >=396e41a74a88654f23e36c46d2995752c91654a5 <1bbdf4213711bb6dc365e7628430a63dd3280794, >=396e41a74a88654f23e36c46d2995752c91654a5 <2e99e9b34ece0b6d3e82cb757e9f60fa414da99903ee8f73801a8f46d83dfc2bf73fb9ffa5a21602, 1bbdf4213711bb6dc365e7628430a63dd3280794, 2e99e9b34ece0b6d3e82cb757e9f60fa414da999

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-38541 severity on Zeptric[![CVE-2025-38541](https://zeptric.io/badge/cve/CVE-2025-38541.svg)](https://zeptric.io/cve/CVE-2025-38541)