[Xenial] Kernels OOPS when mwifiex is in AP mode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Undecided
|
Jesse Sung | ||
Xenial |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
There's quite a chance to find kernel oops when mwifiex is in AP mode. Previously two workaround commits were added in the Xenial kernel, 8a034f97a28dba6
Now that a fix has been merged in mainline, it's time to revert the workaround and apply the fix:
commit c61cfe49f0f0f0d
Author: Limin Zhu <email address hidden>
Date: Thu Nov 30 14:22:34 2017 +0800
mwifiex: cfg80211: do not change virtual interface during scan processing
(1) Change virtual interface operation in cfg80211 process reset and
reinitilize private data structure.
(2) Scan result event processed in main process will dereference private
data structure concurrently, ocassionly crash the kernel.
The cornel case could be trigger by below steps:
(1) wpa_cli mlan0 scan
(2) ./hostapd mlan0.conf
Cfg80211 asynchronous scan procedure is not all the time operated
under rtnl lock, here we add the protect to serialize the cfg80211
scan and change_virtual interface operation.
Signed-off-by: Limin Zhu <email address hidden>
Signed-off-by: Xinming Hu <email address hidden>
Signed-off-by: Kalle Valo <email address hidden>
no longer affects: | linux (Ubuntu Bionic) |
Changed in linux (Ubuntu Xenial): | |
status: | New → Fix Committed |
tags: |
added: verification-done-xenial removed: verification-needed-xenial |
Changed in linux (Ubuntu): | |
status: | In Progress → Fix Released |
This fix has been merged in bionic/master via the stable update 4.15.11 so only Xenial is affected.