Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] PREEMPT SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 0 UID: 0 PID: 2094 Comm: syz.0.515 Not tainted syzkaller #0 200dea8a17c83f35b0a1e1238c384757fc17b797 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 RIP: 0010:dummy_udc_stop+0x82/0x330 drivers/usb/gadget/udc/dummy_hcd.c:1034 Code: 4d 8d bc c7 d0 04 00 00 4c 89 f8 48 c1 e8 03 80 3c 18 00 49 89 de 74 08 4c 89 ff e8 98 c8 26 fe 49 8b 1f 48 89 d8 48 c1 e8 03 <42> 80 3c 30 00 74 08 48 89 df e8 7f c8 26 fe 48 8b 1b 48 89 df e8 RSP: 0018:ffffc9000e1df7c0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff888132d59300 RSI: 0000000000000003 RDI: 0000000000000005 RBP: ffffc9000e1df818 R08: ffffc9000e1df7a7 R09: 1ffff92001c3bef4 R10: 0000000000000000 R11: ffffffff83b96ba0 R12: ffff888104f4cc90 R13: 1ffff11020cf6401 R14: dffffc0000000000 R15: ffff888104f4d160 FS: 0000000000000000(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555733ed918 CR3: 00000000074aa000 CR4: 00000000003526b0 Call Trace: usb_gadget_udc_stop_locked drivers/usb/gadget/udc/core.c:1255 [inline] gadget_unbind_driver+0x298/0x3f0 drivers/usb/gadget/udc/core.c:1706 device_remove drivers/base/dd.c:567 [inline] __device_release_driver drivers/base/dd.c:1272 [inline] device_release_driver_internal+0x4ad/0x830 drivers/base/dd.c:1295 driver_detach+0x1f5/0x2d0 drivers/base/dd.c:1358 bus_remove_driver+0x254/0x2b0 drivers/base/bus.c:744 driver_unregister+0x79/0xb0 drivers/base/driver.c:274 usb_gadget_unregister_driver+0x52/0x80 drivers/usb/gadget/udc/core.c:1763 raw_release+0xdb/0x280 drivers/usb/gadget/legacy/raw_gadget.c:463 __fput+0x208/0xa30 fs/file_table.c:447 ____fput+0x20/0x30 fs/file_table.c:475 task_work_run+0x1e8/0x260 kernel/task_work.c:246 exit_task_work include/linux/task_work.h:43 [inline] do_exit+0xa46/0x2850 kernel/exit.c:955 do_group_exit+0x21f/0x2f0 kernel/exit.c:1098 get_signal+0x134c/0x1490 kernel/signal.c:2933 arch_do_signal_or_restart+0xbc/0x700 arch/x86/kernel/signal.c:337 exit_to_user_mode_loop kernel/entry/common.c:111 [inline] exit_to_user_mode_prepare include/linux/entry-common.h:328 [inline] __syscall_exit_to_user_mode_work kernel/entry/common.c:207 [inline] syscall_exit_to_user_mode+0x57/0xb0 kernel/entry/common.c:218 do_syscall_64+0x63/0xf0 arch/x86/entry/common.c:84 entry_SYSCALL_64_after_hwframe+0x76/0x7e RIP: 0033:0x7fa264d9e019 Code: Unable to access opcode bytes at 0x7fa264d9dfef. RSP: 002b:00007fa265d390e8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca RAX: fffffffffffffe00 RBX: 00007fa265025fa8 RCX: 00007fa264d9e019 RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00007fa265025fa8 RBP: 00007fa265025fa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007fa265026038 R14: 00007ffe2bef79e0 R15: 00007ffe2bef7ac8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:dummy_udc_stop+0x82/0x330 drivers/usb/gadget/udc/dummy_hcd.c:1034 Code: 4d 8d bc c7 d0 04 00 00 4c 89 f8 48 c1 e8 03 80 3c 18 00 49 89 de 74 08 4c 89 ff e8 98 c8 26 fe 49 8b 1f 48 89 d8 48 c1 e8 03 <42> 80 3c 30 00 74 08 48 89 df e8 7f c8 26 fe 48 8b 1b 48 89 df e8 RSP: 0018:ffffc9000e1df7c0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: 0000000000000000 RDX: ffff888132d59300 RSI: 0000000000000003 RDI: 0000000000000005 RBP: ffffc9000e1df818 R08: ffffc9000e1df7a7 R09: 1ffff92001c3bef4 R10: 0000000000000000 R11: ffffffff83b96ba0 R12: ffff888104f4cc90 R13: 1ffff11020cf6401 R14: dffffc0000000000 R15: ffff888104f4d160 FS: 0000000000000000(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00005555733ed918 CR3: 00000000074aa000 CR4: 00000000003526b0 ---------------- Code disassembly (best guess): 0: 4d 8d bc c7 d0 04 00 lea 0x4d0(%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 98 c8 26 fe call 0xfe26c8b8 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 7f c8 26 fe call 0xfe26c8b8 39: 48 8b 1b mov (%rbx),%rbx 3c: 48 89 df mov %rbx,%rdi 3f: e8 .byte 0xe8