Skip to content
CVE PROGRAM SOURCE RECORDUnscored

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

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 1c71e03afe4b457a15e50de40006b927dfc00755 to < dffe86df26aee01a5fc56a175b7a7f157961e370affected
  • 1c71e03afe4b457a15e50de40006b927dfc00755 to < 2d34f27714c97a9786a30b3bb54944d6d8ed612faffected
  • 1c71e03afe4b457a15e50de40006b927dfc00755 to < 41130c32f3a18fcc930316da17f3a5f3bc326aa1affected

Linux Linux

Default version status: affected

  • 5.18affected
  • 0 to < 5.18unaffected
  • 6.1.113 to ≤ 6.1.*unaffected
  • 6.2.9 to ≤ 6.2.*unaffected
  • 6.3 to ≤ *unaffected

References