wifi: mt76: mt7996: free vif links after clearing wcid entries on full reset
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 6.18.52, 7.2.6
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From ace5d3b6b49e8391beb4d7244348ba7da5298878 · fixed in 2b10eb3636d0c4cb6b763e045ec1294dbd70f5ad; From ace5d3b6b49e8391beb4d7244348ba7da5298878 · fixed in 8826d7a5e2dd727aa96456ccd58b33d2b080e935; From ace5d3b6b49e8391beb4d7244348ba7da5298878 · fixed in 7e4208e9f6a876c2b7d28fdb6b86dff3b05db2f7
- Linux Linux
6.18
- KernelLinux
From 6.18.0 · fixed in 6.18.52; From 6.19.0 · fixed in 7.2.6