syzbot


WARNING in cm109_urb_irq_callback/usb_submit_urb

Status: upstream: reported C repro on 2025/06/21 15:53
Reported-by: syzbot+c10d84bda7c28bb6c753@syzkaller.appspotmail.com
First crash: 3d23h, last: 3d06h
Similar bugs (3)
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 71 1d03h 460d 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 2222 1h10m 1638d 0/29 upstream: reported C repro on 2020/12/30 03:58
linux-6.1 WARNING in cm109_urb_irq_callback/usb_submit_urb origin:upstream C error 60 8d01h 464d 0/3 upstream: reported C repro on 2024/03/18 04:56

Sample crash report:
cm109 1-1:0.8: cm109_urb_irq_callback: urb status -71
------------[ cut here ]------------
URB ffff88801abe5600 submitted while active
WARNING: CPU: 0 PID: 5769 at drivers/usb/core/urb.c:379 usb_submit_urb+0xf95/0x1850 drivers/usb/core/urb.c:379
Modules linked in:
CPU: 0 PID: 5769 Comm: syz-executor184 Not tainted 6.6.94-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
RIP: 0010:usb_submit_urb+0xf95/0x1850 drivers/usb/core/urb.c:379
Code: 04 00 00 eb 58 e8 7b fa 35 fb e9 1a f1 ff ff e8 71 fa 35 fb c6 05 9f c0 e4 07 01 48 c7 c7 80 b3 4a 8b 48 89 de e8 5b 5f 00 fb <0f> 0b e9 e5 f0 ff ff e8 4f fa 35 fb eb 11 e8 48 fa 35 fb bd 80 00
RSP: 0018:ffffc90000007860 EFLAGS: 00010046
RAX: 7a9d450822291100 RBX: ffff88801abe5600 RCX: ffff88802705da00
RDX: 0000000000000100 RSI: 0000000000000000 RDI: 0000000000000002
RBP: 000000000000000f R08: ffff8880b8e28c13 R09: 1ffff110171c5182
R10: dffffc0000000000 R11: ffffed10171c5183 R12: 1ffff110046bd10a
R13: dffffc0000000000 R14: ffff88801abe5608 R15: 0000000000000820
FS:  0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f12bdfc6b38 CR3: 000000000cb30000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <IRQ>
 cm109_urb_irq_callback+0x72c/0xc90 drivers/input/misc/cm109.c:422
 __usb_hcd_giveback_urb+0x35f/0x520 drivers/usb/core/hcd.c:1650
 dummy_timer+0x8a3/0x31b0 drivers/usb/gadget/udc/dummy_hcd.c:1993
 __run_hrtimer kernel/time/hrtimer.c:1755 [inline]
 __hrtimer_run_queues+0x51e/0xc40 kernel/time/hrtimer.c:1819
 hrtimer_run_softirq+0x187/0x2b0 kernel/time/hrtimer.c:1836
 handle_softirqs+0x280/0x820 kernel/softirq.c:578
 __do_softirq kernel/softirq.c:612 [inline]
 invoke_softirq kernel/softirq.c:452 [inline]
 __irq_exit_rcu+0xc7/0x190 kernel/softirq.c:661
 irq_exit_rcu+0x9/0x20 kernel/softirq.c:673
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1088 [inline]
 sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1088
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:687
RIP: 0010:__raw_spin_unlock_irqrestore include/linux/spinlock_api_smp.h:152 [inline]
RIP: 0010:_raw_spin_unlock_irqrestore+0xa9/0x110 kernel/locking/spinlock.c:194
Code: 74 05 e8 7a 26 1c f7 48 c7 44 24 20 00 00 00 00 9c 8f 44 24 20 f6 44 24 21 02 75 4b f7 c3 00 02 00 00 74 01 fb bf 01 00 00 00 <e8> 82 91 eb f6 65 8b 05 93 e7 93 75 85 c0 74 3c 48 c7 04 24 0e 36
RSP: 0018:ffffc900044bf880 EFLAGS: 00000206
RAX: 7a9d450822291100 RBX: 0000000000000a02 RCX: 7a9d450822291100
RDX: dffffc0000000000 RSI: ffffffff8aaab2c0 RDI: 0000000000000001
RBP: ffffc900044bf910 R08: ffffffff90d855ef R09: 1ffffffff21b0abd
R10: dffffc0000000000 R11: fffffbfff21b0abe R12: dffffc0000000000
R13: ffff8881427d2d00 R14: ffffffff8d8c4b40 R15: 1ffff92000897f10
 spin_unlock_irqrestore include/linux/spinlock.h:406 [inline]
 usb_hcd_poll_rh_status+0x3fd/0x600 drivers/usb/core/hcd.c:764
 dummy_pullup+0x198/0x200 drivers/usb/gadget/udc/dummy_hcd.c:927
 usb_gadget_disconnect_locked+0x13d/0x470 drivers/usb/gadget/udc/core.c:777
 gadget_unbind_driver+0xc4/0x420 drivers/usb/gadget/udc/core.c:1650
 device_remove drivers/base/dd.c:567 [inline]
 __device_release_driver drivers/base/dd.c:1272 [inline]
 device_release_driver_internal+0x468/0x7a0 drivers/base/dd.c:1295
 driver_detach+0x1f3/0x2d0 drivers/base/dd.c:1358
 bus_remove_driver+0x221/0x2f0 drivers/base/bus.c:744
 usb_gadget_unregister_driver+0x4e/0x70 drivers/usb/gadget/udc/core.c:1716
 raw_release+0xda/0x260 drivers/usb/gadget/legacy/raw_gadget.c:415
 __fput+0x234/0x970 fs/file_table.c:384
 task_work_run+0x1ce/0x250 kernel/task_work.c:239
 exit_task_work include/linux/task_work.h:43 [inline]
 do_exit+0x903/0x23c0 kernel/exit.c:874
 do_group_exit+0x21b/0x2d0 kernel/exit.c:1023
 __do_sys_exit_group kernel/exit.c:1034 [inline]
 __se_sys_exit_group kernel/exit.c:1032 [inline]
 __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1032
 do_syscall_x64 arch/x86/entry/common.c:51 [inline]
 do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f12bdf7c849
Code: Unable to access opcode bytes at 0x7f12bdf7c81f.
RSP: 002b:00007ffc4967b368 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007f12bdf7c849
RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000000
RBP: 00007f12bdff8390 R08: ffffffffffffffb8 R09: 0000000000000006
R10: 00007ffc4967b0d7 R11: 0000000000000246 R12: 00007f12bdff8390
R13: 0000000000000000 R14: 00007f12bdffc0a0 R15: 00007f12bdf4aae0
 </TASK>
----------------
Code disassembly (best guess):
   0:	74 05                	je     0x7
   2:	e8 7a 26 1c f7       	call   0xf71c2681
   7:	48 c7 44 24 20 00 00 	movq   $0x0,0x20(%rsp)
   e:	00 00
  10:	9c                   	pushf
  11:	8f 44 24 20          	pop    0x20(%rsp)
  15:	f6 44 24 21 02       	testb  $0x2,0x21(%rsp)
  1a:	75 4b                	jne    0x67
  1c:	f7 c3 00 02 00 00    	test   $0x200,%ebx
  22:	74 01                	je     0x25
  24:	fb                   	sti
  25:	bf 01 00 00 00       	mov    $0x1,%edi
* 2a:	e8 82 91 eb f6       	call   0xf6eb91b1 <-- trapping instruction
  2f:	65 8b 05 93 e7 93 75 	mov    %gs:0x7593e793(%rip),%eax        # 0x7593e7c9
  36:	85 c0                	test   %eax,%eax
  38:	74 3c                	je     0x76
  3a:	48                   	rex.W
  3b:	c7                   	.byte 0xc7
  3c:	04 24                	add    $0x24,%al
  3e:	0e                   	(bad)
  3f:	36                   	ss

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/06/22 08:26 linux-6.6.y 6282921b6825 d6cdfb8a .config console log report syz / log C [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in cm109_urb_irq_callback/usb_submit_urb
2025/06/21 15:53 linux-6.6.y 6282921b6825 d6cdfb8a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-6-6-kasan WARNING in cm109_urb_irq_callback/usb_submit_urb
* Struck through repros no longer work on HEAD.