# CVE-2025-38281: wifi: mt76: mt7996: Add NULL check in mt7996_thermal_init

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 8% of CVEs (2026-11-30)
- Published: 2025-07-10T07:41:59.518Z
- Modified: 2026-06-17T09:16:32.567Z
- Weaknesses: CWE-476
- Assigned by: Linux

## Description

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

wifi: mt76: mt7996: Add NULL check in mt7996_thermal_init

devm_kasprintf() can return a NULL pointer on failure,but this
returned value in mt7996_thermal_init() is not checked.
Add NULL check in mt7996_thermal_init(), to handle kernel NULL
pointer dereference error.

(As written by CVE List.)

## Affected

- Linux Linux: from 69d54ce7491d046eaae05de7fb2493319a481991 before 8340cb173750c1ea99cd643006b72f8b0e6c21f2; from 69d54ce7491d046eaae05de7fb2493319a481991 before caf4b347c5dc40fdd125793b5e82ba9fc4de5275; 6.14 (not affected: before 6.14; from 6.15.3 up to 6.15.*; from 6.16 up to *)
- linux linux_kernel: from 6.14 before 6.15.3

## References

- <https://git.kernel.org/stable/c/8340cb173750c1ea99cd643006b72f8b0e6c21f2> (patch)
- <https://git.kernel.org/stable/c/caf4b347c5dc40fdd125793b5e82ba9fc4de5275> (patch)

## Sources

- CVE List: [CVE-2025-38281](https://www.cve.org/CVERecord?id=CVE-2025-38281), CVE Terms of Use, modified 2026-05-11
- NVD: [CVE-2025-38281](https://nvd.nist.gov/vuln/detail/CVE-2025-38281), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-38281 · Whole record: https://cve.day/CVE-2025-38281.json · Rebuilt by cve.day 2026-11-25T22:59:01.053Z
