Oops: general protection fault, probably for non-canonical address 0xdffffc000000000a: 0000 [#1] PREEMPT SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000050-0x0000000000000057] CPU: 0 UID: 0 PID: 3808 Comm: syz.0.1102 Not tainted syzkaller #0 9a2c17613351c9eac8e18d74829f474689ac6bc1 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 RIP: 0010:dummy_queue+0x1c0/0x8e0 drivers/usb/gadget/udc/dummy_hcd.c:717 Code: fc ff df 80 3c 08 00 74 08 4c 89 e7 e8 39 72 26 fe 4d 8b 24 24 49 83 c4 50 4c 89 e0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <0f> b6 04 08 84 c0 0f 85 f5 05 00 00 45 8b 24 24 44 89 e6 83 e6 02 RSP: 0018:ffffc900071279a0 EFLAGS: 00010206 RAX: 000000000000000a RBX: ffff888118b19510 RCX: dffffc0000000000 RDX: ffff88813d084c00 RSI: 0000000000000003 RDI: 0000000000000005 RBP: ffffc90007127a18 R08: 0000000000000003 R09: 0000000000000004 R10: 0000000000000000 R11: ffffffff83b9da20 R12: 0000000000000050 R13: ffff888118b19500 R14: 1ffff110231632a0 R15: ffff888104768c90 FS: 00007f5c571f76c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00002000000010f8 CR3: 000000013114e000 CR4: 00000000003526b0 Call Trace: usb_ep_queue+0xe3/0x230 drivers/usb/gadget/udc/core.c:305 raw_process_ep_io+0x573/0x920 drivers/usb/gadget/legacy/raw_gadget.c:1114 raw_ioctl_ep_write drivers/usb/gadget/legacy/raw_gadget.c:1153 [inline] raw_ioctl+0x223d/0x37a0 drivers/usb/gadget/legacy/raw_gadget.c:1325 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl+0x135/0x1b0 fs/ioctl.c:893 __x64_sys_ioctl+0x7f/0xa0 fs/ioctl.c:893 x64_sys_call+0x1878/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:17 do_syscall_x64 arch/x86/entry/common.c:47 [inline] do_syscall_64+0x57/0xf0 arch/x86/entry/common.c:78 entry_SYSCALL_64_after_hwframe+0x76/0x7e RIP: 0033:0x7f5c5879dd6b Code: 00 48 89 44 24 18 31 c0 48 8d 44 24 60 c7 04 24 10 00 00 00 48 89 44 24 08 48 8d 44 24 20 48 89 44 24 10 b8 10 00 00 00 0f 05 <89> c2 3d 00 f0 ff ff 77 1c 48 8b 44 24 18 64 48 2b 04 25 28 00 00 RSP: 002b:00007f5c571f5f60 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: ffffffffffffff6d RCX: 00007f5c5879dd6b RDX: 00007f5c571f5fe0 RSI: 0000000040085507 RDI: 0000000000000003 RBP: 0000000000000003 R08: 00007f5c58b50320 R09: 0000000000000000 R10: 0000000000000003 R11: 0000000000000246 R12: 0000200000000100 R13: 0000000000000000 R14: 00007f5c58a26180 R15: 00007fffccc03648 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:dummy_queue+0x1c0/0x8e0 drivers/usb/gadget/udc/dummy_hcd.c:717 Code: fc ff df 80 3c 08 00 74 08 4c 89 e7 e8 39 72 26 fe 4d 8b 24 24 49 83 c4 50 4c 89 e0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <0f> b6 04 08 84 c0 0f 85 f5 05 00 00 45 8b 24 24 44 89 e6 83 e6 02 RSP: 0018:ffffc900071279a0 EFLAGS: 00010206 RAX: 000000000000000a RBX: ffff888118b19510 RCX: dffffc0000000000 RDX: ffff88813d084c00 RSI: 0000000000000003 RDI: 0000000000000005 RBP: ffffc90007127a18 R08: 0000000000000003 R09: 0000000000000004 R10: 0000000000000000 R11: ffffffff83b9da20 R12: 0000000000000050 R13: ffff888118b19500 R14: 1ffff110231632a0 R15: ffff888104768c90 FS: 00007f5c571f76c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f7d407eb7c0 CR3: 000000013114e000 CR4: 00000000003526b0 ---------------- Code disassembly (best guess): 0: fc cld 1: ff lcall (bad) 2: df 80 3c 08 00 74 filds 0x7400083c(%rax) 8: 08 4c 89 e7 or %cl,-0x19(%rcx,%rcx,4) c: e8 39 72 26 fe call 0xfe26724a 11: 4d 8b 24 24 mov (%r12),%r12 15: 49 83 c4 50 add $0x50,%r12 19: 4c 89 e0 mov %r12,%rax 1c: 48 c1 e8 03 shr $0x3,%rax 20: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx 27: fc ff df * 2a: 0f b6 04 08 movzbl (%rax,%rcx,1),%eax <-- trapping instruction 2e: 84 c0 test %al,%al 30: 0f 85 f5 05 00 00 jne 0x62b 36: 45 8b 24 24 mov (%r12),%r12d 3a: 44 89 e6 mov %r12d,%esi 3d: 83 e6 02 and $0x2,%esi