[PATCH 1/1] add wake_up call inside if_usb_disconnect

0 views
Skip to first unread message

Jakov Novak

unread,
4:56 PM (4 hours ago) 4:56 PM
to syzbot+c99d17...@syzkaller.appspotmail.com, syzkall...@googlegroups.com, Jakov Novak
#syz test

---
drivers/net/wireless/marvell/libertas/if_usb.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/net/wireless/marvell/libertas/if_usb.c b/drivers/net/wireless/marvell/libertas/if_usb.c
index 8a6bf1365cfa..245c902a7e42 100644
--- a/drivers/net/wireless/marvell/libertas/if_usb.c
+++ b/drivers/net/wireless/marvell/libertas/if_usb.c
@@ -310,6 +310,7 @@ static void if_usb_disconnect(struct usb_interface *intf)
struct lbs_private *priv = cardp->priv;

cardp->surprise_removed = 1;
+ wake_up(&cardp->fw_wq);

if (priv) {
lbs_stop_card(priv);
--
2.53.0

syzbot

unread,
5:15 PM (4 hours ago) 5:15 PM
to jakovn...@gmail.com, linux-...@vger.kernel.org, syzkall...@googlegroups.com
Hello,

syzbot has tested the proposed patch and the reproducer did not trigger any issue:

Reported-by: syzbot+c99d17...@syzkaller.appspotmail.com
Tested-by: syzbot+c99d17...@syzkaller.appspotmail.com

Tested on:

commit: cd1be4b2 Merge tag 'thunderbolt-for-v7.1-rc1' of ssh:/..
git tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing
console output: https://syzkaller.appspot.com/x/log.txt?x=15c55eba580000
kernel config: https://syzkaller.appspot.com/x/.config?x=dd0e4d4150f9f1da
dashboard link: https://syzkaller.appspot.com/bug?extid=c99d17aa44dbdba16ad2
compiler: gcc (Debian 14.2.0-19) 14.2.0, GNU ld (GNU Binutils for Debian) 2.44
patch: https://syzkaller.appspot.com/x/patch.diff?x=1018fbd6580000

Note: testing is done by a robot and is best-effort only.
Reply all
Reply to author
Forward
0 new messages