{"id":"CVE-2023-53071","summary":"wifi: mt76: do not run mt76_unregister_device() on unregistered hw","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: mt76: do not run mt76_unregister_device() on unregistered hw\n\nTrying to probe a mt7921e pci card without firmware results in a\nsuccessful probe where ieee80211_register_hw hasn't been called. When\nremoving the driver, ieee802111_unregister_hw is called unconditionally\nleading to a kernel NULL pointer dereference.\nFix the issue running mt76_unregister_device routine just for registered\nhw.","modified":"2026-04-03T13:14:49.003650436Z","published":"2025-05-02T15:55:23.130Z","related":["SUSE-SU-2025:01966-1","SUSE-SU-2025:02173-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53071.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/2d34f27714c97a9786a30b3bb54944d6d8ed612f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/41130c32f3a18fcc930316da17f3a5f3bc326aa1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/dffe86df26aee01a5fc56a175b7a7f157961e370"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/53xxx/CVE-2023-53071.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53071"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"1c71e03afe4b457a15e50de40006b927dfc00755"},{"fixed":"dffe86df26aee01a5fc56a175b7a7f157961e370"},{"fixed":"2d34f27714c97a9786a30b3bb54944d6d8ed612f"},{"fixed":"41130c32f3a18fcc930316da17f3a5f3bc326aa1"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-53071.json"}}],"schema_version":"1.7.5"}