CVE-2025-38541

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

State
Published
Severity
Not scored
Published
Aug 16, 2025
Updated
May 11, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 396e41a74a88654f23e36c46d2995752c91654a5 to before 1bbdf4213711bb6dc365e7628430a63dd3280794Affected
  • 396e41a74a88654f23e36c46d2995752c91654a5 to before 2e99e9b34ece0b6d3e82cb757e9f60fa414da999Affected
  • 396e41a74a88654f23e36c46d2995752c91654a5 to before 03ee8f73801a8f46d83dfc2bf73fb9ffa5a21602Affected
LinuxLinux
  • 6.9Affected
  • before 6.9Not affected
  • 6.12.39 through 6.12.*Not affected
  • 6.15.7 through 6.15.*Not affected
  • 6.16 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.