CVE-2023-53071
JSON

5.5medium

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

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.20% (higher than 10% of CVEs; EPSS, by FIRST)
Published
Last changed
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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 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 *
CVE List
linux linux_kernelfrom 5.18 before 6.1.113, from 6.2 before 6.2.9, 6.3NVD

Classification

CWE-476

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: wifi: mt76: no ejecutar mt76_unregister_device() en hardware no registrado. Al intentar sondear una tarjeta PCI mt7921e sin firmware, se obtiene un sondeo exitoso donde no se ha llamado a ieee80211_register_hw. Al desinstalar el controlador, se llama a ieee802111_unregister_hw incondicionalmente, lo que provoca una desreferencia de puntero nulo en el kernel. Se solucionó el problema al ejecutar la rutina mt76_unregister_device solo para hardware registrado.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-53071 changed 2026-11-05CVE Terms of Use
NVDCVE-2023-53071 changed 2026-11-05Public domain