syzbot
general protection fault in dummy_queue
Status:
upstream: reported on 2026/07/25 01:05
Reported-by: syzbot+776f67b58dca4e701ca7@syzkaller.appspotmail.com
First crash: 13d, last: 3d01h
Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc000000000a: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000050-0x0000000000000057]
CPU: 0 PID: 6218 Comm: dhcpcd Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:dummy_queue+0x1a6/0x910 drivers/usb/gadget/udc/dummy_hcd.c:736
Code: fc ff df 80 3c 08 00 74 08 4c 89 e7 e8 d3 61 25 fb 4d 8b 24 24 49 83 c4 50 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 09 06 00 00 45 8b 24 24 44 89 e6 83 e6 02
RSP: 0018:ffffc9000b607218 EFLAGS: 00010206
RAX: 000000000000000a RBX: ffff88807c6ba910 RCX: dffffc0000000000
RDX: ffff888026ee3c00 RSI: 0000000000000003 RDI: 0000000000000005
RBP: ffff88807c6ba900 R08: ffffffff911eb5c7 R09: 1ffffffff223d6b8
R10: dffffc0000000000 R11: fffffbfff223d6b9 R12: 0000000000000050
R13: 1ffff1100f8d7520 R14: ffff888021384248 R15: ffff888021384c00
FS: 00007ffb8e681740(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffebc5dfd74 CR3: 000000001b2bb000 CR4: 00000000003506f0
Call Trace:
<TASK>
usb_ep_queue+0xea/0x350 drivers/usb/gadget/udc/core.c:305
eth_start_xmit+0xa51/0x1130 drivers/usb/gadget/function/u_ether.c:578
__netdev_start_xmit include/linux/netdevice.h:4945 [inline]
netdev_start_xmit include/linux/netdevice.h:4959 [inline]
xmit_one net/core/dev.c:3644 [inline]
dev_hard_start_xmit+0x269/0x790 net/core/dev.c:3660
sch_direct_xmit+0x251/0x4a0 net/sched/sch_generic.c:345
__dev_xmit_skb net/core/dev.c:3881 [inline]
__dev_queue_xmit+0x162a/0x3630 net/core/dev.c:4416
packet_snd net/packet/af_packet.c:3142 [inline]
packet_sendmsg+0x3a7b/0x4c70 net/packet/af_packet.c:3174
sock_sendmsg_nosec net/socket.c:730 [inline]
__sock_sendmsg net/socket.c:745 [inline]
sock_write_iter+0x2dc/0x420 net/socket.c:1161
do_iter_readv_writev fs/read_write.c:-1 [inline]
do_iter_write+0x747/0xc50 fs/read_write.c:860
vfs_writev fs/read_write.c:933 [inline]
do_writev+0x27f/0x480 fs/read_write.c:976
do_syscall_x64 arch/x86/entry/common.c:46 [inline]
do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:76
entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7ffb8e70b407
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:00007ffebc5d1140 EFLAGS: 00000202 ORIG_RAX: 0000000000000014
RAX: ffffffffffffffda RBX: 00007ffb8e681740 RCX: 00007ffb8e70b407
RDX: 0000000000000002 RSI: 00007ffebc5d11a0 RDI: 0000000000000003
RBP: 000000000000005c R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 00007ffebc5d11e0
R13: 000055a387d680f0 R14: 00007ffebc5d1230 R15: 00007ffebc5e1400
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:dummy_queue+0x1a6/0x910 drivers/usb/gadget/udc/dummy_hcd.c:736
Code: fc ff df 80 3c 08 00 74 08 4c 89 e7 e8 d3 61 25 fb 4d 8b 24 24 49 83 c4 50 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 09 06 00 00 45 8b 24 24 44 89 e6 83 e6 02
RSP: 0018:ffffc9000b607218 EFLAGS: 00010206
RAX: 000000000000000a RBX: ffff88807c6ba910 RCX: dffffc0000000000
RDX: ffff888026ee3c00 RSI: 0000000000000003 RDI: 0000000000000005
RBP: ffff88807c6ba900 R08: ffffffff911eb5c7 R09: 1ffffffff223d6b8
R10: dffffc0000000000 R11: fffffbfff223d6b9 R12: 0000000000000050
R13: 1ffff1100f8d7520 R14: ffff888021384248 R15: ffff888021384c00
FS: 00007ffb8e681740(0000) GS:ffff8880b8e00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffebc5dfd74 CR3: 000000001b2bb000 CR4: 00000000003506f0
----------------
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 d3 61 25 fb call 0xfb2561e4
11: 4d 8b 24 24 mov (%r12),%r12
15: 49 83 c4 50 add $0x50,%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 09 06 00 00 jne 0x63f
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.