Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 0 UID: 0 PID: 17481 Comm: syz.0.2819 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 RIP: 0010:dummy_udc_stop+0x74/0x120 drivers/usb/gadget/udc/dummy_hcd.c:1053 Code: 8d 1c c3 48 81 c3 90 06 00 00 48 89 d8 48 c1 e8 03 42 80 3c 30 00 74 08 48 89 df e8 06 7a 6a fa 48 8b 1b 48 89 d8 48 c1 e8 03 <42> 80 3c 30 00 74 08 48 89 df e8 ed 79 6a fa 48 8b 1b 48 89 df e8 RSP: 0018:ffffc900032f78c0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff888034928000 RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000005 RBP: 0000000000000003 R08: ffffffff909ba87f R09: 1ffffffff213750f R10: dffffc0000000000 R11: ffffffff87cd4f90 R12: 1ffff1100534be9e R13: ffffffff8cd4c018 R14: dffffc0000000000 R15: ffff888020bf8c00 FS: 00007f382faad6c0(0000) GS:ffff88812488a000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa480fef2f8 CR3: 000000007d898000 CR4: 00000000003526f0 Call Trace: usb_gadget_udc_stop_locked drivers/usb/gadget/udc/core.c:1265 [inline] gadget_unbind_driver+0x25f/0x410 drivers/usb/gadget/udc/core.c:1727 device_remove drivers/base/dd.c:616 [inline] __device_release_driver drivers/base/dd.c:1349 [inline] device_release_driver_internal+0x48b/0x880 drivers/base/dd.c:1372 bus_remove_device+0x444/0x560 drivers/base/bus.c:664 device_del+0x524/0x8f0 drivers/base/core.c:3965 usb_del_gadget+0x195/0x250 drivers/usb/gadget/udc/core.c:1591 usb_del_gadget_udc+0x15/0x30 drivers/usb/gadget/udc/core.c:1614 device_remove drivers/base/dd.c:616 [inline] __device_release_driver drivers/base/dd.c:1349 [inline] device_release_driver_internal+0x48b/0x880 drivers/base/dd.c:1372 unbind_store+0x1a1/0x1d0 drivers/base/bus.c:244 kernfs_fop_write_iter+0x3a4/0x540 fs/kernfs/file.c:345 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x612/0xba0 fs/read_write.c:687 ksys_write+0x150/0x270 fs/read_write.c:739 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f382eb9e0d9 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f382faad028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f382ee26090 RCX: 00007f382eb9e0d9 RDX: 000000000000000c RSI: 0000200000001200 RDI: 0000000000000003 RBP: 00007f382ec35024 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f382ee26128 R14: 00007f382ee26090 R15: 00007fffebfeb2d8 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:dummy_udc_stop+0x74/0x120 drivers/usb/gadget/udc/dummy_hcd.c:1053 Code: 8d 1c c3 48 81 c3 90 06 00 00 48 89 d8 48 c1 e8 03 42 80 3c 30 00 74 08 48 89 df e8 06 7a 6a fa 48 8b 1b 48 89 d8 48 c1 e8 03 <42> 80 3c 30 00 74 08 48 89 df e8 ed 79 6a fa 48 8b 1b 48 89 df e8 RSP: 0018:ffffc900032f78c0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff888034928000 RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000005 RBP: 0000000000000003 R08: ffffffff909ba87f R09: 1ffffffff213750f R10: dffffc0000000000 R11: ffffffff87cd4f90 R12: 1ffff1100534be9e R13: ffffffff8cd4c018 R14: dffffc0000000000 R15: ffff888020bf8c00 FS: 00007f382faad6c0(0000) GS:ffff88812488a000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa480fef2f8 CR3: 000000007d898000 CR4: 00000000003526f0 ---------------- Code disassembly (best guess): 0: 8d 1c c3 lea (%rbx,%rax,8),%ebx 3: 48 81 c3 90 06 00 00 add $0x690,%rbx a: 48 89 d8 mov %rbx,%rax d: 48 c1 e8 03 shr $0x3,%rax 11: 42 80 3c 30 00 cmpb $0x0,(%rax,%r14,1) 16: 74 08 je 0x20 18: 48 89 df mov %rbx,%rdi 1b: e8 06 7a 6a fa call 0xfa6a7a26 20: 48 8b 1b mov (%rbx),%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 ed 79 6a fa call 0xfa6a7a26 39: 48 8b 1b mov (%rbx),%rbx 3c: 48 89 df mov %rbx,%rdi 3f: e8 .byte 0xe8