syzbot


WARNING in cm109_urb_irq_callback/usb_submit_urb

Status: upstream: reported C repro on 2024/03/18 04:56
Bug presence: origin:upstream
[Documentation on labels]
Reported-by: syzbot+3a36eba60163258dde8d@syzkaller.appspotmail.com
First crash: 279d, last: 15h24m
Fix bisection: failed (error log, bisect log)
  
Bug presence (1)
Date Name Commit Repro Result
2024/04/28 upstream (ToT) 2c8159388952 C [report] WARNING in cm109_urb_irq_callback/usb_submit_urb
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in cm109_urb_irq_callback/usb_submit_urb origin:upstream C error 8 7d11h 275d 0/3 upstream: reported C repro on 2024/03/22 02:25
upstream WARNING in cm109_urb_irq_callback/usb_submit_urb usb input C unreliable 808 11h25m 1453d 0/28 upstream: reported C repro on 2020/12/30 03:58
Fix bisection attempts (4)
Created Duration User Patch Repo Result
2024/10/14 23:06 0m bisect fix linux-6.1.y error job log
2024/08/29 01:31 2h02m bisect fix linux-6.1.y OK (0) job log log
2024/07/08 05:10 1h38m bisect fix linux-6.1.y OK (0) job log log
2024/05/31 01:40 2h15m bisect fix linux-6.1.y OK (0) job log log

Sample crash report:
cm109 1-1:0.8: cm109_urb_irq_callback: urb status -71
------------[ cut here ]------------
URB ffff888018244600 submitted while active
WARNING: CPU: 0 PID: 155 at drivers/usb/core/urb.c:379 usb_submit_urb+0x10b1/0x1990 drivers/usb/core/urb.c:379
Modules linked in:
CPU: 0 PID: 155 Comm: kworker/0:2 Not tainted 6.1.85-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
Workqueue: usb_hub_wq hub_event
RIP: 0010:usb_submit_urb+0x10b1/0x1990 drivers/usb/core/urb.c:379
Code: 54 24 fb eb 4d e8 0f 54 24 fb e9 fc ef ff ff e8 05 54 24 fb c6 05 7c 37 f9 07 01 48 c7 c7 c0 1c 8a 8b 4c 89 ee e8 1f 49 ec fa <0f> 0b e9 c7 ef ff ff e8 e3 53 24 fb eb 1a e8 dc 53 24 fb eb 13 e8
RSP: 0018:ffffc90000007718 EFLAGS: 00010046
RAX: 63cdd8ff760bb700 RBX: ffff88807dbce048 RCX: ffff888016398000
RDX: 0000000000000102 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffff888018244608 R08: ffffffff81528eae R09: ffffed1017304f1c
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff888018244600 R14: 0000000000000a20 R15: ffff888022675b91
FS:  0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f4cb3875b38 CR3: 0000000075f8c000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 cm109_urb_irq_callback+0x6c4/0xc20 drivers/input/misc/cm109.c:422
 __usb_hcd_giveback_urb+0x371/0x530 drivers/usb/core/hcd.c:1675
 dummy_timer+0x8ad/0x3200 drivers/usb/gadget/udc/dummy_hcd.c:1988
 call_timer_fn+0x1ad/0x6b0 kernel/time/timer.c:1504
 expire_timers kernel/time/timer.c:1549 [inline]
 __run_timers+0x67c/0x890 kernel/time/timer.c:1820
 run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1833
 __do_softirq+0x2e9/0xa4c kernel/softirq.c:571
 invoke_softirq kernel/softirq.c:445 [inline]
 __irq_exit_rcu+0x155/0x240 kernel/softirq.c:650
 irq_exit_rcu+0x5/0x20 kernel/softirq.c:662
 sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1106
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:653
RIP: 0010:console_emit_next_record+0xd67/0x1000 kernel/printk/printk.c:2786
Code: 32 1c 00 44 0f b6 74 24 1f 48 83 7c 24 30 00 75 07 e8 0d 32 1c 00 eb 06 e8 06 32 1c 00 fb 48 c7 84 24 a0 00 00 00 0e 36 e0 45 <43> c7 04 2c 00 00 00 00 4b c7 44 2c 0a 00 00 00 00 4b c7 44 2c 12
RSP: 0018:ffffc90002e0f0a0 EFLAGS: 00000293
RAX: ffffffff816e64ea RBX: ffffffff816e622c RCX: ffff888016398000
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000
RBP: ffffc90002e0f350 R08: ffffffff816e64c2 R09: fffffbfff2093045
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: 1ffff920005c1e28 R14: 0000000000000001 R15: 0000000000000000
 console_unlock+0x278/0x7c0 kernel/printk/printk.c:2906
 vprintk_emit+0x523/0x740 kernel/printk/printk.c:2303
 dev_vprintk_emit+0x2aa/0x323 drivers/base/core.c:4922
 dev_printk_emit+0xd9/0x118 drivers/base/core.c:4933
 _dev_info+0x11e/0x165 drivers/base/core.c:4991
 usb_disconnect+0xde/0x8c0 drivers/usb/core/hub.c:2251
 hub_port_connect drivers/usb/core/hub.c:5309 [inline]
 hub_port_connect_change drivers/usb/core/hub.c:5605 [inline]
 port_event drivers/usb/core/hub.c:5761 [inline]
 hub_event+0x1f78/0x5730 drivers/usb/core/hub.c:5843
 process_one_work+0x8a9/0x11d0 kernel/workqueue.c:2292
 worker_thread+0xa47/0x1200 kernel/workqueue.c:2439
 kthread+0x28d/0x320 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
 </TASK>
----------------
Code disassembly (best guess):
   0:	32 1c 00             	xor    (%rax,%rax,1),%bl
   3:	44 0f b6 74 24 1f    	movzbl 0x1f(%rsp),%r14d
   9:	48 83 7c 24 30 00    	cmpq   $0x0,0x30(%rsp)
   f:	75 07                	jne    0x18
  11:	e8 0d 32 1c 00       	call   0x1c3223
  16:	eb 06                	jmp    0x1e
  18:	e8 06 32 1c 00       	call   0x1c3223
  1d:	fb                   	sti
  1e:	48 c7 84 24 a0 00 00 	movq   $0x45e0360e,0xa0(%rsp)
  25:	00 0e 36 e0 45
* 2a:	43 c7 04 2c 00 00 00 	movl   $0x0,(%r12,%r13,1) <-- trapping instruction
  31:	00
  32:	4b c7 44 2c 0a 00 00 	movq   $0x0,0xa(%r12,%r13,1)
  39:	00 00
  3b:	4b                   	rex.WXB
  3c:	c7                   	.byte 0xc7
  3d:	44 2c 12             	rex.R sub $0x12,%al

Crashes (13):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/04/11 22:03 linux-6.1.y bf1e3b1cb1e0 95ed9ece .config console log report syz C [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in cm109_urb_irq_callback/usb_submit_urb
2024/12/22 01:20 linux-6.1.y 29f02ec58a94 d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in cm109_urb_irq_callback/usb_submit_urb
2024/12/22 01:20 linux-6.1.y 29f02ec58a94 d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in cm109_urb_irq_callback/usb_submit_urb
2024/12/21 11:56 linux-6.1.y 29f02ec58a94 d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in cm109_urb_irq_callback/usb_submit_urb
2024/12/21 11:53 linux-6.1.y 29f02ec58a94 d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in cm109_urb_irq_callback/usb_submit_urb
2024/10/17 15:10 linux-6.1.y 54d90d17e8ce 666f77ed .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in cm109_urb_irq_callback/usb_submit_urb
2024/07/20 10:04 linux-6.1.y 9b3f9a5b12dc b88348e9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in cm109_urb_irq_callback/usb_submit_urb
2024/04/26 17:37 linux-6.1.y 6741e066ec76 059e9963 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in cm109_urb_irq_callback/usb_submit_urb
2024/04/15 11:33 linux-6.1.y cd5d98c0556c c8349e48 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in cm109_urb_irq_callback/usb_submit_urb
2024/04/11 21:23 linux-6.1.y bf1e3b1cb1e0 95ed9ece .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in cm109_urb_irq_callback/usb_submit_urb
2024/03/18 04:55 linux-6.1.y d7543167affd d615901c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan WARNING in cm109_urb_irq_callback/usb_submit_urb
2024/12/22 00:34 linux-6.1.y 29f02ec58a94 d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in cm109_urb_irq_callback/usb_submit_urb
2024/12/22 00:31 linux-6.1.y 29f02ec58a94 d7f584ee .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-1-kasan-arm64 WARNING in cm109_urb_irq_callback/usb_submit_urb
* Struck through repros no longer work on HEAD.