diff options
| author | 2026-07-24 12:48:09 +0000 | |
|---|---|---|
| committer | 2026-08-01 14:49:42 +0000 | |
| commit | 7e4208e9f6a876c2b7d28fdb6b86dff3b05db2f7 (patch) | |
| tree | f98028413199d7a8525b3b2529c461a1a28cf27a /scripts/Makefile.thinlto | |
| parent | wifi: mt76: mt7915: trigger L1 SER on PLE MDP RIOC hang (diff) | |
wifi: mt76: mt7996: free vif links after clearing wcid entries on full reset
mt7996_mac_reset_vif_iter() queues non-default vif links for kfree_rcu
while dev->wcid[] still holds pointers to the wcid embedded in each
freed link; mt76_reset_device() then dereferences those entries and
runs mt76_wcid_cleanup() on them. If a grace period elapses in between,
the cleanup operates on freed memory.
Run mt76_reset_device() first, so the wcid entries are cleaned up and
cleared while the links are still valid.
Fixes: ace5d3b6b49e ("wifi: mt76: mt7996: improve hardware restart reliability")
Link: https://patch.msgid.link/20260724124813.3961474-25-nbd@nbd.name
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
