# CVE-2025-38316: wifi: mt76: mt7996: avoid NULL pointer dereference in mt7996_set_monitor()

- 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.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2025-07-10T07:42:23.219Z
- Modified: 2026-06-17T09:16:36.457Z
- Weaknesses: CWE-476
- Assigned by: Linux

## Description

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

wifi: mt76: mt7996: avoid NULL pointer dereference in mt7996_set_monitor()

The function mt7996_set_monitor() dereferences phy before
the NULL sanity check.

Fix this to avoid NULL pointer dereference by moving the
dereference after the check.

(As written by CVE List.)

## Affected

- Linux Linux: from 69d54ce7491d046eaae05de7fb2493319a481991 before 83a422c8169eef95aef57f7ddc467bb126d9ae81; from 69d54ce7491d046eaae05de7fb2493319a481991 before cb423ddad0f6e6f55b1700422ab777b25597cc83; 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/83a422c8169eef95aef57f7ddc467bb126d9ae81> (patch)
- <https://git.kernel.org/stable/c/cb423ddad0f6e6f55b1700422ab777b25597cc83> (patch)

## Sources

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

---

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