dummy_hcd dummy_hcd.0: remove, state 1 usb usb1: USB disconnect, device number 1 usb 1-1: USB disconnect, device number 2 dummy_hcd dummy_hcd dummy_hcd.0: stopped dummy_hcd dummy_hcd.0: USB bus 1 deregistered Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 1 UID: 0 PID: 553 Comm: syz.0.17 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/16/2026 RIP: 0010:set_link_state+0x2a/0x1060 drivers/usb/gadget/udc/dummy_hcd.c:455 Code: 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 ec 38 49 89 fe 49 bf 00 00 00 00 00 fc ff df e8 2d 2b d6 fd 4c 89 f0 48 c1 e8 03 <42> 80 3c 38 00 74 08 4c 89 f7 e8 57 02 39 fe 49 8b 16 4d 8d ae a3 RSP: 0018:ffffc90001687740 EFLAGS: 00010046 RAX: 0000000000000000 RBX: ffff888100f8102a RCX: ffff888119646a80 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc900016877a0 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffff520002d0ee4 R12: 0000000000000000 R13: 0000000000000a02 R14: 0000000000000000 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff88826e151000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055fcae34bf28 CR3: 00000000078b0000 CR4: 00000000003526b0 Call Trace: dummy_pullup+0xd4/0x130 drivers/usb/gadget/udc/dummy_hcd.c:933 usb_gadget_disconnect_locked+0x143/0x3e0 drivers/usb/gadget/udc/core.c:785 gadget_unbind_driver+0xaf/0x3c0 drivers/usb/gadget/udc/core.c:1718 device_remove drivers/base/dd.c:616 [inline] __device_release_driver drivers/base/dd.c:1349 [inline] device_release_driver_internal+0x487/0x880 drivers/base/dd.c:1372 driver_detach+0x1f5/0x2d0 drivers/base/dd.c:1435 bus_remove_driver+0x253/0x2b0 drivers/base/bus.c:832 driver_unregister+0x79/0xa0 drivers/base/driver.c:202 usb_gadget_unregister_driver+0x52/0x80 drivers/usb/gadget/udc/core.c:1784 raw_release+0xdb/0x270 drivers/usb/gadget/legacy/raw_gadget.c:463 __fput+0x3c3/0x9f0 fs/file_table.c:512 ____fput+0x20/0x30 fs/file_table.c:540 task_work_run+0x1d5/0x250 kernel/task_work.c:233 exit_task_work include/linux/task_work.h:40 [inline] do_exit+0x84e/0x2480 kernel/exit.c:986 do_group_exit+0x20f/0x2c0 kernel/exit.c:1129 get_signal+0x12f0/0x1430 kernel/signal.c:3112 arch_do_signal_or_restart+0xbb/0x770 arch/x86/kernel/signal.c:337 __exit_to_user_mode_loop kernel/entry/common.c:66 [inline] exit_to_user_mode_loop+0x71/0xd0 kernel/entry/common.c:101 __exit_to_user_mode_prepare include/linux/irq-entry-common.h:207 [inline] syscall_exit_to_user_mode_prepare include/linux/irq-entry-common.h:230 [inline] syscall_exit_to_user_mode include/linux/entry-common.h:343 [inline] do_syscall_64+0x1d6/0x290 arch/x86/entry/syscall_64.c:89 entry_SYSCALL_64_after_hwframe+0x76/0x7e RIP: 0033:0x7f0e3b79e0d9 Code: Unable to access opcode bytes at 0x7f0e3b79e0af. RSP: 002b:00007f0e3c65c028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: 000000000000000b RBX: 00007f0e3ba25fa0 RCX: 00007f0e3b79e0d9 RDX: 000000000000000b RSI: 0000200000000200 RDI: 0000000000000004 RBP: 00007f0e3b835024 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f0e3ba26038 R14: 00007f0e3ba25fa0 R15: 00007ffef22f0fa8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:set_link_state+0x2a/0x1060 drivers/usb/gadget/udc/dummy_hcd.c:455 Code: 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 ec 38 49 89 fe 49 bf 00 00 00 00 00 fc ff df e8 2d 2b d6 fd 4c 89 f0 48 c1 e8 03 <42> 80 3c 38 00 74 08 4c 89 f7 e8 57 02 39 fe 49 8b 16 4d 8d ae a3 RSP: 0018:ffffc90001687740 EFLAGS: 00010046 RAX: 0000000000000000 RBX: ffff888100f8102a RCX: ffff888119646a80 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc900016877a0 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffff520002d0ee4 R12: 0000000000000000 R13: 0000000000000a02 R14: 0000000000000000 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff88826e151000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055fcae34bf28 CR3: 00000000078b0000 CR4: 00000000003526b0 ---------------- Code disassembly (best guess): 0: 55 push %rbp 1: 48 89 e5 mov %rsp,%rbp 4: 41 57 push %r15 6: 41 56 push %r14 8: 41 55 push %r13 a: 41 54 push %r12 c: 53 push %rbx d: 48 83 ec 38 sub $0x38,%rsp 11: 49 89 fe mov %rdi,%r14 14: 49 bf 00 00 00 00 00 movabs $0xdffffc0000000000,%r15 1b: fc ff df 1e: e8 2d 2b d6 fd call 0xfdd62b50 23: 4c 89 f0 mov %r14,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 38 00 cmpb $0x0,(%rax,%r15,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 4c 89 f7 mov %r14,%rdi 34: e8 57 02 39 fe call 0xfe390290 39: 49 8b 16 mov (%r14),%rdx 3c: 4d rex.WRB 3d: 8d .byte 0x8d 3e: ae scas %es:(%rdi),%al 3f: a3 .byte 0xa3