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: 754 Comm: syz.0.105 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 RIP: 0010:dummy_udc_stop+0x7e/0x330 drivers/usb/gadget/udc/dummy_hcd.c:1021 Code: 4d 8d bc c7 f0 04 00 00 4c 89 f8 48 c1 e8 03 80 3c 18 00 49 89 de 74 08 4c 89 ff e8 9c 75 92 fe 49 8b 1f 48 89 d8 48 c1 e8 03 <42> 80 3c 30 00 74 08 48 89 df e8 83 75 92 fe 48 8b 1b 48 89 df e8 RSP: 0018:ffffc900010bf848 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff8881350dcf00 RSI: 0000000000000003 RDI: 0000000000000005 RBP: ffffc900010bf8a0 R08: ffffc900010bf827 R09: 1ffff92000217f04 R10: dffffc0000000000 R11: fffff52000217f05 R12: ffff888100bccc90 R13: ffffffff855837e8 R14: dffffc0000000000 R15: ffff888100bcd180 FS: 0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffe7a5f9ef8 CR3: 000000000640f000 CR4: 00000000003506a0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: usb_gadget_udc_stop_locked drivers/usb/gadget/udc/core.c:1197 [inline] usb_gadget_remove_driver+0x20a/0x330 drivers/usb/gadget/udc/core.c:1501 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:0x7f4e287a4d6b Code: Unable to access opcode bytes at RIP 0x7f4e287a4d41. RSP: 002b:00007f4e271fbf00 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: fffffffffffffffc RBX: 0000000000000003 RCX: 00007f4e287a4d6b RDX: 00007f4e271fcfd0 RSI: 0000000080085502 RDI: 0000000000000003 RBP: 00007f4e271fcfd0 R08: 0000000000000001 R09: 00000000ffffffff R10: 0000000000000000 R11: 0000000000000246 R12: 0000000080085502 R13: 0000000800000000 R14: 0000000000000005 R15: 00007f4e2885a8e2 Modules linked in: ---[ end trace ca442ce942d93cab ]--- RIP: 0010:dummy_udc_stop+0x7e/0x330 drivers/usb/gadget/udc/dummy_hcd.c:1021 Code: 4d 8d bc c7 f0 04 00 00 4c 89 f8 48 c1 e8 03 80 3c 18 00 49 89 de 74 08 4c 89 ff e8 9c 75 92 fe 49 8b 1f 48 89 d8 48 c1 e8 03 <42> 80 3c 30 00 74 08 48 89 df e8 83 75 92 fe 48 8b 1b 48 89 df e8 RSP: 0018:ffffc900010bf848 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff8881350dcf00 RSI: 0000000000000003 RDI: 0000000000000005 RBP: ffffc900010bf8a0 R08: ffffc900010bf827 R09: 1ffff92000217f04 R10: dffffc0000000000 R11: fffff52000217f05 R12: ffff888100bccc90 R13: ffffffff855837e8 R14: dffffc0000000000 R15: ffff888100bcd180 FS: 0000000000000000(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007ffea4f5cff8 CR3: 000000010d5a7000 CR4: 00000000003506b0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 4d 8d bc c7 f0 04 00 lea 0x4f0(%r15,%rax,8),%r15 7: 00 8: 4c 89 f8 mov %r15,%rax b: 48 c1 e8 03 shr $0x3,%rax f: 80 3c 18 00 cmpb $0x0,(%rax,%rbx,1) 13: 49 89 de mov %rbx,%r14 16: 74 08 je 0x20 18: 4c 89 ff mov %r15,%rdi 1b: e8 9c 75 92 fe call 0xfe9275bc 20: 49 8b 1f mov (%r15),%rbx 23: 48 89 d8 mov %rbx,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 30 00 cmpb $0x0,(%rax,%r14,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 48 89 df mov %rbx,%rdi 34: e8 83 75 92 fe call 0xfe9275bc 39: 48 8b 1b mov (%rbx),%rbx 3c: 48 89 df mov %rbx,%rdi 3f: e8 .byte 0xe8