bisecting fixing commit since 44db63d1ad8d71c6932cbe007eb41f31c434d140
building syzkaller on ae6bf8ddebd14f2e21c155c0bdf555b92d3eaf7a
testing commit 44db63d1ad8d71c6932cbe007eb41f31c434d140
compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2
kernel signature: f7c64d8663fc43e6808ced9de402094d673ea0d63f84b5fb8b5d6613a4803bb0
all runs: crashed: WARNING in cm109_urb_irq_callback/usb_submit_urb
testing current HEAD c741e49150dbb0c0aebe234389f4aa8b47958fa8
testing commit c741e49150dbb0c0aebe234389f4aa8b47958fa8
compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2
kernel signature: 6c9d863efae5dd655e22218d9dfe2ae3d78f7e7ecccc044009af1d46df1116bf
all runs: crashed: WARNING in cm109_urb_irq_callback/usb_submit_urb
revisions tested: 2, total time: 19m28.30637998s (build: 12m32.025501214s, test: 6m20.795683745s)
the crash still happens on HEAD
commit msg: Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma
crash: WARNING in cm109_urb_irq_callback/usb_submit_urb
cm109 5-1:0.0: cm109_urb_irq_callback: urb status -71
------------[ cut here ]------------
URB 00000000b5d9a98e submitted while active
WARNING: CPU: 0 PID: 7 at drivers/usb/core/urb.c:378 usb_submit_urb+0x1057/0x1680 drivers/usb/core/urb.c:378
Modules linked in:
CPU: 0 PID: 7 Comm: kworker/0:1 Not tainted 5.16.0-rc4-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+0x1057/0x1680 drivers/usb/core/urb.c:378
Code: 3d 54 ed 7a 07 00 b8 f0 ff ff ff 0f 85 f7 fb ff ff 48 89 ee 48 c7 c7 80 8a 62 89 89 04 24 c6 05 35 ed 7a 07 01 e8 d6 8b 44 03 <0f> 0b 8b 04 24 e9 d4 fb ff ff b8 ed ff ff ff e9 ca fb ff ff 66 90
RSP: 0018:ffffc90000007a38 EFLAGS: 00010086
RAX: 0000000000000000 RBX: ffff8880640f0800 RCX: 0000000000000000
RDX: 0000000000000103 RSI: 0000000000000004 RDI: fffff52000000f39
RBP: ffff888147b6c300 R08: 0000000000000001 R09: ffff8880b9e27aab
R10: ffffed10173c4f55 R11: 0000000000000007 R12: ffff8880740b8848
R13: 0000000000000086 R14: 000000000000000f R15: ffff88807c2ef200
FS: 0000000000000000(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000055eb509960a8 CR3: 0000000074124000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
cm109_urb_irq_callback+0x5de/0x970 drivers/input/misc/cm109.c:422
__usb_hcd_giveback_urb+0x238/0x3f0 drivers/usb/core/hcd.c:1656
dummy_timer+0xeb8/0x2eb0 drivers/usb/gadget/udc/dummy_hcd.c:1987
call_timer_fn+0x163/0x4a0 kernel/time/timer.c:1421
expire_timers kernel/time/timer.c:1466 [inline]
__run_timers.part.0+0x524/0x890 kernel/time/timer.c:1734
__run_timers kernel/time/timer.c:1715 [inline]
run_timer_softirq+0x9c/0x190 kernel/time/timer.c:1747
__do_softirq+0x29b/0x9c2 kernel/softirq.c:558
invoke_softirq kernel/softirq.c:432 [inline]
__irq_exit_rcu+0x123/0x180 kernel/softirq.c:637
irq_exit_rcu+0x5/0x20 kernel/softirq.c:649
sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1097
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:console_unlock+0x4df/0x870 kernel/printk/printk.c:2716
Code: 77 2a fe ff e8 a2 29 00 00 48 83 3c 24 00 0f 85 e0 01 00 00 9c 58 f6 c4 02 0f 85 d3 02 00 00 48 83 3c 24 00 74 01 fb 45 85 e4 <0f> 85 27 02 00 00 8b 54 24 30 85 d2 0f 84 70 fc ff ff 31 d2 be a0
RSP: 0018:ffffc90000cc7618 EFLAGS: 00000246
RAX: 0000000000000006 RBX: dffffc0000000000 RCX: 1ffffffff1dcd216
RDX: 0000000000000000 RSI: ffffffff88cb54a0 RDI: ffffffff892161a0
RBP: ffffc90000cc7670 R08: 0000000000000001 R09: ffffffff8ee68947
R10: 0000000000000001 R11: 3a312d3520627375 R12: 0000000000000000
R13: ffffffff8b7edae8 R14: ffffffff8b7edab0 R15: 0000000000000000
vprintk_emit+0x99/0x2f0 kernel/printk/printk.c:2245
dev_vprintk_emit+0x2c9/0x30d drivers/base/core.c:4594
dev_printk_emit+0x9d/0xce drivers/base/core.c:4605
_dev_info+0xc8/0xf6 drivers/base/core.c:4663
usb_disconnect.cold+0x2e/0x67e drivers/usb/core/hub.c:2207
hub_port_connect drivers/usb/core/hub.c:5197 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5497 [inline]
port_event drivers/usb/core/hub.c:5643 [inline]
hub_event+0xb1f/0x3830 drivers/usb/core/hub.c:5725
process_one_work+0x87f/0x1450 kernel/workqueue.c:2298
worker_thread+0x598/0x1040 kernel/workqueue.c:2445
kthread+0x3ab/0x480 kernel/kthread.c:327
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
----------------
Code disassembly (best guess), 4 bytes skipped:
0: e8 a2 29 00 00 callq 0x29a7
5: 48 83 3c 24 00 cmpq $0x0,(%rsp)
a: 0f 85 e0 01 00 00 jne 0x1f0
10: 9c pushfq
11: 58 pop %rax
12: f6 c4 02 test $0x2,%ah
15: 0f 85 d3 02 00 00 jne 0x2ee
1b: 48 83 3c 24 00 cmpq $0x0,(%rsp)
20: 74 01 je 0x23
22: fb sti
23: 45 85 e4 test %r12d,%r12d
* 26: 0f 85 27 02 00 00 jne 0x253 <-- trapping instruction
2c: 8b 54 24 30 mov 0x30(%rsp),%edx
30: 85 d2 test %edx,%edx
32: 0f 84 70 fc ff ff je 0xfffffca8
38: 31 d2 xor %edx,%edx
3a: be .byte 0xbe
3b: a0 .byte 0xa0