linux/drivers/net/wireless/mediatek/mt76
Lorenzo Bianconi 2fffc472be wifi: mt76: mt7996: fix possible NULL-pointer deref in mt7996_mcu_sta_bfer_eht()
mt76_connac_get_eht_phy_cap routine can theoretically return NULL so
check cap pointer before dereferencing it.

Fixes: ba01944ade ("wifi: mt76: mt7996: add EHT beamforming support")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Link: https://patch.msgid.link/20260621-mt76_connac_get_he_phy_cap-fix-v1-4-ed4ccf7a0363@kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2026-07-22 06:20:08 +00:00
..
mt76x0 wifi: mt76x0u: drop redundant device reference 2026-06-09 10:15:20 +00:00
mt76x2 wifi: mt76: mt76x2u: Add support for ELECOM WDC-867SU3S 2026-06-09 10:15:22 +00:00
mt7603 wifi: mt76: relicense to BSD-3-Clause-Clear 2025-11-24 14:37:54 +01:00
mt7615 wifi: mt76: mt7615: drop TXRX_NOTIFY on non-mmio buses 2026-07-22 06:08:54 +00:00
mt7915 wifi: mt76: mt7915: guard HE capability lookups 2026-07-22 06:10:39 +00:00
mt7921 wifi: mt76: mt7921: drop TXRX_NOTIFY on non-mmio buses 2026-07-22 06:08:43 +00:00
mt7925 wifi: mt76: mt7925: fix crash in reset link replay 2026-07-22 06:13:45 +00:00
mt7996 wifi: mt76: mt7996: fix possible NULL-pointer deref in mt7996_mcu_sta_bfer_eht() 2026-07-22 06:20:08 +00:00
agg-rx.c Convert 'alloc_flex' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
channel.c wifi: mt76: use kfree_rcu for offchannel link in mt76_put_vif_phy_link 2026-06-09 10:15:20 +00:00
debugfs.c wifi: mt76: relicense to BSD-3-Clause-Clear 2025-11-24 14:37:54 +01:00
dma.c wifi: mt76: Disable napi when removing device 2026-07-22 06:09:05 +00:00
dma.h wifi: mt76: Do not reset idx for NPU tx queues during reset 2026-03-23 09:23:01 +00:00
eeprom.c wifi: mt76: fix MAC address for non OF pcie cards 2026-07-22 06:12:24 +00:00
Kconfig wifi: mt76: fix airoha_npu dependency tracking 2026-07-22 06:13:31 +00:00
mac80211.c wifi: mt76: fix argument to ieee80211_is_first_frag() 2026-06-09 10:15:22 +00:00
Makefile wifi: mt76: fix airoha_npu dependency tracking 2026-07-22 06:13:31 +00:00
mcu.c wifi: mt76: avoid to set ACK for MCU command if wait_resp is not set 2026-03-24 15:49:30 +00:00
mmio.c wifi: mt76: mmio_*_copy fix byte order and alignment 2025-11-24 14:37:55 +01:00
mt76_connac_mac.c wifi: mt76: connac: use a helper to cache txpower_cur 2026-06-09 10:15:22 +00:00
mt76_connac_mcu.c wifi: mt76: connac: fix possible NULL-pointer deref in mt76_connac_mcu_uni_bss_he_tlv() 2026-07-22 06:10:47 +00:00
mt76_connac_mcu.h wifi: mt76: mt7921: add auto regdomain switch support 2026-06-09 10:26:43 +00:00
mt76_connac.h wifi: mt76: connac: factor out rate power limit calculation 2026-06-09 10:15:22 +00:00
mt76_connac2_mac.h wifi: mt76: relicense to BSD-3-Clause-Clear 2025-11-24 14:37:54 +01:00
mt76_connac3_mac.c wifi: mt76: relicense to BSD-3-Clause-Clear 2025-11-24 14:37:54 +01:00
mt76_connac3_mac.h wifi: mt76: relicense to BSD-3-Clause-Clear 2025-11-24 14:37:54 +01:00
mt76.h wifi: mt76: fix airoha_npu dependency tracking 2026-07-22 06:13:31 +00:00
mt76x02_beacon.c wifi: mt76: relicense to BSD-3-Clause-Clear 2025-11-24 14:37:54 +01:00
mt76x02_debugfs.c wifi: mt76: relicense to BSD-3-Clause-Clear 2025-11-24 14:37:54 +01:00
mt76x02_dfs.c wifi: mt76: relicense to BSD-3-Clause-Clear 2025-11-24 14:37:54 +01:00
mt76x02_dfs.h wifi: mt76: relicense to BSD-3-Clause-Clear 2025-11-24 14:37:54 +01:00
mt76x02_dma.h wifi: mt76: relicense to BSD-3-Clause-Clear 2025-11-24 14:37:54 +01:00
mt76x02_eeprom.c wifi: mt76: relicense to BSD-3-Clause-Clear 2025-11-24 14:37:54 +01:00
mt76x02_eeprom.h wifi: mt76: relicense to BSD-3-Clause-Clear 2025-11-24 14:37:54 +01:00
mt76x02_mac.c wifi: mt76: relicense to BSD-3-Clause-Clear 2025-11-24 14:37:54 +01:00
mt76x02_mac.h wifi: mt76: relicense to BSD-3-Clause-Clear 2025-11-24 14:37:54 +01:00
mt76x02_mcu.c wifi: mt76: relicense to BSD-3-Clause-Clear 2025-11-24 14:37:54 +01:00
mt76x02_mcu.h wifi: mt76: relicense to BSD-3-Clause-Clear 2025-11-24 14:37:54 +01:00
mt76x02_mmio.c wifi: mt76: mt76x02: wake queues after reconfig 2026-03-23 09:14:42 +00:00
mt76x02_phy.c wifi: mt76: relicense to BSD-3-Clause-Clear 2025-11-24 14:37:54 +01:00
mt76x02_phy.h wifi: mt76: relicense to BSD-3-Clause-Clear 2025-11-24 14:37:54 +01:00
mt76x02_regs.h wifi: mt76: relicense to BSD-3-Clause-Clear 2025-11-24 14:37:54 +01:00
mt76x02_trace.c wifi: mt76: relicense to BSD-3-Clause-Clear 2025-11-24 14:37:54 +01:00
mt76x02_trace.h wifi: mt76: relicense to BSD-3-Clause-Clear 2025-11-24 14:37:54 +01:00
mt76x02_txrx.c wifi: mt76: relicense to BSD-3-Clause-Clear 2025-11-24 14:37:54 +01:00
mt76x02_usb_core.c wifi: mt76: relicense to BSD-3-Clause-Clear 2025-11-24 14:37:54 +01:00
mt76x02_usb_mcu.c wifi: mt76: relicense to BSD-3-Clause-Clear 2025-11-24 14:37:54 +01:00
mt76x02_usb.h wifi: mt76: relicense to BSD-3-Clause-Clear 2025-11-24 14:37:54 +01:00
mt76x02_util.c wifi: mt76: relicense to BSD-3-Clause-Clear 2025-11-24 14:37:54 +01:00
mt76x02.h wifi: mt76: relicense to BSD-3-Clause-Clear 2025-11-24 14:37:54 +01:00
mt792x_acpi_sar.c wifi: mt76: relicense to BSD-3-Clause-Clear 2025-11-24 14:37:54 +01:00
mt792x_acpi_sar.h wifi: mt76: relicense to BSD-3-Clause-Clear 2025-11-24 14:37:54 +01:00
mt792x_core.c wifi: mt76: mt792x: report txpower for the requested vif link 2026-06-09 10:15:22 +00:00
mt792x_debugfs.c wifi: mt76: relicense to BSD-3-Clause-Clear 2025-11-24 14:37:54 +01:00
mt792x_dma.c wifi: mt76: mt792x: add MT7927-specific PCIe DMA support 2026-06-09 10:15:21 +00:00
mt792x_mac.c wifi: mt76: mt792x: Fix a potential deadlock in high-load situations 2026-03-23 09:21:25 +00:00
mt792x_regs.h wifi: mt76: mt792x: add MT7927-specific PCIe DMA support 2026-06-09 10:15:21 +00:00
mt792x_trace.c wifi: mt76: relicense to BSD-3-Clause-Clear 2025-11-24 14:37:54 +01:00
mt792x_trace.h wifi: mt76: relicense to BSD-3-Clause-Clear 2025-11-24 14:37:54 +01:00
mt792x_usb.c wifi: mt76: mt7921u: escalate broken USB transport to device reset 2026-06-09 10:15:22 +00:00
mt792x.h wifi: mt76: mt7921u: escalate broken USB transport to device reset 2026-06-09 10:15:22 +00:00
npu.c wifi: mt76: Enable NPU support for MT7996 devices 2026-03-23 09:23:01 +00:00
pci.c wifi: mt76: transform aspm_conf for pci_disable_link_state 2026-06-09 10:15:22 +00:00
scan.c A fairly big set of changes all over, notably with: 2026-03-26 18:17:14 -07:00
sdio_txrx.c wifi: mt76: relicense to BSD-3-Clause-Clear 2025-11-24 14:37:54 +01:00
sdio.c wifi: mt76: relicense to BSD-3-Clause-Clear 2025-11-24 14:37:54 +01:00
sdio.h wifi: mt76: relicense to BSD-3-Clause-Clear 2025-11-24 14:37:54 +01:00
testmode.c wifi: mt76: relicense to BSD-3-Clause-Clear 2025-11-24 14:37:54 +01:00
testmode.h wifi: mt76: relicense to BSD-3-Clause-Clear 2025-11-24 14:37:54 +01:00
trace.c wifi: mt76: relicense to BSD-3-Clause-Clear 2025-11-24 14:37:54 +01:00
trace.h wifi: mt76: relicense to BSD-3-Clause-Clear 2025-11-24 14:37:54 +01:00
tx.c wifi: mt76: mt7996: Fix possible token leak in mt7996_tx_prepare_skb() 2026-06-09 10:15:22 +00:00
usb_trace.c wifi: mt76: relicense to BSD-3-Clause-Clear 2025-11-24 14:37:54 +01:00
usb_trace.h wifi: mt76: relicense to BSD-3-Clause-Clear 2025-11-24 14:37:54 +01:00
usb.c wifi: mt76: mt7921u: add MT7902 USB support 2026-06-09 10:15:22 +00:00
util.c wifi: mt76: relicense to BSD-3-Clause-Clear 2025-11-24 14:37:54 +01:00
util.h wifi: mt76: relicense to BSD-3-Clause-Clear 2025-11-24 14:37:54 +01:00
wed.c wifi: mt76: relicense to BSD-3-Clause-Clear 2025-11-24 14:37:54 +01:00