# CVE-2023-53071: wifi: mt76: do not run mt76_unregister_device() on unregistered hw

- 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.20%, higher than 10% of CVEs (2026-12-01)
- Published: 2025-05-02T15:55:23.130Z
- Modified: 2026-11-05T21:17:10.760Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

wifi: mt76: do not run mt76_unregister_device() on unregistered hw

Trying to probe a mt7921e pci card without firmware results in a
successful probe where ieee80211_register_hw hasn't been called. When
removing the driver, ieee802111_unregister_hw is called unconditionally
leading to a kernel NULL pointer dereference.
Fix the issue running mt76_unregister_device routine just for registered
hw.

(As written by CVE List.)

## Affected

- Linux Linux: from 1c71e03afe4b457a15e50de40006b927dfc00755 before dffe86df26aee01a5fc56a175b7a7f157961e370; from 1c71e03afe4b457a15e50de40006b927dfc00755 before 2d34f27714c97a9786a30b3bb54944d6d8ed612f; from 1c71e03afe4b457a15e50de40006b927dfc00755 before 41130c32f3a18fcc930316da17f3a5f3bc326aa1; 5.18 (not affected: before 5.18; from 6.1.113 up to 6.1.*; from 6.2.9 up to 6.2.*; from 6.3 up to *)
- linux linux_kernel: from 5.18 before 6.1.113; from 6.2 before 6.2.9; 6.3

## References

- <https://git.kernel.org/stable/c/dffe86df26aee01a5fc56a175b7a7f157961e370> (patch)
- <https://git.kernel.org/stable/c/2d34f27714c97a9786a30b3bb54944d6d8ed612f> (patch)
- <https://git.kernel.org/stable/c/41130c32f3a18fcc930316da17f3a5f3bc326aa1> (patch)

## Sources

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

---

Page: https://cve.day/CVE-2023-53071 · Whole record: https://cve.day/CVE-2023-53071.json · Rebuilt by cve.day 2026-11-25T22:58:34.649Z
