bisecting fixing commit since 3dbdb38e286903ec220aaf1fb29a8d94297da246 building syzkaller on 95793bce7d3eaa26fe814335010d7514e9da46fa testing commit 3dbdb38e286903ec220aaf1fb29a8d94297da246 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 98d85a40ffe74e8cadb1f97794fa55fd13e1eff134d8babcbdf8c9c47a10cb7a run #0: basic kernel testing failed: BUG: sleeping function called from invalid context in stack_depot_save run #1: crashed: WARNING in smsusb_start_streaming/usb_submit_urb run #2: crashed: WARNING in smsusb_start_streaming/usb_submit_urb run #3: crashed: WARNING in smsusb_start_streaming/usb_submit_urb run #4: crashed: WARNING in smsusb_start_streaming/usb_submit_urb run #5: crashed: WARNING in smsusb_start_streaming/usb_submit_urb run #6: crashed: WARNING in smsusb_start_streaming/usb_submit_urb run #7: crashed: WARNING in smsusb_start_streaming/usb_submit_urb run #8: crashed: WARNING in smsusb_start_streaming/usb_submit_urb run #9: crashed: WARNING in smsusb_start_streaming/usb_submit_urb run #10: crashed: WARNING in smsusb_start_streaming/usb_submit_urb run #11: crashed: WARNING in smsusb_start_streaming/usb_submit_urb run #12: crashed: WARNING in smsusb_start_streaming/usb_submit_urb run #13: crashed: WARNING in smsusb_start_streaming/usb_submit_urb run #14: crashed: WARNING in smsusb_start_streaming/usb_submit_urb run #15: crashed: WARNING in smsusb_start_streaming/usb_submit_urb run #16: crashed: WARNING in smsusb_start_streaming/usb_submit_urb run #17: crashed: WARNING in smsusb_start_streaming/usb_submit_urb run #18: crashed: WARNING in smsusb_start_streaming/usb_submit_urb run #19: crashed: WARNING in smsusb_start_streaming/usb_submit_urb testing current HEAD 1d1df41c5a33359a00e919d54eaebfb789711fdc testing commit 1d1df41c5a33359a00e919d54eaebfb789711fdc compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 0f299f71ec4e2a511575a4e205ff8936f3c2d3ccb6e0f9fe49cf47b3ffd910fc all runs: crashed: WARNING in smsusb_start_streaming/usb_submit_urb revisions tested: 2, total time: 23m9.973221376s (build: 15m55.140618926s, test: 6m30.555545324s) the crash still happens on HEAD commit msg: Merge tag 'f2fs-for-5.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs crash: WARNING in smsusb_start_streaming/usb_submit_urb smsusb:siano_media_device_register: media controller created ------------[ cut here ]------------ usb 3-1: BOGUS urb xfer, pipe 3 != type 1 WARNING: CPU: 1 PID: 3982 at drivers/usb/core/urb.c:502 usb_submit_urb+0xb07/0x1680 drivers/usb/core/urb.c:502 Modules linked in: CPU: 1 PID: 3982 Comm: kworker/1:5 Not tainted 5.16.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: usb_hub_wq hub_event RIP: 0010:usb_submit_urb+0xb07/0x1680 drivers/usb/core/urb.c:502 Code: 4c 24 18 89 4c 24 08 44 89 04 24 e8 23 64 1e ff 44 8b 04 24 4c 89 e2 48 c7 c7 80 1f 83 89 8b 4c 24 08 48 89 c6 e8 d8 c3 46 03 <0f> 0b 4c 8b 4c 24 18 e9 c0 fa ff ff 48 8d 7b 1c 48 ba 00 00 00 00 RSP: 0018:ffffc90002886e68 EFLAGS: 00010286 RAX: 0000000000000000 RBX: ffff88807d9c9000 RCX: 0000000000000000 RDX: 0000000000000001 RSI: ffffffff894177a0 RDI: fffff52000510dbf RBP: ffff8880798aa030 R08: 0000000000000001 R09: ffff8880b9f34187 R10: ffffed10173e6830 R11: 0000000000000001 R12: ffff88807c9f2cc0 R13: 000000000000008b R14: 0000000000000003 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b9f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fcbb93bb140 CR3: 000000007cd35000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: smsusb_submit_urb drivers/media/usb/siano/smsusb.c:173 [inline] smsusb_start_streaming+0x29e/0x2ef drivers/media/usb/siano/smsusb.c:195 smsusb_init_device+0x8a1/0x9ce drivers/media/usb/siano/smsusb.c:475 smsusb_probe+0xbfd/0xc95 drivers/media/usb/siano/smsusb.c:566 usb_probe_interface+0x274/0x6a0 drivers/usb/core/driver.c:396 call_driver_probe drivers/base/dd.c:517 [inline] really_probe+0x1c2/0xb60 drivers/base/dd.c:596 __driver_probe_device+0x2a6/0x460 drivers/base/dd.c:752 driver_probe_device+0x44/0x110 drivers/base/dd.c:782 __device_attach_driver+0x185/0x250 drivers/base/dd.c:899 bus_for_each_drv+0x11e/0x1a0 drivers/base/bus.c:427 __device_attach+0x1db/0x410 drivers/base/dd.c:970 bus_probe_device+0x19d/0x250 drivers/base/bus.c:487 device_add+0xa57/0x1b80 drivers/base/core.c:3405 usb_set_configuration+0xc91/0x1840 drivers/usb/core/message.c:2170 usb_generic_driver_probe+0x74/0xa0 drivers/usb/core/generic.c:238 usb_probe_device+0x95/0x240 drivers/usb/core/driver.c:293 call_driver_probe drivers/base/dd.c:517 [inline] really_probe+0x1c2/0xb60 drivers/base/dd.c:596 __driver_probe_device+0x2a6/0x460 drivers/base/dd.c:752 driver_probe_device+0x44/0x110 drivers/base/dd.c:782 __device_attach_driver+0x185/0x250 drivers/base/dd.c:899 bus_for_each_drv+0x11e/0x1a0 drivers/base/bus.c:427 __device_attach+0x1db/0x410 drivers/base/dd.c:970 bus_probe_device+0x19d/0x250 drivers/base/bus.c:487 device_add+0xa57/0x1b80 drivers/base/core.c:3405 usb_new_device.cold+0x5cf/0xee8 drivers/usb/core/hub.c:2566 hub_port_connect drivers/usb/core/hub.c:5358 [inline] hub_port_connect_change drivers/usb/core/hub.c:5502 [inline] port_event drivers/usb/core/hub.c:5660 [inline] hub_event+0x1ba2/0x3930 drivers/usb/core/hub.c:5742 process_one_work+0x879/0x1410 kernel/workqueue.c:2307 worker_thread+0x5a0/0xf60 kernel/workqueue.c:2454 kthread+0x299/0x340 kernel/kthread.c:359 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295