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: 5907 Comm: syz.2.27 Not tainted syzkaller #0 PREEMPT(full) 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 a6 17 77 fa 48 8b 1b 48 89 d8 48 c1 e8 03 <42> 80 3c 30 00 74 08 48 89 df e8 8d 17 77 fa 48 8b 1b 48 89 df e8 RSP: 0018:ffffc900050ffac0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff888035a4be80 RDX: 0000000000000002 RSI: 0000000000000003 RDI: 0000000000000005 RBP: 0000000000000003 R08: ffffffff9079657f R09: 1ffffffff20f2caf R10: dffffc0000000000 R11: ffffffff87bf1f70 R12: 1ffff1100547c29e R13: ffffffff8cd266b8 R14: dffffc0000000000 R15: ffff888020fc4c00 FS: 00007f57d14486c0(0000) GS:ffff888124cf8000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000004 CR3: 0000000034a5e000 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 driver_detach+0x1f3/0x2d0 drivers/base/dd.c:1435 bus_remove_driver+0x226/0x320 drivers/base/bus.c:832 usb_gadget_unregister_driver+0x4e/0x70 drivers/usb/gadget/udc/core.c:1784 unregister_gadget drivers/usb/gadget/configfs.c:263 [inline] gadget_dev_desc_UDC_store+0x17a/0x2f0 drivers/usb/gadget/configfs.c:290 flush_write_buffer fs/configfs/file.c:207 [inline] configfs_write_iter+0x337/0x430 fs/configfs/file.c:229 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:0x7f57d059e0d9 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:00007f57d1448028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f57d0826090 RCX: 00007f57d059e0d9 RDX: 0000000000000001 RSI: 0000200000000800 RDI: 0000000000000004 RBP: 00007f57d0635024 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f57d0826128 R14: 00007f57d0826090 R15: 00007ffe9dbdbe48 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 a6 17 77 fa 48 8b 1b 48 89 d8 48 c1 e8 03 <42> 80 3c 30 00 74 08 48 89 df e8 8d 17 77 fa 48 8b 1b 48 89 df e8 RSP: 0018:ffffc900050ffac0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff888035a4be80 RDX: 0000000000000002 RSI: 0000000000000003 RDI: 0000000000000005 RBP: 0000000000000003 R08: ffffffff9079657f R09: 1ffffffff20f2caf R10: dffffc0000000000 R11: ffffffff87bf1f70 R12: 1ffff1100547c29e R13: ffffffff8cd266b8 R14: dffffc0000000000 R15: ffff888020fc4c00 FS: 00007f57d14486c0(0000) GS:ffff888124cf8000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f4250e99d58 CR3: 0000000034a5e000 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 a6 17 77 fa call 0xfa7717c6 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 8d 17 77 fa call 0xfa7717c6 39: 48 8b 1b mov (%rbx),%rbx 3c: 48 89 df mov %rbx,%rdi 3f: e8 .byte 0xe8