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: 3170 Comm: syz.0.983 Not tainted syzkaller #0 9c722142e1cda5d0ace938c6e5c03d461fe7a5ab Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/16/2026 RIP: 0010:dummy_udc_start+0xd1/0x1f0 drivers/usb/gadget/udc/dummy_hcd.c:1003 Code: 41 83 ff 03 74 18 41 83 ff 05 0f 85 94 00 00 00 e8 a4 0b ce fd eb 0c e8 9d 0b ce fd eb 05 e8 96 0b ce fd 4c 89 f0 48 c1 e8 03 <42> 80 3c 20 00 74 08 4c 89 f7 e8 80 cb 26 fe 4d 8b 36 4c 89 f7 e8 RSP: 0018:ffffc90001ac7818 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff888103b0e010 RCX: 0000000000080000 RDX: ffffc90014842000 RSI: 0000000000000ab1 RDI: 0000000000000ab2 RBP: ffffc90001ac7840 R08: ffff888108344c00 R09: 0000000000000004 R10: 0000000000000005 R11: 0000000000000002 R12: dffffc0000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000003 FS: 00007f5e39e3f6c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f5e38f87000 CR3: 00000001160e2000 CR4: 00000000003526b0 Call Trace: usb_gadget_udc_start_locked drivers/usb/gadget/udc/core.c:1225 [inline] gadget_bind_driver+0x3e1/0x9c0 drivers/usb/gadget/udc/core.c:1619 call_driver_probe drivers/base/dd.c:-1 [inline] really_probe+0x2e1/0x8b0 drivers/base/dd.c:657 __driver_probe_device+0x193/0x280 drivers/base/dd.c:799 driver_probe_device+0x54/0x3f0 drivers/base/dd.c:829 __driver_attach+0x422/0x5e0 drivers/base/dd.c:1215 bus_for_each_dev+0x249/0x2d0 drivers/base/bus.c:370 driver_attach+0x46/0x50 drivers/base/dd.c:1233 bus_add_driver+0x393/0x730 drivers/base/bus.c:675 driver_register+0x2b7/0x3c0 drivers/base/driver.c:246 usb_gadget_register_driver_owner+0xfc/0x270 drivers/usb/gadget/udc/core.c:1704 raw_ioctl_run drivers/usb/gadget/legacy/raw_gadget.c:596 [inline] raw_ioctl+0x144c/0x37a0 drivers/usb/gadget/legacy/raw_gadget.c:1307 vfs_ioctl fs/ioctl.c:51 [inline] __do_sys_ioctl fs/ioctl.c:907 [inline] __se_sys_ioctl+0x132/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:0x7f5e38f9db2b 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:00007f5e39e3cf00 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 00007f5e38f9db2b RDX: 0000000000000000 RSI: 0000000000005501 RDI: 0000000000000003 RBP: 00007f5e39e3dfd0 R08: 0000000000000001 R09: 00000000ffffffff R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000200000000000 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:dummy_udc_start+0xd1/0x1f0 drivers/usb/gadget/udc/dummy_hcd.c:1003 Code: 41 83 ff 03 74 18 41 83 ff 05 0f 85 94 00 00 00 e8 a4 0b ce fd eb 0c e8 9d 0b ce fd eb 05 e8 96 0b ce fd 4c 89 f0 48 c1 e8 03 <42> 80 3c 20 00 74 08 4c 89 f7 e8 80 cb 26 fe 4d 8b 36 4c 89 f7 e8 RSP: 0018:ffffc90001ac7818 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffff888103b0e010 RCX: 0000000000080000 RDX: ffffc90014842000 RSI: 0000000000000ab1 RDI: 0000000000000ab2 RBP: ffffc90001ac7840 R08: ffff888108344c00 R09: 0000000000000004 R10: 0000000000000005 R11: 0000000000000002 R12: dffffc0000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000003 FS: 00007f5e39e3f6c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b31d1eff8 CR3: 00000001160e2000 CR4: 00000000003526b0 DR0: 0000000000000000 DR1: 0000000000000071 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400 ---------------- Code disassembly (best guess): 0: 41 83 ff 03 cmp $0x3,%r15d 4: 74 18 je 0x1e 6: 41 83 ff 05 cmp $0x5,%r15d a: 0f 85 94 00 00 00 jne 0xa4 10: e8 a4 0b ce fd call 0xfdce0bb9 15: eb 0c jmp 0x23 17: e8 9d 0b ce fd call 0xfdce0bb9 1c: eb 05 jmp 0x23 1e: e8 96 0b ce fd call 0xfdce0bb9 23: 4c 89 f0 mov %r14,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 80 3c 20 00 cmpb $0x0,(%rax,%r12,1) <-- trapping instruction 2f: 74 08 je 0x39 31: 4c 89 f7 mov %r14,%rdi 34: e8 80 cb 26 fe call 0xfe26cbb9 39: 4d 8b 36 mov (%r14),%r14 3c: 4c 89 f7 mov %r14,%rdi 3f: e8 .byte 0xe8