general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 0 PID: 5398 Comm: syz.5.219 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 RIP: 0010:set_link_state+0x27/0x11d0 drivers/usb/gadget/udc/dummy_hcd.c:435 Code: ff ff 90 55 41 57 41 56 41 55 41 54 53 48 83 ec 50 49 89 fe 48 bb 00 00 00 00 00 fc ff df e8 60 7c 02 fb 4c 89 f0 48 c1 e8 03 <80> 3c 18 00 74 08 4c 89 f7 e8 0b a9 53 fb 4d 8b 26 4c 89 74 24 10 RSP: 0018:ffffc90003c3f808 EFLAGS: 00010046 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 0000000000080000 RDX: ffffc9001c4e6000 RSI: 000000000000027b RDI: 000000000000027c RBP: 0000000000000000 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffff52000787ef0 R12: 0000000000000a06 R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007fb725b116c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555586d87a78 CR3: 000000007376f000 CR4: 00000000003506f0 DR0: ffffffffffffffff DR1: 00000000000001f8 DR2: 0000000000000002 DR3: ffffffffefffff15 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: dummy_pullup+0xbd/0x120 drivers/usb/gadget/udc/dummy_hcd.c:914 usb_gadget_disconnect_locked+0x123/0x4d0 drivers/usb/gadget/udc/core.c:782 gadget_unbind_driver+0xbe/0x3d0 drivers/usb/gadget/udc/core.c:1696 device_remove drivers/base/dd.c:547 [inline] __device_release_driver drivers/base/dd.c:1279 [inline] device_release_driver_internal+0x47d/0x7c0 drivers/base/dd.c:1305 driver_detach+0x1ef/0x2d0 drivers/base/dd.c:1368 bus_remove_driver+0x11c/0x230 drivers/base/bus.c:679 usb_gadget_unregister_driver+0x4a/0x70 drivers/usb/gadget/udc/core.c:1762 dev_release+0x82/0x1f0 drivers/usb/gadget/legacy/inode.c:1194 __fput+0x20a/0x8b0 fs/file_table.c:320 task_work_run+0x1d0/0x260 kernel/task_work.c:203 get_signal+0x118d/0x1340 kernel/signal.c:2657 arch_do_signal_or_restart+0xc4/0x1310 arch/x86/kernel/signal.c:871 exit_to_user_mode_loop+0x70/0x110 kernel/entry/common.c:174 exit_to_user_mode_prepare+0xee/0x180 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x16/0x40 kernel/entry/common.c:303 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7fb724b9e0d9 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007fb725b11028 EFLAGS: 00000246 ORIG_RAX: 0000000000000000 RAX: ffffffffffffffea RBX: 00007fb724e25fa0 RCX: 00007fb724b9e0d9 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 00007fb724c35024 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fb724e26038 R14: 00007fb724e25fa0 R15: 00007ffe9c49d1b8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:set_link_state+0x27/0x11d0 drivers/usb/gadget/udc/dummy_hcd.c:435 Code: ff ff 90 55 41 57 41 56 41 55 41 54 53 48 83 ec 50 49 89 fe 48 bb 00 00 00 00 00 fc ff df e8 60 7c 02 fb 4c 89 f0 48 c1 e8 03 <80> 3c 18 00 74 08 4c 89 f7 e8 0b a9 53 fb 4d 8b 26 4c 89 74 24 10 RSP: 0018:ffffc90003c3f808 EFLAGS: 00010046 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: 0000000000080000 RDX: ffffc9001c4e6000 RSI: 000000000000027b RDI: 000000000000027c RBP: 0000000000000000 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffff52000787ef0 R12: 0000000000000a06 R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 00007fb725b116c0(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000555586d87a78 CR3: 000000007376f000 CR4: 00000000003506f0 DR0: ffffffffffffffff DR1: 00000000000001f8 DR2: 0000000000000002 DR3: ffffffffefffff15 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess), 1 bytes skipped: 0: ff 90 55 41 57 41 call *0x41574155(%rax) 6: 56 push %rsi 7: 41 55 push %r13 9: 41 54 push %r12 b: 53 push %rbx c: 48 83 ec 50 sub $0x50,%rsp 10: 49 89 fe mov %rdi,%r14 13: 48 bb 00 00 00 00 00 movabs $0xdffffc0000000000,%rbx 1a: fc ff df 1d: e8 60 7c 02 fb call 0xfb027c82 22: 4c 89 f0 mov %r14,%rax 25: 48 c1 e8 03 shr $0x3,%rax * 29: 80 3c 18 00 cmpb $0x0,(%rax,%rbx,1) <-- trapping instruction 2d: 74 08 je 0x37 2f: 4c 89 f7 mov %r14,%rdi 32: e8 0b a9 53 fb call 0xfb53a942 37: 4d 8b 26 mov (%r14),%r12 3a: 4c 89 74 24 10 mov %r14,0x10(%rsp)