Drafting the SRU justification for the deadlock fix so kernel team can
pull it into noble / questing:

[Impact]
Systems using the MediaTek MT7925 (RZ717) Wi-Fi 7 chipset suffer from 
intermittent hard freezes during AP roaming, multi-link operations or 
connection drops.
The issue is an AB-BA deadlock between cfg80211_wiphy_work and mt7925_roc_work 
where cancel_work_sync is called while holding the mt76 mutex. Once triggered, 
the kernel wedges, wpa_supplicant hangs in D state, and only a hard reset 
recovers the system.

[Fix]
Backport the two upstream commits merged into mainline:
- dd08ca3f092f ("wifi: mt76: mt7925: fix potential deadlock in 
mt7925_roc_abort_sync")
- 9e4d518a4707 ("wifi: mt76: mt7925: pass mlink to mac_link_sta_remove()")

[Test Plan]
1. Boot kernel with mt7925e driver on hardware with MT7925 (e.g. Framework 16 / 
ONEXPLAYER / AMD Ryzen AI).
2. Connect to multi-band WiFi (2.4/5/6 GHz) and trigger rapid roaming or AP 
re-association.
3. Verify system does not hang and no D-state processes or lockdep splats 
appear in dmesg.

[Where problems could occur]
The changes are strictly isolated to drivers/net/wireless/mediatek/mt76/mt7925/ 
and ensure mutex locking order is preserved during ROC (remain-on-channel) 
abort and STA removal. Regression risk is low and restricted to MT7925 devices

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2137291

Title:
  mt7925e: Kernel panic NULL pointer dereference in
  mt76_connac_mcu_uni_add_dev during WiFi reset - Framework Desktop

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2137291/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to