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: 7611 Comm: syz.0.599 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/16/2026 RIP: 0010:set_link_state+0x27/0x11d0 drivers/usb/gadget/udc/dummy_hcd.c:435 Code: 0f 1f 00 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 90 26 cd fa 4c 89 f0 48 c1 e8 03 <80> 3c 18 00 74 08 4c 89 f7 e8 fb a3 25 fb 4d 8b 26 4c 89 74 24 10 RSP: 0018:ffffc90004f7f700 EFLAGS: 00010046 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: ffff88802bad0000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffff520009efecc R12: 0000000000000a02 R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f70997eb580 CR3: 0000000024dc9000 CR4: 00000000003506f0 Call Trace: dummy_pullup+0xc1/0x120 drivers/usb/gadget/udc/dummy_hcd.c:914 usb_gadget_disconnect_locked+0x120/0x440 drivers/usb/gadget/udc/core.c:782 gadget_unbind_driver+0xc2/0x3e0 drivers/usb/gadget/udc/core.c:1696 device_remove drivers/base/dd.c:626 [inline] __device_release_driver drivers/base/dd.c:1351 [inline] device_release_driver_internal+0x408/0x6f0 drivers/base/dd.c:1374 driver_detach+0x1f3/0x2d0 drivers/base/dd.c:1437 bus_remove_driver+0x221/0x2f0 drivers/base/bus.c:792 usb_gadget_unregister_driver+0x4e/0x70 drivers/usb/gadget/udc/core.c:1762 raw_release+0xda/0x260 drivers/usb/gadget/legacy/raw_gadget.c:416 __fput+0x221/0x940 fs/file_table.c:418 task_work_run+0x1d4/0x260 kernel/task_work.c:245 exit_task_work include/linux/task_work.h:43 [inline] do_exit+0x986/0x2530 kernel/exit.c:884 do_group_exit+0x22d/0x2f0 kernel/exit.c:1026 get_signal+0x12a6/0x1390 kernel/signal.c:2903 arch_do_signal_or_restart+0xc2/0x7b0 arch/x86/kernel/signal.c:310 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:291 [inline] syscall_exit_to_user_mode+0x1a/0x50 kernel/entry/common.c:302 do_syscall_64+0x61/0xb0 arch/x86/entry/common.c:82 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f8126b9db2b Code: Unable to access opcode bytes at 0x7f8126b9db01. RSP: 002b:00007f81279d9f00 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: fffffffffffffffc RBX: 0000000000000005 RCX: 00007f8126b9db2b RDX: 00007f81279dafd0 RSI: 0000000080085502 RDI: 0000000000000005 RBP: 00007f81279dafd0 R08: 0000000000000040 R09: 00007f81279d9fc8 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000080085502 R13: 0000000800000000 R14: 0000000000000012 R15: 00007f8126c526c7 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:set_link_state+0x27/0x11d0 drivers/usb/gadget/udc/dummy_hcd.c:435 Code: 0f 1f 00 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 90 26 cd fa 4c 89 f0 48 c1 e8 03 <80> 3c 18 00 74 08 4c 89 f7 e8 fb a3 25 fb 4d 8b 26 4c 89 74 24 10 RSP: 0018:ffffc90004f7f700 EFLAGS: 00010046 RAX: 0000000000000000 RBX: dffffc0000000000 RCX: ffff88802bad0000 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffff520009efecc R12: 0000000000000a02 R13: dffffc0000000000 R14: 0000000000000000 R15: 0000000000000000 FS: 0000000000000000(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f70997eb580 CR3: 0000000024dc9000 CR4: 00000000003506f0 ---------------- Code disassembly (best guess): 0: 0f 1f 00 nopl (%rax) 3: 55 push %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 50 sub $0x50,%rsp 11: 49 89 fe mov %rdi,%r14 14: 48 bb 00 00 00 00 00 movabs $0xdffffc0000000000,%rbx 1b: fc ff df 1e: e8 90 26 cd fa call 0xfacd26b3 23: 4c 89 f0 mov %r14,%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 f7 mov %r14,%rdi 33: e8 fb a3 25 fb call 0xfb25a433 38: 4d 8b 26 mov (%r14),%r12 3b: 4c 89 74 24 10 mov %r14,0x10(%rsp)