{"id":"CVE-2025-38541","summary":"wifi: mt76: mt7925: Fix null-ptr-deref in mt7925_thermal_init()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mt76: mt7925: Fix null-ptr-deref in mt7925_thermal_init()\n\ndevm_kasprintf() returns NULL on error. Currently, mt7925_thermal_init()\ndoes not check for this case, which results in a NULL pointer\ndereference.\n\nAdd NULL check after devm_kasprintf() to prevent this issue.","modified":"2026-04-02T12:48:01.426810Z","published":"2025-08-16T11:22:15.776Z","related":["SUSE-SU-2025:03272-1","SUSE-SU-2025:03290-1","SUSE-SU-2025:03301-1","SUSE-SU-2025:03382-1","SUSE-SU-2025:03602-1","SUSE-SU-2025:03633-1","SUSE-SU-2025:03634-1","SUSE-SU-2025:20653-1","SUSE-SU-2025:20669-1","SUSE-SU-2025:20739-1","SUSE-SU-2025:20756-1","SUSE-SU-2026:20555-1","SUSE-SU-2026:20599-1","SUSE-SU-2026:20615-1","openSUSE-SU-2026:20287-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38541.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/03ee8f73801a8f46d83dfc2bf73fb9ffa5a21602"},{"type":"WEB","url":"https://git.kernel.org/stable/c/1bbdf4213711bb6dc365e7628430a63dd3280794"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2e99e9b34ece0b6d3e82cb757e9f60fa414da999"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/38xxx/CVE-2025-38541.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38541"},{"type":"PACKAGE","url":"https://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/cve-osv-conversion/osv-output/CVE-2025-38541.json"}}],"schema_version":"1.7.5"}