linux/drivers/net/wireless
Lorenzo Bianconi 9612d91f61 wifi: mt76: Fix possible oob access in mt76_connac2_mac_write_txwi_80211()
[ Upstream commit 4e10a730d1 ]

Check frame length before accessing the mgmt fields in
mt76_connac2_mac_write_txwi_80211 in order to avoid a possible oob
access.

Fixes: 577dbc6c65 ("mt76: mt7915: enable offloading of sequence number assignment")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://patch.msgid.link/20260226-mt76-addba-req-oob-access-v1-3-b0f6d1ad4850@kernel.org
[fix check to also cover mgmt->u.action.u.addba_req.capab,
correct Fixes tag]
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2026-03-12 07:09:54 -04:00
..
admtek wifi: cfg80211/mac80211: Add support to get radio index 2025-06-24 15:19:27 +02:00
ath net: qrtr: Drop the MHI auto_queue feature for IPCR DL channels 2026-03-12 07:09:25 -04:00
atmel wifi: cfg80211/mac80211: Add support to get radio index 2025-06-24 15:19:27 +02:00
broadcom wifi: brcmfmac: Fix potential kernel oops when probe fails 2026-03-04 07:20:46 -05:00
intel net: intel: fix PCI device ID conflict between i40e and ipw2200 2026-03-04 07:21:29 -05:00
intersil wifi: mac80211: support parsing S1G TIM PVB 2025-09-04 11:19:01 +02:00
marvell wifi: libertas: fix use-after-free in lbs_free_adapter() 2026-03-12 07:09:39 -04:00
mediatek wifi: mt76: Fix possible oob access in mt76_connac2_mac_write_txwi_80211() 2026-03-12 07:09:54 -04:00
microchip Plenty of things going on, notably: 2025-09-11 17:50:46 -07:00
purelifi wifi: plfxlc: Fix error handling in usb driver probe 2025-07-18 14:23:23 +02:00
quantenna wifi: cfg80211/mac80211: Add support to get radio index 2025-06-24 15:19:27 +02:00
ralink Plenty of things going on, notably: 2025-09-11 17:50:46 -07:00
realtek wifi: rtw89: pci: restore LDO setting after device resume 2026-03-04 07:20:25 -05:00
rsi wifi: rsi: Don't default to -EOPNOTSUPP in rsi_mac80211_config 2026-03-12 07:09:52 -04:00
silabs wifi: cfg80211/mac80211: Add support to get radio index 2025-06-24 15:19:27 +02:00
st wifi: cw1200: Fix locking in error paths 2026-03-12 07:09:54 -04:00
ti wifi: wlcore: Fix a locking bug 2026-03-12 07:09:54 -04:00
virtual wifi: mac80211_hwsim: fix typo in frequency notification 2026-01-17 16:35:29 +01:00
zydas wifi: zd1211rw: fix potential memory leak in __zd_usb_enable_rx() 2025-10-30 08:41:10 +01:00
Kconfig wifi: remove orphaned rndis_wlan driver 2023-10-30 19:30:33 +02:00
Makefile wifi: remove orphaned rndis_wlan driver 2023-10-30 19:30:33 +02:00