wifi: mt76: mt7996: Fix possible NULL pointer dereference in mt7996_mac_write_txwi_80211()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
6.18.407.1.57.2In the Linux kernel, the following vulnerability has been resolved:
wifi: mt76: mt7996: Fix possible NULL pointer dereference in mt7996_mac_write_txwi_80211()
For injected frames (e.g. via radiotap), mac80211 can pass info->control.vif = NULL, as explicitly noted in struct ieee80211_tx_info. Check vif pointer before executing ieee80211_vif_is_mld() in mt7996_mac_write_txwi_80211 routine in order to avoid a possible NULL pointer dereference.
From the CVE record · Linux
The Linux kernel’s mt7996 Wi-Fi driver may dereference a NULL pointer when processing an injected frame, such as one supplied via radiotap. This can occur when mac80211 passes a NULL vif pointer to mt7996_mac_write_txwi_80211(). The input does not specify authentication or user-interaction requirements.
Engineers running Linux kernels with the mt7996 Wi-Fi driver should check whether their kernel includes the fix; affected versions are not specified.