What’s Vulnerable › Vulnerabilities
CVE-2025-38541: wifi: mt76: mt7925: Fix null-ptr-deref in mt7925_thermal_init()
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-08-16 · updated 2026-06-17
- Weakness: CWE-476
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.
Affected products
- Linux kernel: from 6.9 before 6.12.39; from 6.13 before 6.15.7; 6.16-rc1, 6.16-rc2, 6.16-rc3, 6.16-rc4, 6.16-rc5 — fixed in 6.12.39, 6.15.7
How to fix
Upgrade to a fixed version: Linux kernel 6.12.39, 6.15.7. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/03ee8f73801a8f46d83dfc2bf73fb9ffa5a21602
- https://git.kernel.org/stable/c/1bbdf4213711bb6dc365e7628430a63dd3280794
- https://git.kernel.org/stable/c/2e99e9b34ece0b6d3e82cb757e9f60fa414da999
Get alerted when CVE-2025-38541 or the next vulnerability affects your stack