WARNING: CPU: 0 PID: 2963 at drivers/usb/core/urb.c:378 usb_submit_urb+0x10b1/0x1990 drivers/usb/core/urb.c:378
Modules linked in:
CPU: 0 PID: 2963 Comm: udevd Not tainted 5.15.156-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/27/2024
RIP: 0010:usb_submit_urb+0x10b1/0x1990 drivers/usb/core/urb.c:378
Code: 9f 64 fb eb 4d e8 ff 9e 64 fb e9 fc ef ff ff e8 f5 9e 64 fb c6 05 10 4e b5 07 01 48 c7 c7 c0 92 22 8b 4c 89 ee e8 0f 47 30 fb <0f> 0b e9 c7 ef ff ff e8 d3 9e 64 fb eb 1a e8 cc 9e 64 fb eb 13 e8
RSP: 0018:ffffc90000007738 EFLAGS: 00010046
RAX: b51048cb41440a00 RBX: ffff888079029048 RCX: 0000000000040000
RDX: ffffc90001d59000 RSI: 00000000000079ec RDI: 00000000000079ed
RBP: ffff88801ad03d08 R08: ffffffff8166862c R09: ffffed1017344f24
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff88801ad03d00 R14: 0000000000000a20 R15: ffff8881427ee781
FS: 00007f13db603c80(0000) GS:ffff8880b9a00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000056259a75c000 CR3: 0000000019b37000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
cm109_urb_irq_callback+0x6c4/0xc20 drivers/input/misc/cm109.c:422
__usb_hcd_giveback_urb+0x371/0x530 drivers/usb/core/hcd.c:1674
dummy_timer+0x8ad/0x3200 drivers/usb/gadget/udc/dummy_hcd.c:1987
call_timer_fn+0x16d/0x560 kernel/time/timer.c:1451
expire_timers kernel/time/timer.c:1496 [inline]
__run_timers+0x67c/0x890 kernel/time/timer.c:1767
run_timer_softirq+0x63/0xf0 kernel/time/timer.c:1780
__do_softirq+0x3b3/0x93a kernel/softirq.c:558
invoke_softirq kernel/softirq.c:432 [inline]
__irq_exit_rcu+0x155/0x240 kernel/softirq.c:637
irq_exit_rcu+0x5/0x20 kernel/softirq.c:649
sysvec_apic_timer_interrupt+0x91/0xb0 arch/x86/kernel/apic/apic.c:1096
asm_sysvec_apic_timer_interrupt+0x16/0x20 arch/x86/include/asm/idtentry.h:638
RIP: 0010:__might_fault+0x8c/0x110 mm/memory.c:5327
Code: 89 f6 31 d2 e8 e5 66 9f ff 48 81 c3 10 05 00 00 48 89 dd 48 c1 ed 03 42 80 7c 25 00 00 74 08 48 89 df e8 f7 69 10 00 48 8b 3b <48> 85 ff 74 58 48 81 c7 28 01 00 00 31 f6 31 d2 b9 01 00 00 00 41
RSP: 0018:ffffc90002be7770 EFLAGS: 00000246
RAX: b51048cb41440a00 RBX: ffff88807e20a2d0 RCX: ffff88807e209dc0
RDX: ffff88807e209dc0 RSI: ffffffff8a8b3c20 RDI: ffff88807e211500
RBP: 1ffff1100fc4145a R08: ffffffff81b9b76c R09: ffffffff8406c458
R10: 0000000000000002 R11: ffff88807e209dc0 R12: dffffc0000000000
R13: 000000000000009d R14: 0000000000000307 R15: ffffffff8ad8a528
_copy_from_iter+0xe2/0xe90 lib/iov_iter.c:775
copy_from_iter include/linux/uio.h:164 [inline]
copy_from_iter_full include/linux/uio.h:170 [inline]
memcpy_from_msg include/linux/skbuff.h:3791 [inline]
netlink_sendmsg+0x800/0xd60 net/netlink/af_netlink.c:1909
sock_sendmsg_nosec net/socket.c:704 [inline]
__sock_sendmsg net/socket.c:716 [inline]
____sys_sendmsg+0x59e/0x8f0 net/socket.c:2431
___sys_sendmsg+0x252/0x2e0 net/socket.c:2485
__sys_sendmsg net/socket.c:2514 [inline]
__do_sys_sendmsg net/socket.c:2523 [inline]
__se_sys_sendmsg+0x19a/0x260 net/socket.c:2521
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f13db73ca4b
Code: ff 89 ef 48 89 04 24 e8 22 56 f9 ff 48 8b 04 24 48 83 c4 20 5d c3 c3 64 8b 04 25 18 00 00 00 85 c0 75 20 b8 2e 00 00 00 0f 05 <48> 3d 00 f0 ff ff 76 6d 48 8b 15 ae c3 0c 00 f7 d8 64 89 02 48 83
RSP: 002b:00007ffcabd7c228 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 000056259a675df0 RCX: 00007f13db73ca4b
RDX: 0000000000000000 RSI: 00007ffcabd7c238 RDI: 0000000000000004
RBP: 000056259a694940 R08: 0000000000000001 R09: 136e4f3610da411b
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000075 R14: 0000000000000000 R15: 0000000000000000
----------------
Code disassembly (best guess):
0: 89 f6 mov %esi,%esi
2: 31 d2 xor %edx,%edx
4: e8 e5 66 9f ff call 0xff9f66ee
9: 48 81 c3 10 05 00 00 add $0x510,%rbx
10: 48 89 dd mov %rbx,%rbp
13: 48 c1 ed 03 shr $0x3,%rbp
17: 42 80 7c 25 00 00 cmpb $0x0,0x0(%rbp,%r12,1)
1d: 74 08 je 0x27
1f: 48 89 df mov %rbx,%rdi
22: e8 f7 69 10 00 call 0x106a1e
27: 48 8b 3b mov (%rbx),%rdi
* 2a: 48 85 ff test %rdi,%rdi <-- trapping instruction
2d: 74 58 je 0x87
2f: 48 81 c7 28 01 00 00 add $0x128,%rdi
36: 31 f6 xor %esi,%esi
38: 31 d2 xor %edx,%edx
3a: b9 01 00 00 00 mov $0x1,%ecx
3f: 41 rex.B