bisecting fixing commit since 719fce7539cd3e186598e2aed36325fe892150cf
building syzkaller on 45a13a7381e60020d94d037d88a75727984b7a9a
testing commit 719fce7539cd3e186598e2aed36325fe892150cf
compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2
kernel signature: 02c94b085d7e9f585598c96a696e9e0dba0dbbe5490d3b00600f12d33b66d3b9
all runs: crashed: WARNING in cm109_urb_irq_callback/usb_submit_urb
testing current HEAD feb9c5e19e913b53cb536a7aa7c9f20107bb51ec
testing commit feb9c5e19e913b53cb536a7aa7c9f20107bb51ec
compiler: gcc (GCC) 10.2.1 20210217, GNU ld (GNU Binutils for Debian) 2.35.2
kernel signature: 36ee9952f7b59c0e23ff847e34844e7ae1d5bf82b48aea9e083e1232314a901b
all runs: crashed: WARNING in cm109_urb_irq_callback/usb_submit_urb
revisions tested: 2, total time: 30m39.694097939s (build: 11m43.74136463s, test: 18m20.759554951s)
the crash still happens on HEAD
commit msg: Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
crash: WARNING in cm109_urb_irq_callback/usb_submit_urb
cm109 1-1:0.0: cm109_urb_irq_callback: urb status -71
------------[ cut here ]------------
URB ffff88801506eb00 submitted while active
WARNING: CPU: 0 PID: 3595 at drivers/usb/core/urb.c:378 usb_submit_urb+0x1057/0x1680 drivers/usb/core/urb.c:378
Modules linked in:
CPU: 0 PID: 3595 Comm: kworker/0:3 Not tainted 5.18.0-rc6-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 74 4e 93 07 00 b8 f0 ff ff ff 0f 85 f7 fb ff ff 48 89 ee 48 c7 c7 20 40 83 89 89 04 24 c6 05 55 4e 93 07 01 e8 b1 08 4d 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: ffff88807040c800 RCX: 0000000000000000
RDX: 0000000000000103 RSI: 0000000000000004 RDI: fffff52000000f39
RBP: ffff88801506eb00 R08: 0000000000000001 R09: ffff8880b9e279eb
R10: ffffed10173c4f3d R11: 0000000000000001 R12: ffff88801d68a800
R13: 0000000000000086 R14: 000000000000000f R15: ffff88801b0fc800
FS: 0000000000000000(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fd53e0faff0 CR3: 000000001e7eb000 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:1670
dummy_timer+0xeb8/0x2eb0 drivers/usb/gadget/udc/dummy_hcd.c:1988
call_timer_fn+0x163/0x4a0 kernel/time/timer.c:1421
expire_timers kernel/time/timer.c:1466 [inline]
__run_timers.part.0+0x530/0x8e0 kernel/time/timer.c:1737
__run_timers kernel/time/timer.c:1715 [inline]
run_timer_softirq+0x9c/0x190 kernel/time/timer.c:1750
__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:645
RIP: 0010:console_unlock+0x5ee/0xa50 kernel/printk/printk.c:2779
Code: 58 1e fe ff e8 73 2b 00 00 48 83 3c 24 00 0f 85 69 02 00 00 9c 58 f6 c4 02 0f 85 5c 03 00 00 48 83 3c 24 00 74 01 fb 45 85 e4 <0f> 85 b0 02 00 00 49 c7 c4 e0 48 c2 8a be 04 00 00 00 48 c7 c7 e0
RSP: 0018:ffffc90002bcf628 EFLAGS: 00000246
RAX: 0000000000000006 RBX: dffffc0000000000 RCX: 1ffffffff1de360e
RDX: 0000000000000000 RSI: ffffffff88eb8160 RDI: ffffffff894225e0
RBP: ffffc90002bcf680 R08: 0000000000000001 R09: ffffffff8ef1a907
R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000000
R13: ffffffff8ba02c08 R14: ffffffff8ba02bd0 R15: 0000000000000000
vprintk_emit+0xa8/0x3c0 kernel/printk/printk.c:2272
dev_vprintk_emit+0x2c9/0x30d drivers/base/core.c:4604
dev_printk_emit+0x9d/0xce drivers/base/core.c:4615
_dev_info+0xc8/0xf6 drivers/base/core.c:4673
usb_disconnect.cold+0x25/0x61d drivers/usb/core/hub.c:2210
hub_port_connect drivers/usb/core/hub.c:5207 [inline]
hub_port_connect_change drivers/usb/core/hub.c:5507 [inline]
port_event drivers/usb/core/hub.c:5665 [inline]
hub_event+0xb46/0x39b0 drivers/usb/core/hub.c:5747
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:298
----------------
Code disassembly (best guess), 4 bytes skipped:
0: e8 73 2b 00 00 callq 0x2b78
5: 48 83 3c 24 00 cmpq $0x0,(%rsp)
a: 0f 85 69 02 00 00 jne 0x279
10: 9c pushfq
11: 58 pop %rax
12: f6 c4 02 test $0x2,%ah
15: 0f 85 5c 03 00 00 jne 0x377
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 b0 02 00 00 jne 0x2dc <-- trapping instruction
2c: 49 c7 c4 e0 48 c2 8a mov $0xffffffff8ac248e0,%r12
33: be 04 00 00 00 mov $0x4,%esi
38: 48 rex.W
39: c7 .byte 0xc7
3a: c7 (bad)
3b: e0 .byte 0xe0