Re: [syzbot] INFO: task hung in sisusb_open

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 22.10.21 17:10, syzbot wrote:
> syzbot has found a reproducer for the following issue on:
>
> HEAD commit:    2f111a6fd5b5 Merge tag 'ceph-for-5.15-rc7' of git://github..
> git tree:       upstream
> console output: https://syzkaller.appspot.com/x/log.txt?x=15a3aaf0b00000
> kernel config:  https://syzkaller.appspot.com/x/.config?x=61f4d9af07d3bbdf
> dashboard link: https://syzkaller.appspot.com/bug?extid=fd9d03311cdce9a9ec36
> compiler:       gcc (Debian 10.2.1-6) 10.2.1 20210110, GNU ld (GNU Binutils for Debian) 2.35.2
> syz repro:      https://syzkaller.appspot.com/x/repro.syz?x=13d4e9fcb00000
> C reproducer:   https://syzkaller.appspot.com/x/repro.c?x=1444ada4b00000


#syz test https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git  2f111a6fd5b5


diff --git a/drivers/usb/misc/sisusbvga/sisusb.c b/drivers/usb/misc/sisusbvga/sisusb.c
index f08de33d9ff3..de30fb85ceda 100644
--- a/drivers/usb/misc/sisusbvga/sisusb.c
+++ b/drivers/usb/misc/sisusbvga/sisusb.c
@@ -251,7 +251,8 @@ static int sisusb_bulkout_msg(struct sisusb_usb_data *sisusb, int index,
 			retval = urb->status;
 			byteswritten = urb->actual_length;
 		}
-	}
+	} else if (timeout == 0)
+		printk(KERN_ERR"Message without timeout\n");
 
 	if (actual_length)
 		*actual_length = byteswritten;

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux