Oops: general protection fault, probably for non-canonical address 0xdffffc0000000000: 0000 [#1] SMP KASAN NOPTI KASAN: null-ptr-deref in range [0x0000000000000000-0x0000000000000007] CPU: 0 UID: 0 PID: 11795 Comm: syz.6.1371 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/16/2026 RIP: 0010:set_link_state+0x27/0xc70 drivers/usb/gadget/udc/dummy_hcd.c:455 Code: 90 90 90 41 57 41 56 41 55 41 54 55 53 48 89 fb 48 83 ec 18 e8 fa 23 30 fa 48 89 da 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 35 0b 00 00 4c 8d ab a3 00 00 00 48 8b 2b 48 b8 RSP: 0018:ffffc9000463f890 EFLAGS: 00010056 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc9000688b000 RDX: 0000000000000000 RSI: ffffffff87db8f16 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000283 R13: ffff8880282f8000 R14: 0000000000000000 R15: ffff8880282f8c00 FS: 00007f2d3511f6c0(0000) GS:ffff888123b6f000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa3f315da08 CR3: 0000000079293000 CR4: 0000000000350ef0 Call Trace: dummy_pullup+0xf3/0x170 drivers/usb/gadget/udc/dummy_hcd.c:933 usb_gadget_disconnect_locked+0x142/0x4e0 drivers/usb/gadget/udc/core.c:785 gadget_unbind_driver+0xd8/0x4f0 drivers/usb/gadget/udc/core.c:1718 device_remove+0xcb/0x180 drivers/base/dd.c:616 __device_release_driver drivers/base/dd.c:1349 [inline] device_release_driver_internal+0x44e/0x620 drivers/base/dd.c:1372 bus_remove_device+0x2bc/0x560 drivers/base/bus.c:664 device_del+0x376/0x9b0 drivers/base/core.c:3965 usb_del_gadget+0x1b2/0x2d0 drivers/usb/gadget/udc/core.c:1591 usb_del_gadget_udc+0x15/0x30 drivers/usb/gadget/udc/core.c:1614 platform_remove+0x5f/0x80 drivers/base/platform.c:1524 device_remove+0xcb/0x180 drivers/base/dd.c:616 __device_release_driver drivers/base/dd.c:1349 [inline] device_release_driver_internal+0x44e/0x620 drivers/base/dd.c:1372 unbind_store+0xf8/0x110 drivers/base/bus.c:244 drv_attr_store+0x74/0xb0 drivers/base/bus.c:125 sysfs_kf_write+0xf2/0x150 fs/sysfs/file.c:145 kernfs_fop_write_iter+0x3e0/0x5f0 fs/kernfs/file.c:345 new_sync_write fs/read_write.c:595 [inline] vfs_write+0x6af/0x1050 fs/read_write.c:687 ksys_write+0x12a/0x250 fs/read_write.c:739 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f2d3419e0d9 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:00007f2d3511f028 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f2d34425fa0 RCX: 00007f2d3419e0d9 RDX: 000000000000000b RSI: 0000200000001200 RDI: 0000000000000003 RBP: 00007f2d34235024 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f2d34426038 R14: 00007f2d34425fa0 R15: 00007ffef4547558 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:set_link_state+0x27/0xc70 drivers/usb/gadget/udc/dummy_hcd.c:455 Code: 90 90 90 41 57 41 56 41 55 41 54 55 53 48 89 fb 48 83 ec 18 e8 fa 23 30 fa 48 89 da 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 35 0b 00 00 4c 8d ab a3 00 00 00 48 8b 2b 48 b8 RSP: 0018:ffffc9000463f890 EFLAGS: 00010056 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc9000688b000 RDX: 0000000000000000 RSI: ffffffff87db8f16 RDI: 0000000000000000 RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000283 R13: ffff8880282f8000 R14: 0000000000000000 R15: ffff8880282f8c00 FS: 00007f2d3511f6c0(0000) GS:ffff888123b6f000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa3f315da08 CR3: 0000000079293000 CR4: 0000000000350ef0 ---------------- Code disassembly (best guess): 0: 90 nop 1: 90 nop 2: 90 nop 3: 41 57 push %r15 5: 41 56 push %r14 7: 41 55 push %r13 9: 41 54 push %r12 b: 55 push %rbp c: 53 push %rbx d: 48 89 fb mov %rdi,%rbx 10: 48 83 ec 18 sub $0x18,%rsp 14: e8 fa 23 30 fa call 0xfa302413 19: 48 89 da mov %rbx,%rdx 1c: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax 23: fc ff df 26: 48 c1 ea 03 shr $0x3,%rdx * 2a: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction 2e: 0f 85 35 0b 00 00 jne 0xb69 34: 4c 8d ab a3 00 00 00 lea 0xa3(%rbx),%r13 3b: 48 8b 2b mov (%rbx),%rbp 3e: 48 rex.W 3f: b8 .byte 0xb8