general protection fault in usbg_submit_command

Status: moderation: reported on 2026/08/10 00:35
Subsystems: usb
Labels: prio:high
[Documentation on labels]
Reported-by: syzbot+16bdcf5200bbd57d96fd@syzkaller.appspotmail.com
First crash: 5d20h, last: 5d20h
✨ AI Jobs (2)
ID Workflow Result Correct Bug Created Started Finished Revision
1ecb9007 repro-c Reproduced: ✅
general protection fault in usbg_submit_command 2026/08/10 07:51 2026/08/10 07:56 2026/08/10 08:38 5d63f80b
2b621779 assessment-security DenialOfService: ✅ Exploitable: ❌ FilesystemTrigger: ❌ NetworkTrigger: ❌ PeripheralTrigger: ✅ RemoteTrigger: ❌ Unprivileged: ❌ UserNamespace: ❌ VMGuestTrigger: ❌ VMHostTrigger: ❌ general protection fault in usbg_submit_command 2026/08/09 20:43 2026/08/09 20:43 2026/08/09 20:53 5d63f80b
Last patch testing requests (1)
Created Duration User Patch Repo Result
2026/08/10 08:58 20m nogikh@google.com upstream report log

Sample crash report:
Oops: general protection fault, probably for non-canonical address 0xdffffc00000000c0: 0000 [#1] SMP KASAN NOPTI
KASAN: null-ptr-deref in range [0x0000000000000600-0x0000000000000607]
CPU: 1 UID: 0 PID: 5137 Comm: klogd Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:usbg_submit_command.isra.0+0x7d/0xdd0 drivers/usb/gadget/function/f_tcm.c:1379
Code: 3c 02 00 0f 85 16 0c 00 00 49 8b 45 00 48 8d b8 00 06 00 00 48 89 44 24 10 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 e1 0b 00 00 48 8b 44 24 10 48 8b 80 00 06 00 00
RSP: 0018:ffffc900006a0bb0 EFLAGS: 00010006
RAX: dffffc0000000000 RBX: ffff888059c7a810 RCX: ffffffff87e9c1a3
RDX: 00000000000000c0 RSI: ffffffff87e9b359 RDI: 0000000000000600
RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: ffffc900006a0ff8 R12: ffff888059a78000
R13: ffff888059a78000 R14: ffff888059c7a800 R15: dffffc0000000000
FS:  00007f1875c4fc80(0000) GS:ffff8880d5ed8000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fee721eb700 CR3: 000000002d54b000 CR4: 0000000000352ef0
Call Trace:
 <IRQ>
 uasp_cmd_complete+0x97/0x110 drivers/usb/gadget/function/f_tcm.c:874
 dummy_giveback drivers/usb/gadget/udc/dummy_hcd.c:347 [inline]
 transfer drivers/usb/gadget/udc/dummy_hcd.c:1544 [inline]
 dummy_timer+0x1221/0x36f0 drivers/usb/gadget/udc/dummy_hcd.c:2003
 __run_hrtimer kernel/time/hrtimer.c:2032 [inline]
 __hrtimer_run_queues+0x462/0x9c0 kernel/time/hrtimer.c:2096
 hrtimer_run_softirq+0x17d/0x2c0 kernel/time/hrtimer.c:2113
 handle_softirqs+0x1ea/0x9b0 kernel/softirq.c:622
 __do_softirq kernel/softirq.c:656 [inline]
 invoke_softirq kernel/softirq.c:496 [inline]
 __irq_exit_rcu+0x162/0x210 kernel/softirq.c:735
 irq_exit_rcu+0x9/0x30 kernel/softirq.c:752
 instr_sysvec_apic_timer_interrupt arch/x86/kernel/apic/apic.c:1062 [inline]
 sysvec_apic_timer_interrupt+0xa3/0xc0 arch/x86/kernel/apic/apic.c:1062
 </IRQ>
 <TASK>
 asm_sysvec_apic_timer_interrupt+0x1a/0x20 arch/x86/include/asm/idtentry.h:674
RIP: 0010:__sanitizer_cov_trace_pc+0xb/0x70 kernel/kcov.c:213
Code: 64 00 be 03 00 00 00 5b e9 a2 32 13 03 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 65 8b 05 45 1b 5a 12 <48> 8b 34 24 65 48 8b 15 21 1b 5a 12 a9 00 01 ff 00 74 1b f6 c4 01
RSP: 0018:ffffc9000cf7fcd0 EFLAGS: 00000293
RAX: 0000000080000000 RBX: ffff888020318040 RCX: ffffffff84d1ea86
RDX: 0000000000000048 RSI: ffffc9000cf7fd58 RDI: ffff888020318040
RBP: ffffc9000cf7fd58 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000048
R13: 0000000000000048 R14: ffff888020318040 R15: ffffc9000cf7fd58
 tomoyo_socket_sendmsg+0x16/0x30 security/tomoyo/tomoyo.c:501
 security_socket_sendmsg+0xd3/0x230 security/security.c:4313
 __sock_sendmsg net/socket.c:787 [inline]
 __sys_sendto+0x278/0x4e0 net/socket.c:2252
 __do_sys_sendto net/socket.c:2259 [inline]
 __se_sys_sendto net/socket.c:2255 [inline]
 __x64_sys_sendto+0xe0/0x1c0 net/socket.c:2255
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x115/0x870 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f1875d9f407
Code: 48 89 fa 4c 89 df e8 38 aa 00 00 8b 93 08 03 00 00 59 5e 48 83 f8 fc 74 1a 5b c3 0f 1f 84 00 00 00 00 00 48 8b 44 24 10 0f 05 <5b> c3 0f 1f 80 00 00 00 00 83 e2 39 83 fa 08 75 de e8 23 ff ff ff
RSP: 002b:00007ffddca8df20 EFLAGS: 00000202 ORIG_RAX: 000000000000002c
RAX: ffffffffffffffda RBX: 00007f1875c4fc80 RCX: 00007f1875d9f407
RDX: 0000000000000048 RSI: 00007ffddca8e060 RDI: 0000000000000003
RBP: 00007ffddca8e490 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000004000 R11: 0000000000000202 R12: 00007ffddca8e4a8
R13: 00007ffddca8e060 R14: 000000000000002d R15: 00007ffddca8e060
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:usbg_submit_command.isra.0+0x7d/0xdd0 drivers/usb/gadget/function/f_tcm.c:1379
Code: 3c 02 00 0f 85 16 0c 00 00 49 8b 45 00 48 8d b8 00 06 00 00 48 89 44 24 10 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 e1 0b 00 00 48 8b 44 24 10 48 8b 80 00 06 00 00
RSP: 0018:ffffc900006a0bb0 EFLAGS: 00010006
RAX: dffffc0000000000 RBX: ffff888059c7a810 RCX: ffffffff87e9c1a3
RDX: 00000000000000c0 RSI: ffffffff87e9b359 RDI: 0000000000000600
RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: ffffc900006a0ff8 R12: ffff888059a78000
R13: ffff888059a78000 R14: ffff888059c7a800 R15: dffffc0000000000
FS:  00007f1875c4fc80(0000) GS:ffff8880d5ed8000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fee721eb700 CR3: 000000002d54b000 CR4: 0000000000352ef0
----------------
Code disassembly (best guess):
   0:	3c 02                	cmp    $0x2,%al
   2:	00 0f                	add    %cl,(%rdi)
   4:	85 16                	test   %edx,(%rsi)
   6:	0c 00                	or     $0x0,%al
   8:	00 49 8b             	add    %cl,-0x75(%rcx)
   b:	45 00 48 8d          	add    %r9b,-0x73(%r8)
   f:	b8 00 06 00 00       	mov    $0x600,%eax
  14:	48 89 44 24 10       	mov    %rax,0x10(%rsp)
  19:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  20:	fc ff df
  23:	48 89 fa             	mov    %rdi,%rdx
  26:	48 c1 ea 03          	shr    $0x3,%rdx
* 2a:	80 3c 02 00          	cmpb   $0x0,(%rdx,%rax,1) <-- trapping instruction
  2e:	0f 85 e1 0b 00 00    	jne    0xc15
  34:	48 8b 44 24 10       	mov    0x10(%rsp),%rax
  39:	48 8b 80 00 06 00 00 	mov    0x600(%rax),%rax

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/08/04 18:46 upstream 848acc8ffe1b 3c5eaa21 .config console log report info [disk image (non-bootable)] [vmlinux] [kernel image] ci-qemu-upstream general protection fault in usbg_submit_command
* Struck through repros no longer work on HEAD.