general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 1 PID: 382 Comm: syz.0.20 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 RIP: 0010:set_link_state+0x2a/0x1230 drivers/usb/gadget/udc/dummy_hcd.c:435 Code: 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 ec 60 49 89 fd 48 bb 00 00 00 00 00 fc ff df e8 4d fb 24 fe 4c 89 e8 48 c1 e8 03 <80> 3c 18 00 74 08 4c 89 ef e8 e8 85 6a fe 4d 8b 75 00 49 8d 95 9b RSP: 0018:ffffc9000dc67aa0 EFLAGS: 00010046 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: ffff8881140e3cc0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000dc67b28 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffff52001b8cf54 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: ffff88810dec4000 FS: 000055559205e500(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000003000 CR3: 000000011388f000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: dummy_pullup+0xcd/0x130 drivers/usb/gadget/udc/dummy_hcd.c:914 usb_gadget_disconnect_locked+0x14c/0x3f0 drivers/usb/gadget/udc/core.c:758 gadget_unbind_driver+0xab/0x3d0 drivers/usb/gadget/udc/core.c:1679 device_remove drivers/base/dd.c:548 [inline] __device_release_driver drivers/base/dd.c:1283 [inline] device_release_driver_internal+0x486/0x7e0 drivers/base/dd.c:1309 driver_detach+0x1f1/0x2d0 drivers/base/dd.c:1372 bus_remove_driver+0x121/0x1d0 drivers/base/bus.c:679 driver_unregister+0x75/0xa0 drivers/base/driver.c:274 usb_gadget_unregister_driver+0x4e/0x70 drivers/usb/gadget/udc/core.c:1745 raw_release+0xda/0x260 drivers/usb/gadget/legacy/raw_gadget.c:416 __fput+0x1fd/0x8f0 fs/file_table.c:320 ____fput+0x15/0x20 fs/file_table.c:348 task_work_run+0x1e1/0x250 kernel/task_work.c:203 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline] exit_to_user_mode_loop+0x9b/0xb0 kernel/entry/common.c:177 exit_to_user_mode_prepare+0x87/0xd0 kernel/entry/common.c:210 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline] syscall_exit_to_user_mode+0x1a/0x30 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:0x7fac4e19e0d9 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:00007ffc0c8684a8 EFLAGS: 00000246 ORIG_RAX: 00000000000001b4 RAX: 0000000000000000 RBX: 00007ffc0c868590 RCX: 00007fac4e19e0d9 RDX: 0000000000000000 RSI: 000000000000001e RDI: 0000000000000003 RBP: 000000000000df2d R08: 0000000000000001 R09: 0000000000000000 R10: 0000001b2d920000 R11: 0000000000000246 R12: 00007ffc0c8685d0 R13: 00007fac4e42609c R14: 000000000000e92e R15: 00007fac4e426090 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:set_link_state+0x2a/0x1230 drivers/usb/gadget/udc/dummy_hcd.c:435 Code: 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 ec 60 49 89 fd 48 bb 00 00 00 00 00 fc ff df e8 4d fb 24 fe 4c 89 e8 48 c1 e8 03 <80> 3c 18 00 74 08 4c 89 ef e8 e8 85 6a fe 4d 8b 75 00 49 8d 95 9b RSP: 0018:ffffc9000dc67aa0 EFLAGS: 00010046 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: ffff8881140e3cc0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc9000dc67b28 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffff52001b8cf54 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: ffff88810dec4000 FS: 000055559205e500(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000200000003000 CR3: 000000011388f000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- 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 60 sub $0x60,%rsp 11: 49 89 fd mov %rdi,%r13 14: 48 bb 00 00 00 00 00 movabs $0xdffffc0000000000,%rbx 1b: fc ff df 1e: e8 4d fb 24 fe call 0xfe24fb70 23: 4c 89 e8 mov %r13,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 80 3c 18 00 cmpb $0x0,(%rax,%rbx,1) <-- trapping instruction 2e: 74 08 je 0x38 30: 4c 89 ef mov %r13,%rdi 33: e8 e8 85 6a fe call 0xfe6a8620 38: 4d 8b 75 00 mov 0x0(%r13),%r14 3c: 49 rex.WB 3d: 8d .byte 0x8d 3e: 95 xchg %eax,%ebp 3f: 9b fwait