The deadlock half of this report — the AB-BA deadlock between
cfg80211_wiphy_work and mt7925_roc_work that hard-freezes the machine —
is now in mainline, authored by Sean Wang (no attribution to Zac's
stellar work, but internet knows :-) ) and merged via the mt76 tree:

  - dd08ca3f092f4185ece69ce2a835c23198b1628a — "wifi: mt76: mt7925: fix 
potential deadlock in mt7925_roc_abort_sync"
  
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=dd08ca3f092f4185ece69ce2a835c23198b1628a
  - 9e4d518a4707175e1154876b760d4f2b39967e9d — "wifi: mt76: mt7925: pass mlink 
to mac_link_sta_remove()"
  
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=9e4d518a4707175e1154876b760d4f2b39967e9d

I can confirm on a Framework Laptop 16 (Ryzen AI 7 350, MT7925) running
24.04 LTS with the linux-hwe-6.17 kernel (6.17.0-35-generic) that this
deadlock reproduces reliably on the stock kernel — captured kernel stack
traces match this report exactly (cfg80211_wiphy_work →
mt7925_mac_link_sta_remove → cancel_work_sync holding the mt76 mutex,
while mt7925_roc_work blocks on the same mutex;
NetworkManager/wpa_supplicant then wedge in D state and reboot hangs).
It is resolved by the patched DKMS build. The stock 6.17.0-35 changelog
does not yet include these commits.

Now that the upstream-acceptance gate is met for the deadlock fix: is
there a plan/timeline to SRU these two commits into the linux-hwe-6.17
(24.04 LTS) and linux 6.17 (25.10) kernels?

Separately, it's not clear what is happening with the NULL-pointer-
dereference fix (mt76_connac_mcu_uni_add_dev) and when it might land
upstream. Zac, any chance for reviving
https://lkml.org/lkml/2026/1/29/484 thread now that at least some
changes landed in mainline?

-- 
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