cm109 13-1:0.8: cm109_urb_irq_callback: urb status -71 ------------[ cut here ]------------ URB ffff88802b35d700 submitted while active WARNING: CPU: 3 PID: 15366 at drivers/usb/core/urb.c:380 usb_submit_urb+0x16f5/0x1990 drivers/usb/core/urb.c:380 Modules linked in: CPU: 3 UID: 0 PID: 15366 Comm: syz.8.2797 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2~bpo12+1 04/01/2014 RIP: 0010:usb_submit_urb+0x16f5/0x1990 drivers/usb/core/urb.c:380 Code: ff ff ff bb fe ff ff ff e9 c9 f1 ff ff e8 c3 00 b5 fa c6 05 1e c4 62 09 01 90 48 c7 c7 a0 16 50 8c 48 89 de e8 0c 34 73 fa 90 <0f> 0b 90 90 e9 a6 fe ff ff bb f8 ff ff ff e9 99 f1 ff ff c7 44 24 RSP: 0018:ffffc900006f8a90 EFLAGS: 00010082 RAX: 0000000000000000 RBX: ffff88802b35d700 RCX: ffffffff817b1cd8 RDX: ffff888036972480 RSI: ffffffff817b1ce5 RDI: 0000000000000001 RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: 0000000000000001 R13: ffff888000db8857 R14: ffff888103aa83c0 R15: 000000000000000f FS: 000055556b3e4500(0000) GS:ffff8880d6d05000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f1745b98d58 CR3: 0000000127a87000 CR4: 0000000000352ef0 Call Trace: cm109_submit_ctl drivers/input/misc/cm109.c:380 [inline] cm109_urb_irq_callback+0x2ed/0xb80 drivers/input/misc/cm109.c:431 __usb_hcd_giveback_urb+0x38b/0x610 drivers/usb/core/hcd.c:1661 usb_hcd_giveback_urb+0x39b/0x450 drivers/usb/core/hcd.c:1745 dummy_timer+0x1809/0x3a00 drivers/usb/gadget/udc/dummy_hcd.c:1995 __run_hrtimer kernel/time/hrtimer.c:1777 [inline] __hrtimer_run_queues+0x202/0xad0 kernel/time/hrtimer.c:1841 hrtimer_run_softirq+0x17d/0x350 kernel/time/hrtimer.c:1858 handle_softirqs+0x219/0x8e0 kernel/softirq.c:622 __do_softirq kernel/softirq.c:656 [inline] invoke_softirq kernel/softirq.c:496 [inline] __irq_exit_rcu+0x109/0x170 kernel/softirq.c:723 irq_exit_rcu+0x9/0x30 kernel/softirq.c:739 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1052 [inline] sysvec_apic_timer_interrupt+0xa4/0xc0 arch/x86/kernel/apic/apic.c:1052 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:697 RIP: 0010:kasan_byte_accessible+0x18/0x30 mm/kasan/generic.c:212 Code: 1f 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 0f 1f 40 d6 48 b8 00 00 00 00 00 fc ff df 48 c1 ef 03 48 01 c7 0f b6 07 <3c> 07 0f 96 c0 e9 ce 61 3e 09 66 66 2e 0f 1f 84 00 00 00 00 00 0f RSP: 0018:ffffc90002837ad8 EFLAGS: 00000286 RAX: 0000000000000000 RBX: ffffffff8e58b2e0 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8216764a RDI: fffffbfff1cb165c RBP: ffffffff8e58b2e0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000001 R12: ffffffff8216764a R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 __kasan_check_byte+0x13/0x50 mm/kasan/common.c:579 kasan_check_byte include/linux/kasan.h:401 [inline] lock_acquire kernel/locking/lockdep.c:5842 [inline] lock_acquire+0xfc/0x350 kernel/locking/lockdep.c:5825 fs_reclaim_acquire mm/page_alloc.c:4281 [inline] fs_reclaim_acquire+0xca/0x150 mm/page_alloc.c:4272 might_alloc include/linux/sched/mm.h:318 [inline] slab_pre_alloc_hook mm/slub.c:4929 [inline] slab_alloc_node mm/slub.c:5264 [inline] __kmalloc_cache_noprof+0x58/0x780 mm/slub.c:5766 kmalloc_noprof include/linux/slab.h:957 [inline] kzalloc_noprof include/linux/slab.h:1094 [inline] kobject_uevent_env+0x265/0x1870 lib/kobject_uevent.c:540 device_remove+0xcb/0x170 drivers/base/dd.c:569 __device_release_driver drivers/base/dd.c:1274 [inline] device_release_driver_internal+0x44b/0x620 drivers/base/dd.c:1297 driver_detach+0xd8/0x1b0 drivers/base/dd.c:1360 bus_remove_driver+0x13b/0x2c0 drivers/base/bus.c:747 driver_unregister+0x76/0xb0 drivers/base/driver.c:277 usb_gadget_unregister_driver+0x49/0x70 drivers/usb/gadget/udc/core.c:1751 raw_release+0x1ae/0x2b0 drivers/usb/gadget/legacy/raw_gadget.c:462 __fput+0x402/0xb70 fs/file_table.c:468 task_work_run+0x150/0x240 kernel/task_work.c:227 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline] exit_to_user_mode_loop+0xec/0x130 kernel/entry/common.c:43 exit_to_user_mode_prepare include/linux/irq-entry-common.h:225 [inline] syscall_exit_to_user_mode_work include/linux/entry-common.h:175 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:210 [inline] do_syscall_64+0x426/0xfa0 arch/x86/entry/syscall_64.c:100 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f1744d8f7c9 Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 a8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007ffd7483bfd8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00000000000370e0 RCX: 00007f1744d8f7c9 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 00007f1744fe7da0 R08: 0000000000000001 R09: 0000001e7483c2cf R10: 0000001b2ed20000 R11: 0000000000000246 R12: 00007f1744fe5fac R13: 00007f1744fe5fa0 R14: ffffffffffffffff R15: 00007ffd7483c0f0 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: 00 90 90 90 90 90 add %dl,-0x6f6f6f70(%rax) 6: 90 nop 7: 90 nop 8: 90 nop 9: 90 nop a: 90 nop b: 90 nop c: 90 nop d: 90 nop e: 90 nop f: 90 nop 10: 90 nop 11: 0f 1f 40 d6 nopl -0x2a(%rax) 15: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 1c: fc ff df 1f: 48 c1 ef 03 shr $0x3,%rdi 23: 48 01 c7 add %rax,%rdi 26: 0f b6 07 movzbl (%rdi),%eax * 29: 3c 07 cmp $0x7,%al <-- trapping instruction 2b: 0f 96 c0 setbe %al 2e: e9 ce 61 3e 09 jmp 0x93e6201 33: 66 66 2e 0f 1f 84 00 data16 cs nopw 0x0(%rax,%rax,1) 3a: 00 00 00 00 3e: 0f .byte 0xf