wifi: mac80211_hwsim: don't hand frames to mac80211 while stopping
- 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.1.189, 6.6.158, 6.12.112, 6.18.54, 7.2.8
- 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: mac80211_hwsim: don't hand frames to mac80211 while stopping The code checks ->started for frames coming from wmediumd, but the radio can be stopped after the check and before frame delivery, causing mac80211 to hit the WARN_ON(!local->started). Expand the mutex for this case and synchronise against it when the radio is stopped to avoid being able to hit the warning with hwsim. Drop the error print that would've complicated the error path, it only triggers for allocation failures (already noisy) and malformed frames anyway.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 7882513bacb176ab4aacceefdd035ca9479da4fb · fixed in 5ce9b2bc9e73213e316a8c72400256a76bf41814; From 7882513bacb176ab4aacceefdd035ca9479da4fb · fixed in c4e4fe330294e3936e0f4e15d6996468f8a45fb2; From 7882513bacb176ab4aacceefdd035ca9479da4fb · fixed in 2f59be7585dc81baa6f36b0035dd6848ea43d318; From 7882513bacb176ab4aacceefdd035ca9479da4fb · fixed in 5c79ef616aa16af582fb2cb93b0f750975a0004f; From 7882513bacb176ab4aacceefdd035ca9479da4fb · fixed in d7fa45d8123a7f794b93fc22dbcf19f38dc4d8cb; From 7882513bacb176ab4aacceefdd035ca9479da4fb · fixed in 87840d4a3a21b1c19b867a80e16ba69dff284de2
- Linux Linux
3.1
- KernelLinux
From 3.1.0 · fixed in 6.1.189; From 6.2.0 · fixed in 6.6.158; From 6.7.0 · fixed in 6.12.112; From 6.13.0 · fixed in 6.18.54; From 6.19.0 · fixed in 7.2.8