summaryrefslogtreecommitdiff
path: root/tools/lib/python
diff options
context:
space:
mode:
authorLorenzo Bianconi <lorenzo@kernel.org>2026-05-31 11:38:57 +0200
committerFelix Fietkau <nbd@nbd.name>2026-06-09 10:15:22 +0000
commit61370e6674b5253de5686813ceeceebc35a7d3e5 (patch)
treed2a56e53ce84b42fa49f7e435bf8fc3eb677aaf7 /tools/lib/python
parent831074096d0450308357271fc0ffd3f600a2487e (diff)
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. Fixes: f0b0b239b8f36 ("wifi: mt76: mt7996: rework mt7996_mac_write_txwi() for MLO support") Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Link: https://patch.msgid.link/20260531-mt7996_mac_write_txwi_80211-null-ptr-deref-v1-1-6dd38e1d3422@kernel.org Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions