What’s Vulnerable › Vulnerabilities

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

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 products

How to fix

Upgrade to a fixed version: Linux kernel 6.1.113, 6.2.9. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-53071 or the next vulnerability affects your stack