syzbot
general protection fault in dummy_queue
Status:
premoderation: reported on 2026/07/27 14:26
Reported-by: syzbot+7c7392f5fd9c3161a521@syzkaller.appspotmail.com
First crash: 5d17h, last: 2d18h
Sample crash report:
Oops: general protection fault, probably for non-canonical address 0xdffffc000000000a: 0000 [#1] PREEMPT SMP KASAN PTI
KASAN: null-ptr-deref in range [0x0000000000000050-0x0000000000000057]
CPU: 1 UID: 101 PID: 657 Comm: dhcpcd Not tainted syzkaller #0 0b31bef96cff8e44f9e14c4f768eb06c85e3b290
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026
RIP: 0010:dummy_queue+0x1c0/0x8e0 drivers/usb/gadget/udc/dummy_hcd.c:717
Code: fc ff df 80 3c 08 00 74 08 4c 89 e7 e8 79 a1 26 fe 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 f5 05 00 00 45 8b 24 24 44 89 e6 83 e6 02
RSP: 0018:ffffc90010847028 EFLAGS: 00010206
RAX: 000000000000000a RBX: ffff88811c5bcc10 RCX: dffffc0000000000
RDX: ffff88810db99300 RSI: 0000000000000003 RDI: 0000000000000005
RBP: ffffc900108470a0 R08: ffff888139b5f2a3 R09: 1ffff1102736be54
R10: 0000000000000000 R11: ffffffff83b99190 R12: 0000000000000050
R13: ffff88811c5bcc00 R14: 1ffff110238b7980 R15: ffff8881062d8c90
FS: 00007f0ae18d5740(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0c73787100 CR3: 000000010cf84000 CR4: 00000000003526b0
Call Trace:
<TASK>
usb_ep_queue+0xe3/0x230 drivers/usb/gadget/udc/core.c:303
eth_start_xmit+0x9c1/0xf90 drivers/usb/gadget/function/u_ether.c:578
__netdev_start_xmit include/linux/netdevice.h:5008 [inline]
netdev_start_xmit include/linux/netdevice.h:5017 [inline]
xmit_one net/core/dev.c:3693 [inline]
dev_hard_start_xmit+0x233/0x730 net/core/dev.c:3709
sch_direct_xmit+0x27d/0x9c0 net/sched/sch_generic.c:346
__dev_xmit_skb net/core/dev.c:3935 [inline]
__dev_queue_xmit+0x1611/0x3780 net/core/dev.c:4511
dev_queue_xmit include/linux/netdevice.h:3141 [inline]
packet_xmit+0x76/0x360 net/packet/af_packet.c:276
packet_snd net/packet/af_packet.c:3135 [inline]
packet_sendmsg+0x435e/0x56b0 net/packet/af_packet.c:3167
sock_sendmsg_nosec net/socket.c:730 [inline]
__sock_sendmsg net/socket.c:745 [inline]
sock_write_iter+0x442/0x490 net/socket.c:1166
do_iter_readv_writev+0x62c/0x820 fs/read_write.c:-1
vfs_writev+0x4a5/0xe90 fs/read_write.c:1076
do_writev+0x151/0x2e0 fs/read_write.c:1123
__do_sys_writev fs/read_write.c:1196 [inline]
__se_sys_writev fs/read_write.c:1193 [inline]
__x64_sys_writev+0x81/0x90 fs/read_write.c:1193
x64_sys_call+0x1fbb/0x2ee0 arch/x86/include/generated/asm/syscalls_64.h:21
do_syscall_x64 arch/x86/entry/common.c:47 [inline]
do_syscall_64+0x57/0xf0 arch/x86/entry/common.c:78
entry_SYSCALL_64_after_hwframe+0x76/0x7e
RIP: 0033:0x7f0ae195f407
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:00007fff336be7f0 EFLAGS: 00000202 ORIG_RAX: 0000000000000014
RAX: ffffffffffffffda RBX: 00007f0ae18d5740 RCX: 00007f0ae195f407
RDX: 0000000000000002 RSI: 00007fff336be850 RDI: 0000000000000003
RBP: 0000000000000188 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 00007fff336be890
R13: 000056271c050770 R14: 00007fff336be8e0 R15: 00007fff336ceab0
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:dummy_queue+0x1c0/0x8e0 drivers/usb/gadget/udc/dummy_hcd.c:717
Code: fc ff df 80 3c 08 00 74 08 4c 89 e7 e8 79 a1 26 fe 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 f5 05 00 00 45 8b 24 24 44 89 e6 83 e6 02
RSP: 0018:ffffc90010847028 EFLAGS: 00010206
RAX: 000000000000000a RBX: ffff88811c5bcc10 RCX: dffffc0000000000
RDX: ffff88810db99300 RSI: 0000000000000003 RDI: 0000000000000005
RBP: ffffc900108470a0 R08: ffff888139b5f2a3 R09: 1ffff1102736be54
R10: 0000000000000000 R11: ffffffff83b99190 R12: 0000000000000050
R13: ffff88811c5bcc00 R14: 1ffff110238b7980 R15: ffff8881062d8c90
FS: 00007f0ae18d5740(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0c73787100 CR3: 000000010cf84000 CR4: 00000000003526b0
----------------
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 79 a1 26 fe call 0xfe26a18a
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 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.