syzbot
general protection fault in dummy_queue
Status:
premoderation: reported on 2026/07/24 18:37
Reported-by: syzbot+3f70685ffe25ec9d2703@syzkaller.appspotmail.com
First crash: 6d22h, last: 4d12h
Sample crash report:
general protection fault, probably for non-canonical address 0xdffffc000000000b: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000058-0x000000000000005f]
CPU: 1 PID: 928 Comm: dhcpcd Tainted: G W syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/16/2026
RIP: 0010:dummy_queue+0x1b7/0x8e0 drivers/usb/gadget/udc/dummy_hcd.c:717
Code: fc ff df 80 3c 08 00 74 08 4c 89 e7 e8 92 63 6a fe 4d 8b 24 24 49 83 c4 58 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 f5 05 00 00 45 8b 24 24 44 89 e6 83 e6 02
RSP: 0018:ffffc900046870f8 EFLAGS: 00010202
RAX: 000000000000000b RBX: ffff88810e489910 RCX: dffffc0000000000
RDX: ffff88812d500000 RSI: 0000000000000003 RDI: 0000000000000005
RBP: ffffc90004687170 R08: 0000000000000003 R09: 0000000000000004
R10: 0000000000000000 R11: ffffffff834c8bc0 R12: 0000000000000058
R13: ffff88810e489900 R14: 1ffff11021c91320 R15: ffff88810da88c90
FS: 00007fc3245ca740(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f463e952000 CR3: 0000000123d18000 CR4: 00000000003506a0
Call Trace:
<TASK>
usb_ep_queue+0xdf/0x220 drivers/usb/gadget/udc/core.c:308
eth_start_xmit+0x87c/0xe50 drivers/usb/gadget/function/u_ether.c:588
__netdev_start_xmit include/linux/netdevice.h:4930 [inline]
netdev_start_xmit include/linux/netdevice.h:4944 [inline]
xmit_one net/core/dev.c:3706 [inline]
dev_hard_start_xmit+0x207/0x730 net/core/dev.c:3722
sch_direct_xmit+0x279/0x9c0 net/sched/sch_generic.c:345
__dev_xmit_skb net/core/dev.c:3943 [inline]
__dev_queue_xmit+0x163e/0x3540 net/core/dev.c:4348
dev_queue_xmit+0x17/0x20 include/linux/netdevice.h:3085
packet_snd net/packet/af_packet.c:3127 [inline]
packet_sendmsg+0x3eea/0x5280 net/packet/af_packet.c:3158
sock_sendmsg_nosec net/socket.c:716 [inline]
__sock_sendmsg net/socket.c:728 [inline]
sock_write_iter+0x2ea/0x3f0 net/socket.c:1133
do_iter_readv_writev fs/read_write.c:-1 [inline]
do_iter_write+0x65a/0xb30 fs/read_write.c:861
vfs_writev+0x339/0x5f0 fs/read_write.c:934
do_writev+0x14e/0x2c0 fs/read_write.c:977
__do_sys_writev fs/read_write.c:1050 [inline]
__se_sys_writev fs/read_write.c:1047 [inline]
__x64_sys_writev+0x7d/0x90 fs/read_write.c:1047
x64_sys_call+0xad/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:21
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:0x7fc324654407
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:00007ffddab5d7f0 EFLAGS: 00000202 ORIG_RAX: 0000000000000014
RAX: ffffffffffffffda RBX: 00007fc3245ca740 RCX: 00007fc324654407
RDX: 0000000000000002 RSI: 00007ffddab5d850 RDI: 0000000000000003
RBP: 0000000000000188 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 00007ffddab5d890
R13: 000055cdbdb87fb0 R14: 00007ffddab5d8e0 R15: 00007ffddab6dab0
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:dummy_queue+0x1b7/0x8e0 drivers/usb/gadget/udc/dummy_hcd.c:717
Code: fc ff df 80 3c 08 00 74 08 4c 89 e7 e8 92 63 6a fe 4d 8b 24 24 49 83 c4 58 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 f5 05 00 00 45 8b 24 24 44 89 e6 83 e6 02
RSP: 0018:ffffc900046870f8 EFLAGS: 00010202
RAX: 000000000000000b RBX: ffff88810e489910 RCX: dffffc0000000000
RDX: ffff88812d500000 RSI: 0000000000000003 RDI: 0000000000000005
RBP: ffffc90004687170 R08: 0000000000000003 R09: 0000000000000004
R10: 0000000000000000 R11: ffffffff834c8bc0 R12: 0000000000000058
R13: ffff88810e489900 R14: 1ffff11021c91320 R15: ffff88810da88c90
FS: 00007fc3245ca740(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f463e952000 CR3: 0000000123d18000 CR4: 00000000003506a0
----------------
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 92 63 6a fe call 0xfe6a63a3
11: 4d 8b 24 24 mov (%r12),%r12
15: 49 83 c4 58 add $0x58,%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 f5 05 00 00 jne 0x62b
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.