[lvc-project] [PATCH] wifi: rtw88: always wait for both firmware loading attempts
Ping-Ke Shih
pkshih at realtek.com
Fri Aug 2 04:31:55 MSK 2024
Dmitry Antipov <dmantipov at yandex.ru> wrote:
> 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 at syzkaller.appspotmail.com
> Closes: https://syzkaller.appspot.com/bug?extid=6c6c08700f9480c41fe3
> Signed-off-by: Dmitry Antipov <dmantipov at yandex.ru>
1 patch(es) applied to rtw-next branch of rtw.git, thanks.
0e735a4c6137 wifi: rtw88: always wait for both firmware loading attempts
---
https://github.com/pkshih/rtw.git
More information about the lvc-project
mailing list