# CVE-2025-38155: wifi: mt76: mt7915: Fix null-ptr-deref in mt7915_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.28%, higher than 13% of CVEs (2026-11-30)
- Published: 2025-07-03T08:35:58.185Z
- Modified: 2026-06-17T09:16:17.073Z
- Weaknesses: CWE-476
- Assigned by: Linux

## Description

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

wifi: mt76: mt7915: Fix null-ptr-deref in mt7915_mmio_wed_init()

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

Prevent null pointer dereference in mt7915_mmio_wed_init().

(As written by CVE List.)

## Affected

- Linux Linux: from 4f831d18d12da80cec0bebe5b8ca8702a528195a before e9f9cef1877ac32285dbc1f31b86c8955b712fc2; from 4f831d18d12da80cec0bebe5b8ca8702a528195a before 790d05cde359356feea8915094a51166af1629f5; from 4f831d18d12da80cec0bebe5b8ca8702a528195a before d825ed9fd768be10d52beba6f57a4b50c0c154aa; from 4f831d18d12da80cec0bebe5b8ca8702a528195a before efb95439c1477bbc955cacd0179c35e7861b437c; 6.2 (not affected: before 6.2; from 6.6.94 up to 6.6.*; 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.2 before 6.6.94; from 6.7 before 6.12.34; from 6.13 before 6.15.3

## References

- <https://git.kernel.org/stable/c/e9f9cef1877ac32285dbc1f31b86c8955b712fc2> (patch)
- <https://git.kernel.org/stable/c/790d05cde359356feea8915094a51166af1629f5> (patch)
- <https://git.kernel.org/stable/c/d825ed9fd768be10d52beba6f57a4b50c0c154aa> (patch)
- <https://git.kernel.org/stable/c/efb95439c1477bbc955cacd0179c35e7861b437c> (patch)

## Sources

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

---

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