Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| Linux / Linux | affected 7882513bacb176ab4aacceefdd035ca9479da4fb before 5ce9b2bc9e73213e316a8c72400256a76bf41814; affected 7882513bacb176ab4aacceefdd035ca9479da4fb before c4e4fe330294e3936e0f4e15d6996468f8a45fb2; affected 7882513bacb176ab4aacceefdd035ca9479da4fb before 2f59be7585dc81baa6f36b0035dd6848ea43d318; affected 7882513bacb176ab4aacceefdd035ca9479da4fb before 5c79ef616aa16af582fb2cb93b0f750975a0004f; affected 7882513bacb176ab4aacceefdd035ca9479da4fb before d7fa45d8123a7f794b93fc22dbcf19f38dc4d8cb; affected 7882513bacb176ab4aacceefdd035ca9479da4fb before 87840d4a3a21b1c19b867a80e16ba69dff284de2 |
| Linux / Linux | affected 3.1; unaffected 0 before 3.1; unaffected 6.1.189 through 6.1.*; unaffected 6.6.158 through 6.6.*; unaffected 6.12.112 through 6.12.*; unaffected 6.18.54 through 6.18.*; unaffected 7.2.8 through 7.2.*; unaffected 7.3 through * |
CWE
No CWE identifiers supplied.
References
- https://git.kernel.org/stable/c/5ce9b2bc9e73213e316a8c72400256a76bf41814
- https://git.kernel.org/stable/c/c4e4fe330294e3936e0f4e15d6996468f8a45fb2
- https://git.kernel.org/stable/c/2f59be7585dc81baa6f36b0035dd6848ea43d318
- https://git.kernel.org/stable/c/5c79ef616aa16af582fb2cb93b0f750975a0004f
- https://git.kernel.org/stable/c/d7fa45d8123a7f794b93fc22dbcf19f38dc4d8cb
- https://git.kernel.org/stable/c/87840d4a3a21b1c19b867a80e16ba69dff284de2