general protection fault in trace_event_raw_event_udc_log_req

Status: premoderation: reported syz repro on 2026/09/04 05:20
Reported-by: syzbot+8e1b1f64c9af2ecd6261@syzkaller.appspotmail.com
First crash: 86d, last: 3d00h
▶ ▼ Similar bugs (4)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-15 general protection fault in trace_event_raw_event_udc_log_req 2 syz 2 1d02h 10d 0/2 premoderation: reported syz repro on 2026/11/19 04:31
android-6-1 general protection fault in trace_event_raw_event_udc_log_req 2 2 78d 78d 0/2 premoderation: reported on 2026/09/12 05:56
upstream KASAN: slab-use-after-free Read in trace_event_raw_event_udc_log_req prio:normal usb 19 C 4 2d01h 114d 20/30 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 syz 20 7d13h 108d 0/1 premoderation: reported syz repro on 2026/08/13 03:18

Sample crash report:
RBP: 0000000000000004 R08: 0000000000000000 R09: 0000000000000039
R10: 0000000000000004 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f950c8b0530 R14: 0000000000000000 R15: 00007f950c8b034e
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: 400 Comm: syz.2.17 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 11/06/2026
RIP: 0010:trace_event_raw_event_udc_log_req+0x1a8/0x6d0 drivers/usb/gadget/udc/trace.h:232
Code: 92 fe 49 8b 4d 00 be 00 02 00 00 4c 89 ff 48 c7 c2 c0 36 58 85 e8 38 15 4f ff 48 8b 54 24 10 4c 8d 6a 08 4c 89 e8 48 c1 e8 03 <42> 0f b6 04 30 84 c0 0f 85 f6 02 00 00 45 8b 7d 00 4d 8d 6c 24 0c
RSP: 0018:ffffc9000428fa80 EFLAGS: 00010002
RAX: 0000000000000001 RBX: 1ffff92000851f54 RCX: 327cc44d13bd6f00
RDX: 0000000000000000 RSI: 0000000000000200 RDI: 0000000000000000
RBP: ffffc9000428fb78 R08: ffff888118426400 R09: 0000000000000012
R10: 0000000000000012 R11: 0000000000000000 R12: ffff888125b3c4ec
R13: 0000000000000008 R14: dffffc0000000000 R15: ffff888125b3c52c
FS:  000055557ed1e500(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000558e413870b8 CR3: 00000001190f2000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 trace_usb_ep_alloc_request drivers/usb/gadget/udc/trace.h:254 [inline]
 usb_ep_alloc_request+0x12c/0x180 drivers/usb/gadget/udc/core.c:198
 raw_ioctl_ep_enable drivers/usb/gadget/legacy/raw_gadget.c:842 [inline]
 raw_ioctl+0x24c9/0x3040 drivers/usb/gadget/legacy/raw_gadget.c:1267
 vfs_ioctl fs/ioctl.c:48 [inline]
 __do_sys_ioctl fs/ioctl.c:753 [inline]
 __se_sys_ioctl+0x121/0x1a0 fs/ioctl.c:739
 __x64_sys_ioctl+0x7b/0x90 fs/ioctl.c:739
 do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46
 entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f950c50916b
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:00007ffe88f3cf40 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 00007f950c8b0320 RCX: 00007f950c50916b
RDX: 00007f950c8b034c RSI: 0000000040095505 RDI: 0000000000000004
RBP: 0000000000000004 R08: 0000000000000000 R09: 0000000000000039
R10: 0000000000000004 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f950c8b0530 R14: 0000000000000000 R15: 00007f950c8b034e
Modules linked in:
---[ end trace 66dbfd5a179a6659 ]---
RIP: 0010:trace_event_raw_event_udc_log_req+0x1a8/0x6d0 drivers/usb/gadget/udc/trace.h:232
Code: 92 fe 49 8b 4d 00 be 00 02 00 00 4c 89 ff 48 c7 c2 c0 36 58 85 e8 38 15 4f ff 48 8b 54 24 10 4c 8d 6a 08 4c 89 e8 48 c1 e8 03 <42> 0f b6 04 30 84 c0 0f 85 f6 02 00 00 45 8b 7d 00 4d 8d 6c 24 0c
RSP: 0018:ffffc9000428fa80 EFLAGS: 00010002
RAX: 0000000000000001 RBX: 1ffff92000851f54 RCX: 327cc44d13bd6f00
RDX: 0000000000000000 RSI: 0000000000000200 RDI: 0000000000000000
RBP: ffffc9000428fb78 R08: ffff888118426400 R09: 0000000000000012
R10: 0000000000000012 R11: 0000000000000000 R12: ffff888125b3c4ec
R13: 0000000000000008 R14: dffffc0000000000 R15: ffff888125b3c52c
FS:  000055557ed1e500(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000558e413870b8 CR3: 00000001190f2000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	92                   	xchg   %eax,%edx
   1:	fe 49 8b             	decb   -0x75(%rcx)
   4:	4d 00 be 00 02 00 00 	rex.WRB add %r15b,0x200(%r14)
   b:	4c 89 ff             	mov    %r15,%rdi
   e:	48 c7 c2 c0 36 58 85 	mov    $0xffffffff855836c0,%rdx
  15:	e8 38 15 4f ff       	call   0xff4f1552
  1a:	48 8b 54 24 10       	mov    0x10(%rsp),%rdx
  1f:	4c 8d 6a 08          	lea    0x8(%rdx),%r13
  23:	4c 89 e8             	mov    %r13,%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 f6 02 00 00    	jne    0x32d
  37:	45 8b 7d 00          	mov    0x0(%r13),%r15d
  3b:	4d 8d 6c 24 0c       	lea    0xc(%r12),%r13

Crashes (8):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/11/16 12:20 android13-5.10-lts c73351b2e985 31830773 .config strace log report syz / log [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in trace_event_raw_event_udc_log_req
2026/11/26 08:09 android13-5.10-lts b1ee1137bb9a 9a575fe5 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in trace_event_raw_event_udc_log_req
2026/11/24 09:36 android13-5.10-lts c14ea03d0169 fab64d89 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in trace_event_raw_event_udc_log_req
2026/11/15 18:13 android13-5.10-lts c73351b2e985 819ebe34 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in trace_event_raw_event_udc_log_req
2026/09/24 05:25 android13-5.10-lts 452567d1985b 0281b448 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in trace_event_raw_event_udc_log_req
2026/09/12 00:04 android13-5.10-lts 452567d1985b b6a5eeb7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in trace_event_raw_event_udc_log_req
2026/09/04 05:25 android13-5.10-lts 452567d1985b 801f0966 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in trace_event_raw_event_udc_log_req
2026/09/04 05:19 android13-5.10-lts 452567d1985b 801f0966 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 general protection fault in trace_event_raw_event_udc_log_req
* Struck through repros no longer work on HEAD.