general protection fault in trace_event_raw_event_udc_log_req

Status: premoderation: reported on 2026/09/12 05:56
Reported-by: syzbot+6200507c9116734355d6@syzkaller.appspotmail.com
First crash: 8d02h, last: 8d02h
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-10 general protection fault in trace_event_raw_event_udc_log_req 2 3 8d08h 16d 0/2 premoderation: reported on 2026/09/04 05:20
upstream KASAN: slab-use-after-free Read in trace_event_raw_event_udc_log_req usb 19 C 2 3d11h 44d 26/29 upstream: reported C repro on 2026/08/06 15:27
android-6-12 general protection fault in trace_event_raw_event_udc_log_req 2 6 13h55m 38d 0/1 premoderation: reported on 2026/08/13 03:18

Sample crash report:
RBP: 00007f11f73c0fd0 R08: 0000000000000001 R09: 00000000ffffffff
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000200000000040 R14: 0000000000000000 R15: 0000000000000000
 </TASK>
general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f]
CPU: 1 PID: 10343 Comm: syz.4.3116 Tainted: G        W          syzkaller #0
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:237 [inline]
RIP: 0010:trace_event_raw_event_udc_log_req+0x1b6/0x6b0 drivers/usb/gadget/udc/trace.h:218
Code: fe 48 8b 03 48 85 c0 48 c7 c6 a0 72 e3 85 48 0f 45 f0 4c 89 ff e8 da 37 a6 01 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 a3 02 00 00 41 8b 1f 4d 8d 7c 24 0c 4c
RSP: 0018:ffffc90009b2f660 EFLAGS: 00010202
RAX: 0000000000000001 RBX: ffff88810debc038 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff85e37f00 RDI: ffff88811be6e73f
RBP: ffffc90009b2f748 R08: ffff88811313e540 R09: 0000000000000002
R10: fffffffffffffff5 R11: 0000000000000002 R12: ffff88811be6e6fc
R13: 1ffff11021bd7807 R14: dffffc0000000000 R15: 0000000000000008
FS:  00007f11f73c26c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f376afeaff8 CR3: 000000013ed94000 CR4: 00000000003506a0
Call Trace:
 <TASK>
 trace_usb_ep_alloc_request drivers/usb/gadget/udc/trace.h:259 [inline]
 usb_ep_alloc_request+0x162/0x1b0 drivers/usb/gadget/udc/core.c:200
 gadget_bind+0xe1/0x580 drivers/usb/gadget/legacy/raw_gadget.c:293
 gadget_bind_driver+0x2eb/0x990 drivers/usb/gadget/udc/core.c:1582
 call_driver_probe drivers/base/dd.c:-1 [inline]
 really_probe+0x2d7/0x9a0 drivers/base/dd.c:639
 __driver_probe_device+0x193/0x270 drivers/base/dd.c:808
 driver_probe_device+0x54/0x3e0 drivers/base/dd.c:838
 __driver_attach+0x41a/0x5d0 drivers/base/dd.c:1224
 bus_for_each_dev+0x18c/0x200 drivers/base/bus.c:303
 driver_attach+0x42/0x50 drivers/base/dd.c:1241
 bus_add_driver+0x322/0x560 drivers/base/bus.c:620
 driver_register+0x335/0x440 drivers/base/driver.c:246
 usb_gadget_register_driver_owner+0xf8/0x270 drivers/usb/gadget/udc/core.c:1672
 raw_ioctl_run drivers/usb/gadget/legacy/raw_gadget.c:549 [inline]
 raw_ioctl+0x112c/0x3180 drivers/usb/gadget/legacy/raw_gadget.c:1262
 vfs_ioctl fs/ioctl.c:51 [inline]
 __do_sys_ioctl fs/ioctl.c:870 [inline]
 __se_sys_ioctl+0x12f/0x1b0 fs/ioctl.c:856
 __x64_sys_ioctl+0x7b/0x90 fs/ioctl.c:856
 x64_sys_call+0x58b/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:17
 do_syscall_x64 arch/x86/entry/common.c:46 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:76
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f11f659ddeb
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:00007f11f73bff00 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000006 RCX: 00007f11f659ddeb
RDX: 0000000000000000 RSI: 0000000000005501 RDI: 0000000000000006
RBP: 00007f11f73c0fd0 R08: 0000000000000001 R09: 00000000ffffffff
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000200000000040 R14: 0000000000000000 R15: 0000000000000000
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:do_trace_event_raw_event_udc_log_req drivers/usb/gadget/udc/trace.h:237 [inline]
RIP: 0010:trace_event_raw_event_udc_log_req+0x1b6/0x6b0 drivers/usb/gadget/udc/trace.h:218
Code: fe 48 8b 03 48 85 c0 48 c7 c6 a0 72 e3 85 48 0f 45 f0 4c 89 ff e8 da 37 a6 01 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 a3 02 00 00 41 8b 1f 4d 8d 7c 24 0c 4c
RSP: 0018:ffffc90009b2f660 EFLAGS: 00010202
RAX: 0000000000000001 RBX: ffff88810debc038 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff85e37f00 RDI: ffff88811be6e73f
RBP: ffffc90009b2f748 R08: ffff88811313e540 R09: 0000000000000002
R10: fffffffffffffff5 R11: 0000000000000002 R12: ffff88811be6e6fc
R13: 1ffff11021bd7807 R14: dffffc0000000000 R15: 0000000000000008
FS:  00007f11f73c26c0(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f376afeaff8 CR3: 000000013ed94000 CR4: 00000000003506a0
----------------
Code disassembly (best guess):
   0:	fe 48 8b             	decb   -0x75(%rax)
   3:	03 48 85             	add    -0x7b(%rax),%ecx
   6:	c0 48 c7 c6          	rorb   $0xc6,-0x39(%rax)
   a:	a0 72 e3 85 48 0f 45 	movabs 0x4cf0450f4885e372,%al
  11:	f0 4c
  13:	89 ff                	mov    %edi,%edi
  15:	e8 da 37 a6 01       	call   0x1a637f4
  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 a3 02 00 00    	jne    0x2da
  37:	41 8b 1f             	mov    (%r15),%ebx
  3a:	4d 8d 7c 24 0c       	lea    0xc(%r12),%r15
  3f:	4c                   	rex.WR

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/09/12 05:58 android14-6.1 6308d6d3f1b1 70a60e12 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in trace_event_raw_event_udc_log_req
2026/09/12 05:55 android14-6.1 6308d6d3f1b1 70a60e12 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 general protection fault in trace_event_raw_event_udc_log_req
* Struck through repros no longer work on HEAD.