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: 1318 Comm: syz.0.274 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 RIP: 0010:set_link_state+0x2a/0x1050 drivers/usb/gadget/udc/dummy_hcd.c:451 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 5d f7 57 fe 4c 89 f0 48 c1 e8 03 <42> 80 3c 38 00 74 08 4c 89 f7 e8 67 6f 92 fe 49 8b 16 4d 8d ae 8b RSP: 0018:ffffc90000e9f7c0 EFLAGS: 00010046 RAX: 0000000000000000 RBX: ffff88810b84cc90 RCX: ffff88811e00e2c0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90000e9f820 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffff520001d3ef0 R12: 0000000000000a02 R13: 0000000000000000 R14: 0000000000000000 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f555a4e2240 CR3: 000000000640f000 CR4: 00000000003526a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: dummy_pullup+0xd9/0x220 drivers/usb/gadget/udc/dummy_hcd.c:927 usb_gadget_disconnect_locked+0x133/0x3b0 drivers/usb/gadget/udc/core.c:744 usb_gadget_remove_driver+0x55/0x330 drivers/usb/gadget/udc/core.c:1492 usb_gadget_unregister_driver+0x181/0x480 drivers/usb/gadget/udc/core.c:1656 raw_release+0xda/0x260 drivers/usb/gadget/legacy/raw_gadget.c:415 __fput+0x2dc/0x730 fs/file_table.c:281 ____fput+0x15/0x20 fs/file_table.c:314 task_work_run+0x127/0x190 kernel/task_work.c:189 exit_task_work include/linux/task_work.h:33 [inline] do_exit+0xa7c/0x24e0 kernel/exit.c:879 do_group_exit+0x149/0x310 kernel/exit.c:993 get_signal+0xfb1/0x1300 kernel/signal.c:2802 arch_do_signal_or_restart+0xe7/0x11b0 arch/x86/kernel/signal.c:805 handle_signal_work kernel/entry/common.c:145 [inline] exit_to_user_mode_loop+0xa2/0xe0 kernel/entry/common.c:169 exit_to_user_mode_prepare+0x76/0xa0 kernel/entry/common.c:199 syscall_exit_to_user_mode+0x1d/0x40 kernel/entry/common.c:274 do_syscall_64+0x3d/0x40 arch/x86/entry/common.c:56 entry_SYSCALL_64_after_hwframe+0x61/0xcb RIP: 0033:0x7fc235bb80d9 Code: Unable to access opcode bytes at RIP 0x7fc235bb80af. RSP: 002b:00007ffc90ab5258 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffdfc RBX: 0000000000017642 RCX: 00007fc235bb80d9 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fc235e3ffac RBP: 0000000000000bea R08: 00300f94883dac24 R09: 0000000000000000 R10: 00007ffc90ab5360 R11: 0000000000000246 R12: 00007ffc90ab5380 R13: 00007fc235e3ffac R14: 000000000001822c R15: 00007ffc90ab5360 Modules linked in: ---[ end trace 6f54935ae0901ec8 ]--- RIP: 0010:set_link_state+0x2a/0x1050 drivers/usb/gadget/udc/dummy_hcd.c:451 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 5d f7 57 fe 4c 89 f0 48 c1 e8 03 <42> 80 3c 38 00 74 08 4c 89 f7 e8 67 6f 92 fe 49 8b 16 4d 8d ae 8b RSP: 0018:ffffc90000e9f7c0 EFLAGS: 00010046 RAX: 0000000000000000 RBX: ffff88810b84cc90 RCX: ffff88811e00e2c0 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000000 RBP: ffffc90000e9f820 R08: 0000000000000003 R09: 0000000000000004 R10: dffffc0000000000 R11: fffff520001d3ef0 R12: 0000000000000a02 R13: 0000000000000000 R14: 0000000000000000 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f555a4e2240 CR3: 000000000640f000 CR4: 00000000003526a0 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 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 5d f7 57 fe call 0xfe57f780 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 67 6f 92 fe call 0xfe926fa0 39: 49 8b 16 mov (%r14),%rdx 3c: 4d rex.WRB 3d: 8d .byte 0x8d 3e: ae scas %es:(%rdi),%al 3f: 8b .byte 0x8b