# CVE-2025-38156: wifi: mt76: mt7996: Fix null-ptr-deref in mt7996_mmio_wed_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.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2025-07-03T08:35:58.950Z
- Modified: 2026-06-17T09:16:17.173Z
- Weaknesses: CWE-476
- Assigned by: Linux

## Description

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

wifi: mt76: mt7996: Fix null-ptr-deref in mt7996_mmio_wed_init()

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

Prevent null pointer dereference in mt7996_mmio_wed_init()

(As written by CVE List.)

## Affected

- Linux Linux: from 83eafc9251d6d30574b629ac637c56d168fcbdd9 before 1072fc0ca1f8d0d5397d24853386876f937b8e63; from 83eafc9251d6d30574b629ac637c56d168fcbdd9 before af861c6dea2ef06845a5c7672999a06c06099735; from 83eafc9251d6d30574b629ac637c56d168fcbdd9 before 8f30e2b059757d8711a823e4c9c023db62a1d171; 6.8 (not affected: before 6.8; from 6.12.34 up to 6.12.*; from 6.15.3 up to 6.15.*; from 6.16 up to *)
- linux linux_kernel: from 6.8 before 6.12.34; from 6.13 before 6.15.3

## References

- <https://git.kernel.org/stable/c/1072fc0ca1f8d0d5397d24853386876f937b8e63> (patch)
- <https://git.kernel.org/stable/c/af861c6dea2ef06845a5c7672999a06c06099735> (patch)
- <https://git.kernel.org/stable/c/8f30e2b059757d8711a823e4c9c023db62a1d171> (patch)

## Sources

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

---

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