[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20260120201043.38225-1-zac@zacbowling.com>
Date: Tue, 20 Jan 2026 12:10:30 -0800
From: Zac <zac@...bowling.com>
To: sean.wang@...nel.org
Cc: deren.wu@...iatek.com,
kvalo@...nel.org,
linux-kernel@...r.kernel.org,
linux-mediatek@...ts.infradead.org,
linux-wireless@...r.kernel.org,
linux@...me.work,
lorenzo@...nel.org,
nbd@....name,
ryder.lee@...iatek.com,
sean.wang@...iatek.com,
zac@...bowling.com,
zbowling@...il.com
Subject: [PATCH v6 00/13] wifi: mt76: stability fixes for deadlocks, NULL derefs, and race conditions
From: Zac Bowling <zac@...bowling.com>
TLDR: This series addresses stability issues in both the MT7921 and MT7925
WiFi drivers that cause kernel panics, deadlocks, and system hangs
on various systems using these drivers.
This v6 series is rebased on Sean Wang's upstream deadlock fix already sent
which is now included as patch 01/13. The remaining 12 patches are my stability
fixes.
Changes since v5:
- Rebased on Sean Wang's fix for mt7925_roc_abort_sync deadlock (now patch 1)
and removed my work around for the same issue as Sean's fix is better.
- Fixed format string warning in patch 12: %lu -> %u for jiffies_to_msecs()
return type (caught by kernel test robot)
- Added patch 13: fix double wcid initialization race condition - removes
duplicate mt76_wcid_init() call that occurred after rcu_assign_pointer(),
which could cause list corruption, memory leaks, and race conditions
(this is a pre-existing bug in upstream, not introduced by this series)
Zac Bowling (12):
wifi: mt76: fix list corruption in mt76_wcid_cleanup
wifi: mt76: mt792x: fix NULL pointer and firmware reload issues
wifi: mt76: mt7921: add mutex protection in critical paths
wifi: mt76: mt7921: fix deadlock in sta removal and suspend ROC abort
wifi: mt76: mt7925: add comprehensive NULL pointer protection for MLO
wifi: mt76: mt7925: add mutex protection in critical paths
wifi: mt76: mt7925: add MCU command error handling
wifi: mt76: mt7925: add lockdep assertions for mutex verification
wifi: mt76: mt7925: fix MLO roaming and ROC setup issues
wifi: mt76: mt7925: fix BA session teardown during beacon loss
wifi: mt76: mt7925: fix ROC deadlocks and race conditions
wifi: mt76: mt7925: fix double wcid initialization race condition
Sean Wang (1):
wifi: mt76: mt7925: fix potential deadlock in mt7925_roc_abort_sync
drivers/net/wireless/mediatek/mt76/mac80211.c | 10 +
drivers/net/wireless/mediatek/mt76/mt76.h | 1 +
drivers/net/wireless/mediatek/mt76/mt7921/mac.c | 2 +
drivers/net/wireless/mediatek/mt76/mt7921/main.c | 28 ++-
drivers/net/wireless/mediatek/mt76/mt7925/mac.c | 8 +
drivers/net/wireless/mediatek/mt76/mt7925/main.c | 303 ++++++++++++++++++++---
drivers/net/wireless/mediatek/mt76/mt7925/mcu.c | 48 +++-
drivers/net/wireless/mediatek/mt76/mt7925/pci.c | 2 +
drivers/net/wireless/mediatek/mt76/mt792x.h | 7 +
drivers/net/wireless/mediatek/mt76/mt792x_core.c | 27 +-
10 files changed, 390 insertions(+), 46 deletions(-)
--
2.52.0
Powered by blists - more mailing lists