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: 11d, last: 1d08h
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: 2141 Comm: syz-executor Tainted: G W 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:ffffc90000170c50 EFLAGS: 00010206
RAX: 0000000000000009 RBX: ffff888108598210 RCX: dffffc0000000000
RDX: ffff88810cf662c0 RSI: 0000000000000003 RDI: 0000000000000005
RBP: ffffc90000170cc8 R08: ffff88813aa98173 R09: ffff88813aa98170
R10: dffffc0000000000 R11: ffffed102755302f R12: 0000000000000048
R13: ffff888108598200 R14: 1ffff110210b3040 R15: ffff88810b860c90
FS: 0000555558ca4500(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f1619df2c38 CR3: 00000001083fa000 CR4: 00000000003526a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<IRQ>
usb_ep_queue+0xce/0x210 drivers/usb/gadget/udc/core.c:290
eth_start_xmit+0x811/0xd40 drivers/usb/gadget/function/u_ether.c:588
ncm_tx_timeout+0xec/0x160 drivers/usb/gadget/function/f_ncm.c:1171
__run_hrtimer kernel/time/hrtimer.c:1587 [inline]
__hrtimer_run_queues+0x33a/0x7d0 kernel/time/hrtimer.c:1651
hrtimer_run_softirq+0x1ac/0x220 kernel/time/hrtimer.c:1668
__do_softirq+0x255/0x563 kernel/softirq.c:309
asm_call_irq_on_stack+0xf/0x20
</IRQ>
__run_on_irqstack arch/x86/include/asm/irq_stack.h:26 [inline]
run_on_irqstack_cond arch/x86/include/asm/irq_stack.h:77 [inline]
do_softirq_own_stack+0x60/0x80 arch/x86/kernel/irq_64.c:77
invoke_softirq kernel/softirq.c:405 [inline]
__irq_exit_rcu+0x128/0x150 kernel/softirq.c:435
irq_exit_rcu+0x9/0x10 kernel/softirq.c:447
sysvec_apic_timer_interrupt+0xbf/0xe0 arch/x86/kernel/apic/apic.c:1106
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:635
RIP: 0010:kvmalloc_node+0x0/0x130 mm/util.c:587
Code: ff 48 83 c4 18 5b 41 5c 41 5d 41 5e 41 5f 5d c3 e8 35 7d d4 ff 48 c7 c0 ea ff ff ff eb e3 66 2e 0f 1f 84 00 00 00 00 00 66 90 <55> 48 89 e5 41 57 41 56 41 55 41 54 53 41 89 d7 89 f3 49 89 fe e8
RSP: 0018:ffffc90000ebf268 EFLAGS: 00000246
RAX: ffffffff83ca2e50 RBX: 0000000000000010 RCX: 0000000000000000
RDX: 0000000000000000 RSI: 0000000000000cc0 RDI: 0000000000000010
RBP: ffffc90000ebf2d0 R08: 000000000000000d R09: ffffffff84a000c5
R10: 0000000000000002 R11: 0000000069d37041 R12: 0000000000000010
R13: dffffc0000000000 R14: 0000000000000002 R15: 0000000000000000
__do_replace+0x16f/0x9f0 net/ipv6/netfilter/ip6_tables.c:1081
do_replace net/ipv6/netfilter/ip6_tables.c:1158 [inline]
do_ip6t_set_ctl+0xa98/0xd80 net/ipv6/netfilter/ip6_tables.c:1643
nf_setsockopt+0x272/0x2a0 net/netfilter/nf_sockopt.c:101
ipv6_setsockopt+0x2568/0x36f0 net/ipv6/ipv6_sockglue.c:1014
tcp_setsockopt+0x22b/0x1d80 net/ipv4/tcp.c:3500
sock_common_setsockopt+0xa0/0xb0 net/core/sock.c:3327
__sys_setsockopt+0x2fa/0x480 net/socket.c:2147
__do_sys_setsockopt net/socket.c:2158 [inline]
__se_sys_setsockopt net/socket.c:2155 [inline]
__x64_sys_setsockopt+0xbf/0xd0 net/socket.c:2155
do_syscall_64+0x31/0x40 arch/x86/entry/common.c:46
entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f1619ba385a
Code: 48 83 ec 10 48 63 c9 48 63 ff 45 89 c9 6a 2c e8 6c 99 fb ff 48 83 c4 18 c3 0f 1f 80 00 00 00 00 49 89 ca b8 36 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 06 c3 0f 1f 44 00 00 48 c7 c2 e8 ff ff ff f7
RSP: 002b:00007fff204bd398 EFLAGS: 00000202 ORIG_RAX: 0000000000000036
RAX: ffffffffffffffda RBX: 00007fff204bd420 RCX: 00007f1619ba385a
RDX: 0000000000000040 RSI: 0000000000000029 RDI: 0000000000000003
RBP: 0000000000000003 R08: 0000000000000558 R09: 0000000000000000
R10: 00007f1619df2be0 R11: 0000000000000202 R12: 00007f1619df2b80
R13: 00007fff204bd3bc R14: 0000000000000000 R15: 00007f1619df3fc0
Modules linked in:
---[ end trace 62655fdf512f5af3 ]---
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:ffffc90000170c50 EFLAGS: 00010206
RAX: 0000000000000009 RBX: ffff888108598210 RCX: dffffc0000000000
RDX: ffff88810cf662c0 RSI: 0000000000000003 RDI: 0000000000000005
RBP: ffffc90000170cc8 R08: ffff88813aa98173 R09: ffff88813aa98170
R10: dffffc0000000000 R11: ffffed102755302f R12: 0000000000000048
R13: ffff888108598200 R14: 1ffff110210b3040 R15: ffff88810b860c90
FS: 0000555558ca4500(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f1619df2c38 CR3: 00000001083fa000 CR4: 00000000003526a0
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.