Re: [syzbot] [usb] INFO: rcu detected stall in newfstatat (3)

From: Hillf Danton
Date: Thu Mar 07 2024 - 05:49:25 EST


On Thu, 07 Mar 2024 01:22:01 -0800
> syzbot has bisected this issue to:
>
> commit c2368b19807affd7621f7c4638cd2e17fec13021
> Author: Jiri Pirko <jiri@xxxxxxxxxx>
> Date: Fri Jul 29 07:10:35 2022 +0000
>
> net: devlink: introduce "unregistering" mark and use it during devlinks iteration
>
> bisection log: https://syzkaller.appspot.com/x/bisect.txt?x=14dc6736180000
> start commit: 29cd507cbec2 Merge tag 'integrity-v6.8-fix' of git://git.k..
> git tree: upstream
> C reproducer: https://syzkaller.appspot.com/x/repro.c?x=15f691a6180000

#syz test https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master

--- x/drivers/media/rc/imon.c
+++ y/drivers/media/rc/imon.c
@@ -1758,6 +1758,7 @@ static void usb_rx_callback_intf0(struct

switch (urb->status) {
case -ENOENT: /* usbcore unlink successful! */
+ case -EPROTO:
return;

case -ESHUTDOWN: /* transport endpoint was shut down */
--