syzbot
general protection fault in dummy_queue
Status:
premoderation: reported on 2026/07/24 13:21
Reported-by: syzbot+d09fbdbe770080014b26@syzkaller.appspotmail.com
First crash: 9d12h, last: 4h40m
Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc0000000009: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000048-0x000000000000004f]
CPU: 1 PID: 1632 Comm: syz.0.348 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:dummy_queue+0x1b7/0x870 drivers/usb/gadget/udc/dummy_hcd.c:712
Code: fc ff df 80 3c 08 00 74 08 4c 89 e7 e8 42 39 92 fe 4d 8b 24 24 49 83 c4 48 4c 89 e0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <0f> b6 04 08 84 c0 0f 85 80 05 00 00 45 8b 24 24 44 89 e6 83 e6 02
RSP: 0018:ffffc90000e979c0 EFLAGS: 00010206
RAX: 0000000000000009 RBX: ffff88810bc8de10 RCX: dffffc0000000000
RDX: ffff888110f30000 RSI: 0000000000000003 RDI: 0000000000000005
RBP: ffffc90000e97a38 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff520001d2f3c R12: 0000000000000048
R13: ffff88810bc8de00 R14: 1ffff11021791bc0 R15: ffff888100bccc90
FS: 00007f9e9aad86c0(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b34610ff8 CR3: 000000012564b000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
usb_ep_queue+0xce/0x210 drivers/usb/gadget/udc/core.c:290
raw_process_ep_io+0x5cc/0xa00 drivers/usb/gadget/legacy/raw_gadget.c:1060
raw_ioctl_ep_write drivers/usb/gadget/legacy/raw_gadget.c:1100 [inline]
raw_ioctl+0x2057/0x3040 drivers/usb/gadget/legacy/raw_gadget.c:1273
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:0x7f9e9c07ecab
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:00007f9e9aad6f60 EFLAGS: 00000246 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000000008 RCX: 00007f9e9c07ecab
RDX: 00007f9e9aad6fe0 RSI: 0000000040085507 RDI: 0000000000000006
RBP: 0000000000000006 R08: 00007f9e9c431320 R09: 0000000000000000
R10: 0000000000000006 R11: 0000000000000246 R12: 00002000000000c0
R13: 000000000000000c R14: 00007f9e9c306fa0 R15: 00007ffd23442d38
Modules linked in:
---[ end trace 46429ccdb61cc64b ]---
RIP: 0010:dummy_queue+0x1b7/0x870 drivers/usb/gadget/udc/dummy_hcd.c:712
Code: fc ff df 80 3c 08 00 74 08 4c 89 e7 e8 42 39 92 fe 4d 8b 24 24 49 83 c4 48 4c 89 e0 48 c1 e8 03 48 b9 00 00 00 00 00 fc ff df <0f> b6 04 08 84 c0 0f 85 80 05 00 00 45 8b 24 24 44 89 e6 83 e6 02
RSP: 0018:ffffc90000e979c0 EFLAGS: 00010206
RAX: 0000000000000009 RBX: ffff88810bc8de10 RCX: dffffc0000000000
RDX: ffff888110f30000 RSI: 0000000000000003 RDI: 0000000000000005
RBP: ffffc90000e97a38 R08: 0000000000000003 R09: 0000000000000004
R10: dffffc0000000000 R11: fffff520001d2f3c R12: 0000000000000048
R13: ffff88810bc8de00 R14: 1ffff11021791bc0 R15: ffff888100bccc90
FS: 00007f9e9aad86c0(0000) GS:ffff8881f7000000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000200000102030 CR3: 000000012564b000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: fc cld
1: ff lcall (bad)
2: df 80 3c 08 00 74 filds 0x7400083c(%rax)
8: 08 4c 89 e7 or %cl,-0x19(%rcx,%rcx,4)
c: e8 42 39 92 fe call 0xfe923953
11: 4d 8b 24 24 mov (%r12),%r12
15: 49 83 c4 48 add $0x48,%r12
19: 4c 89 e0 mov %r12,%rax
1c: 48 c1 e8 03 shr $0x3,%rax
20: 48 b9 00 00 00 00 00 movabs $0xdffffc0000000000,%rcx
27: fc ff df
* 2a: 0f b6 04 08 movzbl (%rax,%rcx,1),%eax <-- trapping instruction
2e: 84 c0 test %al,%al
30: 0f 85 80 05 00 00 jne 0x5b6
36: 45 8b 24 24 mov (%r12),%r12d
3a: 44 89 e6 mov %r12d,%esi
3d: 83 e6 02 and $0x2,%esi
* Struck through repros no longer work on HEAD.