bisecting fixing commit since 3f5ad13cb012939e1797ec9cdf43941c169216d2 building syzkaller on be2c130d4c0c511da96ce278486cf0564aeadcea testing commit 3f5ad13cb012939e1797ec9cdf43941c169216d2 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 7abe59d7e1c677fcbb052afdb5878be73587b277d347517453689dd69af1232a all runs: crashed: WARNING in carl9170_usb_submit_cmd_urb/usb_submit_urb testing current HEAD b13baccc3850ca8b8cccbf8ed9912dbaa0fdf7f3 testing commit b13baccc3850ca8b8cccbf8ed9912dbaa0fdf7f3 compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2 kernel signature: 1e0991e5b026fe0d22a02a26c61514d78418a267aa4f4b4b1258757ea7a23a93 all runs: crashed: WARNING in carl9170_usb_submit_cmd_urb/usb_submit_urb revisions tested: 2, total time: 20m2.913381427s (build: 12m38.398670426s, test: 6m38.159312279s) the crash still happens on HEAD commit msg: Linux 5.19-rc2 crash: WARNING in carl9170_usb_submit_cmd_urb/usb_submit_urb usb 1-1: SerialNumber: syz usb 1-1: reset high-speed USB device number 2 using dummy_hcd usb 1-1: Using ep0 maxpacket: 32 ------------[ cut here ]------------ usb 1-1: BOGUS urb xfer, pipe 1 != type 3 WARNING: CPU: 0 PID: 1138 at drivers/usb/core/urb.c:502 usb_submit_urb+0xb07/0x1680 drivers/usb/core/urb.c:502 Modules linked in: CPU: 0 PID: 1138 Comm: kworker/0:3 Not tainted 5.19.0-rc2-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 03 97 1a ff 44 8b 04 24 4c 89 e2 48 c7 c7 00 d5 85 89 8b 4c 24 08 48 89 c6 e8 d3 16 4f 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:ffffc90004d5ef30 EFLAGS: 00010282 RAX: 0000000000000000 RBX: ffff88801befb000 RCX: 0000000000000000 RDX: 0000000000000001 RSI: 0000000000000004 RDI: fffff520009abdd8 RBP: ffff888020f10700 R08: 0000000000000001 R09: ffff8880b9e2792b R10: ffffed10173c4f25 R11: 0000000000002000 R12: ffff888024f04b80 R13: 0000000000000002 R14: 0000000000000002 R15: 0000000000000001 FS: 0000000000000000(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000005680c0 CR3: 000000007a3fc000 CR4: 00000000003506f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: carl9170_usb_submit_cmd_urb+0x61/0xe0 drivers/net/wireless/ath/carl9170/usb.c:229 carl9170_usb_disconnect+0xc1/0xf0 drivers/net/wireless/ath/carl9170/usb.c:1116 usb_unbind_interface+0x183/0x7e0 drivers/usb/core/driver.c:458 __device_release_driver drivers/base/dd.c:1222 [inline] device_release_driver_internal+0x3bc/0x600 drivers/base/dd.c:1248 usb_driver_release_interface drivers/usb/core/driver.c:627 [inline] usb_forced_unbind_intf+0x129/0x1c0 drivers/usb/core/driver.c:1118 usb_reset_device+0x31d/0x850 drivers/usb/core/hub.c:6114 carl9170_usb_probe+0x43/0xd00 drivers/net/wireless/ath/carl9170/usb.c:1044 usb_probe_interface+0x274/0x6a0 drivers/usb/core/driver.c:396 call_driver_probe drivers/base/dd.c:555 [inline] really_probe+0x1c1/0xa40 drivers/base/dd.c:634 __driver_probe_device+0x2a6/0x460 drivers/base/dd.c:764 driver_probe_device+0x44/0x110 drivers/base/dd.c:794 __device_attach_driver+0x185/0x250 drivers/base/dd.c:917 bus_for_each_drv+0x11e/0x1a0 drivers/base/bus.c:427 __device_attach+0x19e/0x440 drivers/base/dd.c:989 bus_probe_device+0x19d/0x250 drivers/base/bus.c:487 device_add+0xa14/0x1b80 drivers/base/core.c:3417 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:555 [inline] really_probe+0x1c1/0xa40 drivers/base/dd.c:634 __driver_probe_device+0x2a6/0x460 drivers/base/dd.c:764 driver_probe_device+0x44/0x110 drivers/base/dd.c:794 __device_attach_driver+0x185/0x250 drivers/base/dd.c:917 bus_for_each_drv+0x11e/0x1a0 drivers/base/bus.c:427 __device_attach+0x19e/0x440 drivers/base/dd.c:989 bus_probe_device+0x19d/0x250 drivers/base/bus.c:487 device_add+0xa14/0x1b80 drivers/base/core.c:3417 usb_new_device.cold+0x5d1/0xeeb drivers/usb/core/hub.c:2566 hub_port_connect drivers/usb/core/hub.c:5363 [inline] hub_port_connect_change drivers/usb/core/hub.c:5507 [inline] port_event drivers/usb/core/hub.c:5663 [inline] hub_event+0x114d/0x39d0 drivers/usb/core/hub.c:5745 process_one_work+0x865/0x13d0 kernel/workqueue.c:2289 worker_thread+0x598/0xec0 kernel/workqueue.c:2436 kthread+0x299/0x340 kernel/kthread.c:376 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:302