Oops: general protection fault, probably for non-canonical address 0xdffffc000000000c: 0000 [#1] SMP KASAN NOPTI
KASAN: null-ptr-deref in range [0x0000000000000060-0x0000000000000067]
CPU: 0 UID: 101 PID: 8483 Comm: dhcpcd Tainted: G L syzkaller #0 PREEMPT(full)
Tainted: [L]=SOFTLOCKUP
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:dummy_queue+0x1ba/0xb00 drivers/usb/gadget/udc/dummy_hcd.c:737
Code: 00 49 83 bc 24 c8 05 00 00 00 0f 84 a6 07 00 00 e8 fb b2 33 fa 49 8d 7f 60 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e 4f 07 00 00 45 8b 7f 60 31 ff
RSP: 0018:ffffc90000007d50 EFLAGS: 00010206
RAX: dffffc0000000000 RBX: ffff88805afe3910 RCX: 0000000000000101
RDX: 000000000000000c RSI: ffffffff87d74ed5 RDI: 0000000000000060
RBP: ffff88802cbe4248 R08: 0000000000000005 R09: 0000000000000005
R10: 0000000000000003 R11: 0000000000000001 R12: ffff88802cbe4c00
R13: ffff88805afe3900 R14: ffff88802cbe4240 R15: 0000000000000000
FS: 00007fa2f00f5780(0000) GS:ffff8880d5ba2000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555563a104e8 CR3: 000000002c326000 CR4: 0000000000352ef0
Call Trace:
usb_ep_queue+0xfa/0x3c0 drivers/usb/gadget/udc/core.c:305
eth_start_xmit+0x684/0x1390 drivers/usb/gadget/function/u_ether.c:579
ncm_tx_timeout+0x7f/0xb0 drivers/usb/gadget/function/f_ncm.c:1161
__run_hrtimer kernel/time/hrtimer.c:2067 [inline]
__hrtimer_run_queues+0x462/0x9c0 kernel/time/hrtimer.c:2124
hrtimer_run_softirq+0x1ca/0x360 kernel/time/hrtimer.c:2141
handle_softirqs+0x1e6/0x9d0 kernel/softirq.c:645
do_softirq kernel/softirq.c:546 [inline]
do_softirq+0xaf/0xf0 kernel/softirq.c:533
__local_bh_enable_ip+0xff/0x120 kernel/softirq.c:473
local_bh_enable include/linux/bottom_half.h:33 [inline]
rcu_read_unlock_bh include/linux/rcupdate.h:914 [inline]
__dev_queue_xmit+0xa27/0x4970 net/core/dev.c:4961
dev_queue_xmit include/linux/netdevice.h:3461 [inline]
packet_xmit+0x243/0x310 net/packet/af_packet.c:276
packet_snd net/packet/af_packet.c:3107 [inline]
packet_sendmsg+0x30cc/0x4f00 net/packet/af_packet.c:3139
sock_sendmsg_nosec net/socket.c:800 [inline]
__sock_sendmsg net/socket.c:815 [inline]
sock_write_iter+0x53a/0x5b0 net/socket.c:1266
do_iter_readv_writev+0x6f7/0x930 fs/read_write.c:828
vfs_writev+0x360/0xdd0 fs/read_write.c:1058
do_writev+0x28a/0x340 fs/read_write.c:1104
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fa2f017f407
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:00007ffe8f13be20 EFLAGS: 00000202 ORIG_RAX: 0000000000000014
RAX: ffffffffffffffda RBX: 00007fa2f00f5780 RCX: 00007fa2f017f407
RDX: 0000000000000002 RSI: 00007ffe8f13be80 RDI: 0000000000000003
RBP: 0000000000000188 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000202 R12: 00007ffe8f13bec0
R13: 0000558db6d00ef0 R14: 00007ffe8f13bf10 R15: 00007ffe8f14c0e0
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:dummy_queue+0x1ba/0xb00 drivers/usb/gadget/udc/dummy_hcd.c:737
Code: 00 49 83 bc 24 c8 05 00 00 00 0f 84 a6 07 00 00 e8 fb b2 33 fa 49 8d 7f 60 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <0f> b6 04 02 84 c0 74 08 3c 03 0f 8e 4f 07 00 00 45 8b 7f 60 31 ff
RSP: 0018:ffffc90000007d50 EFLAGS: 00010206
RAX: dffffc0000000000 RBX: ffff88805afe3910 RCX: 0000000000000101
RDX: 000000000000000c RSI: ffffffff87d74ed5 RDI: 0000000000000060
RBP: ffff88802cbe4248 R08: 0000000000000005 R09: 0000000000000005
R10: 0000000000000003 R11: 0000000000000001 R12: ffff88802cbe4c00
R13: ffff88805afe3900 R14: ffff88802cbe4240 R15: 0000000000000000
FS: 00007fa2f00f5780(0000) GS:ffff8880d5ba2000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000555563a104e8 CR3: 000000002c326000 CR4: 0000000000352ef0
----------------
Code disassembly (best guess):
0: 00 49 83 add %cl,-0x7d(%rcx)
3: bc 24 c8 05 00 mov $0x5c824,%esp
8: 00 00 add %al,(%rax)
a: 0f 84 a6 07 00 00 je 0x7b6
10: e8 fb b2 33 fa call 0xfa33b310
15: 49 8d 7f 60 lea 0x60(%r15),%rdi
19: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
20: fc ff df
23: 48 89 fa mov %rdi,%rdx
26: 48 c1 ea 03 shr $0x3,%rdx
* 2a: 0f b6 04 02 movzbl (%rdx,%rax,1),%eax <-- trapping instruction
2e: 84 c0 test %al,%al
30: 74 08 je 0x3a
32: 3c 03 cmp $0x3,%al
34: 0f 8e 4f 07 00 00 jle 0x789
3a: 45 8b 7f 60 mov 0x60(%r15),%r15d
3e: 31 ff xor %edi,%edi