diff options
author | Dmitry Antipov <dmantipov@yandex.ru> | 2024-07-26 14:46:57 +0300 |
---|---|---|
committer | Ping-Ke Shih <pkshih@realtek.com> | 2024-08-02 09:31:12 +0800 |
commit | 0e735a4c6137262bcefe45bb52fde7b1f5fc6c4d (patch) | |
tree | 82745db184b6d418a75afac15922c7159211d4a7 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 27d90ad37771ab4af5ae2bf531321497984053b7 (diff) |
wifi: rtw88: always wait for both firmware loading attempts
In 'rtw_wait_firmware_completion()', always wait for both (regular and
wowlan) firmware loading attempts. Otherwise if 'rtw_usb_intf_init()'
has failed in 'rtw_usb_probe()', 'rtw_usb_disconnect()' may issue
'ieee80211_free_hw()' when one of 'rtw_load_firmware_cb()' (usually
the wowlan one) is still in progress, causing UAF detected by KASAN.
Fixes: c8e5695eae99 ("rtw88: load wowlan firmware if wowlan is supported")
Reported-by: syzbot+6c6c08700f9480c41fe3@syzkaller.appspotmail.com
Closes: https://syzkaller.appspot.com/bug?extid=6c6c08700f9480c41fe3
Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Link: https://patch.msgid.link/20240726114657.25396-1-dmantipov@yandex.ru
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions