RBP: 00007fedf9c0afd0 R08: 0000000000000001 R09: 00000000ffffffff R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000200000000000 R14: 0000000000000003 R15: 0000000000000000 Oops: general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN PTI KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f] CPU: 0 UID: 0 PID: 1723 Comm: syz.4.465 Not tainted syzkaller #0 28f921879e8f15dfc7a8f0390122ef60233eff00 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 RIP: 0010:do_trace_event_raw_event_udc_log_req drivers/usb/gadget/udc/trace.h:242 [inline] RIP: 0010:trace_event_raw_event_udc_log_req+0x1c1/0x6e0 drivers/usb/gadget/udc/trace.h:223 Code: 1c 3f 4c 89 f8 48 c1 e8 03 42 0f b6 04 30 84 c0 0f 85 ce 02 00 00 41 c6 07 00 48 8b 54 24 08 4c 8d 7a 08 4c 89 f8 48 c1 e8 03 <42> 0f b6 04 30 84 c0 0f 85 c8 02 00 00 41 8b 1f 4d 8d 7c 24 0c 4c RSP: 0018:ffffc9000f99f680 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000004 RCX: 0000000000000065 RDX: 0000000000000000 RSI: ffffffff866d6fe0 RDI: ffff8881233a57e8 RBP: ffffc9000f99f778 R08: 0000000000000070 R09: 0000000000000030 R10: dffffc0000000000 R11: ffffed1024674afe R12: ffff8881233a57a8 R13: ffffffff866d6fe0 R14: dffffc0000000000 R15: 0000000000000008 FS: 00007fedf9c0c6c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000020000089d000 CR3: 0000000113420000 CR4: 00000000003526b0 Call Trace: trace_usb_ep_alloc_request drivers/usb/gadget/udc/trace.h:264 [inline] usb_ep_alloc_request+0x16e/0x1c0 drivers/usb/gadget/udc/core.c:202 gadget_bind+0xe5/0x590 drivers/usb/gadget/legacy/raw_gadget.c:294 gadget_bind_driver+0x301/0x9c0 drivers/usb/gadget/udc/core.c:1641 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:1731 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+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:0x7fedf8d9dd6b 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:00007fedf9c09f00 EFLAGS: 00000246 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007fedf8d9dd6b RDX: 0000000000000000 RSI: 0000000000005501 RDI: 0000000000000004 RBP: 00007fedf9c0afd0 R08: 0000000000000001 R09: 00000000ffffffff R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000200000000000 R14: 0000000000000003 R15: 0000000000000000 Modules linked in: ---[ end trace 0000000000000000 ]--- RIP: 0010:do_trace_event_raw_event_udc_log_req drivers/usb/gadget/udc/trace.h:242 [inline] RIP: 0010:trace_event_raw_event_udc_log_req+0x1c1/0x6e0 drivers/usb/gadget/udc/trace.h:223 Code: 1c 3f 4c 89 f8 48 c1 e8 03 42 0f b6 04 30 84 c0 0f 85 ce 02 00 00 41 c6 07 00 48 8b 54 24 08 4c 8d 7a 08 4c 89 f8 48 c1 e8 03 <42> 0f b6 04 30 84 c0 0f 85 c8 02 00 00 41 8b 1f 4d 8d 7c 24 0c 4c RSP: 0018:ffffc9000f99f680 EFLAGS: 00010202 RAX: 0000000000000001 RBX: 0000000000000004 RCX: 0000000000000065 RDX: 0000000000000000 RSI: ffffffff866d6fe0 RDI: ffff8881233a57e8 RBP: ffffc9000f99f778 R08: 0000000000000070 R09: 0000000000000030 R10: dffffc0000000000 R11: ffffed1024674afe R12: ffff8881233a57a8 R13: ffffffff866d6fe0 R14: dffffc0000000000 R15: 0000000000000008 FS: 00007fedf9c0c6c0(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000020000089d000 CR3: 0000000113420000 CR4: 00000000003526b0 ---------------- Code disassembly (best guess): 0: 1c 3f sbb $0x3f,%al 2: 4c 89 f8 mov %r15,%rax 5: 48 c1 e8 03 shr $0x3,%rax 9: 42 0f b6 04 30 movzbl (%rax,%r14,1),%eax e: 84 c0 test %al,%al 10: 0f 85 ce 02 00 00 jne 0x2e4 16: 41 c6 07 00 movb $0x0,(%r15) 1a: 48 8b 54 24 08 mov 0x8(%rsp),%rdx 1f: 4c 8d 7a 08 lea 0x8(%rdx),%r15 23: 4c 89 f8 mov %r15,%rax 26: 48 c1 e8 03 shr $0x3,%rax * 2a: 42 0f b6 04 30 movzbl (%rax,%r14,1),%eax <-- trapping instruction 2f: 84 c0 test %al,%al 31: 0f 85 c8 02 00 00 jne 0x2ff 37: 41 8b 1f mov (%r15),%ebx 3a: 4d 8d 7c 24 0c lea 0xc(%r12),%r15 3f: 4c rex.WR