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: 511 Comm: syz.0.51 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/16/2026 RIP: 0010:set_link_state+0x2a/0x1210 drivers/usb/gadget/udc/dummy_hcd.c:432 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 9d 08 40 fe 4c 89 e8 48 c1 e8 03 <80> 3c 18 00 74 08 4c 89 ef e8 f8 77 7f fe 4d 8b 75 00 49 8d 95 8b RSP: 0018:ffffc90000bef760 EFLAGS: 00010046 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: ffff88811963cf00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90000bef7e8 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffff5200017deec R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: ffff88810b744000 FS: 0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fdea8231000 CR3: 000000000660f000 CR4: 00000000003526b0 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:911 usb_gadget_disconnect+0xe0/0x330 drivers/usb/gadget/udc/core.c:736 usb_gadget_remove_driver+0x46/0x310 drivers/usb/gadget/udc/core.c:1436 usb_gadget_unregister_driver+0x181/0x480 drivers/usb/gadget/udc/core.c:1606 raw_release+0xda/0x260 drivers/usb/gadget/legacy/raw_gadget.c:416 __fput+0x22b/0x900 fs/file_table.c:311 ____fput+0x15/0x20 fs/file_table.c:339 task_work_run+0x127/0x190 kernel/task_work.c:188 exit_task_work include/linux/task_work.h:33 [inline] do_exit+0xb70/0x29a0 kernel/exit.c:890 do_group_exit+0x149/0x310 kernel/exit.c:1004 get_signal+0x64f/0x1430 kernel/signal.c:2908 arch_do_signal_or_restart+0xe2/0x1100 arch/x86/kernel/signal.c:867 handle_signal_work kernel/entry/common.c:154 [inline] exit_to_user_mode_loop+0xa7/0xe0 kernel/entry/common.c:178 exit_to_user_mode_prepare+0x87/0xd0 kernel/entry/common.c:214 __syscall_exit_to_user_mode_work kernel/entry/common.c:296 [inline] syscall_exit_to_user_mode+0x1a/0x30 kernel/entry/common.c:307 do_syscall_64+0x58/0xa0 arch/x86/entry/common.c:86 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f29a61e0b2b Code: Unable to access opcode bytes at RIP 0x7f29a61e0b01. RSP: 002b:00007f29a4c37f00 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: fffffffffffffffc RBX: 0000000000000006 RCX: 00007f29a61e0b2b RDX: 00007f29a4c38fd0 RSI: 0000000080085502 RDI: 0000000000000006 RBP: 00007f29a4c38fd0 R08: 00007f29a60a8ba7 R09: 00007f29a4c37fc8 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000080085502 R13: 0000000800000000 R14: 0000000000000004 R15: 00007f29a62956c7 Modules linked in: ---[ end trace ccee8bd811c45bd7 ]--- RIP: 0010:set_link_state+0x2a/0x1210 drivers/usb/gadget/udc/dummy_hcd.c:432 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 9d 08 40 fe 4c 89 e8 48 c1 e8 03 <80> 3c 18 00 74 08 4c 89 ef e8 f8 77 7f fe 4d 8b 75 00 49 8d 95 8b RSP: 0018:ffffc90000bef760 EFLAGS: 00010046 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: ffff88811963cf00 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90000bef7e8 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffff5200017deec R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: ffff88810b744000 FS: 0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fdea8231000 CR3: 000000000660f000 CR4: 00000000003526b0 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 9d 08 40 fe call 0xfe4008c0 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 f8 77 7f fe call 0xfe7f7830 38: 4d 8b 75 00 mov 0x0(%r13),%r14 3c: 49 rex.WB 3d: 8d .byte 0x8d 3e: 95 xchg %eax,%ebp 3f: 8b .byte 0x8b