Description (CNA)
In the Linux kernel, the following vulnerability has been resolved: 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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected ace5d3b6b49e8391beb4d7244348ba7da5298878 before 2b10eb3636d0c4cb6b763e045ec1294dbd70f5ad; affected ace5d3b6b49e8391beb4d7244348ba7da5298878 before 8826d7a5e2dd727aa96456ccd58b33d2b080e935; affected ace5d3b6b49e8391beb4d7244348ba7da5298878 before 7e4208e9f6a876c2b7d28fdb6b86dff3b05db2f7 |
| Linux / Linux | affected 6.18; unaffected 0 before 6.18; unaffected 6.18.52 through 6.18.*; unaffected 7.2.6 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.