CVE-2025-38541

Source
https://cve.org/CVERecord?id=CVE-2025-38541
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38541.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2025-38541
Downstream
Related
Published
2025-08-16T11:22:15.776Z
Modified
2026-03-12T02:16:01.935225Z
Summary
wifi: mt76: mt7925: Fix null-ptr-deref in mt7925_thermal_init()
Details

In the Linux kernel, the following vulnerability has been resolved:

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

devmkasprintf() returns NULL on error. Currently, mt7925thermal_init() does not check for this case, which results in a NULL pointer dereference.

Add NULL check after devm_kasprintf() to prevent this issue.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38541.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
396e41a74a88654f23e36c46d2995752c91654a5
Fixed
1bbdf4213711bb6dc365e7628430a63dd3280794
Fixed
2e99e9b34ece0b6d3e82cb757e9f60fa414da999
Fixed
03ee8f73801a8f46d83dfc2bf73fb9ffa5a21602

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-38541.json"