{"id":"CVE-2025-38541","aliases":["CVE-2025-38541"],"related":[],"kind":"vulnerability","state":"published","title":"wifi: mt76: mt7925: Fix null-ptr-deref in mt7925_thermal_init()","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: wifi: mt76: mt7925: Se ha corregido la corrección de null-ptr-deref en mt7925_thermal_init(). Devm_kasprintf() devuelve NULL en caso de error. Actualmente, mt7925_thermal_init() no comprueba este caso, lo que resulta en una desreferencia de puntero NULL. Añada la comprobación de NULL después de devm_kasprintf() para evitar este problema.","source":"nvd"}],"published":"2025-08-16T11:22:15.776Z","modified":"2026-06-17T09:17:04.490Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-476"],"affected":[{"ranges":[{"type":"git","introduced":"396e41a74a88654f23e36c46d2995752c91654a5","fixed":"1bbdf4213711bb6dc365e7628430a63dd3280794","status":"affected"},{"type":"git","introduced":"396e41a74a88654f23e36c46d2995752c91654a5","fixed":"2e99e9b34ece0b6d3e82cb757e9f60fa414da999","status":"affected"},{"type":"git","introduced":"396e41a74a88654f23e36c46d2995752c91654a5","fixed":"03ee8f73801a8f46d83dfc2bf73fb9ffa5a21602","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.9","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.9","status":"unaffected"},{"type":"semver","introduced":"6.12.39","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.15.7","lastAffected":"6.15.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.16","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"6.9","fixed":"6.12.39"},{"status":"affected","introduced":"6.13","fixed":"6.15.7"},{"status":"affected","version":"6.16"},{"status":"affected","version":"6.16"},{"status":"affected","version":"6.16"},{"status":"affected","version":"6.16"},{"status":"affected","version":"6.16"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/1bbdf4213711bb6dc365e7628430a63dd3280794","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2e99e9b34ece0b6d3e82cb757e9f60fa414da999","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/03ee8f73801a8f46d83dfc2bf73fb9ffa5a21602","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-38541","url":"https://www.cve.org/CVERecord?id=CVE-2025-38541","licence":"CVE Terms of Use","modified":"2026-05-11T21:30:04.227Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-38541","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-38541","licence":"Public domain","modified":"2026-06-17T09:17:04.490Z"}],"updatedAt":"2026-11-25T22:59:02.636Z","epss":{"score":0.00175,"percentile":0.0733,"date":"2026-12-01T12:00:22.000Z"}}