general protection fault, probably for non-canonical address 0xdffffc000000003e: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x00000000000001f0-0x00000000000001f7]
CPU: 2 PID: 27 Comm: kworker/2:0 Not tainted 5.16.0-rc8-syzkaller #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.14.0-2 04/01/2014
Workqueue: ipv6_addrconf addrconf_dad_work
RIP: 0010:dev_index_hash net/core/dev.c:222 [inline]
RIP: 0010:dev_get_by_index_rcu+0x28/0x140 net/core/dev.c:885
Code: 00 00 41 55 41 54 55 89 f5 53 48 89 fb e8 60 3c 4e fa 48 8d bb f0 01 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 fc 00 00 00 48 8b 93 f0 01 00 00 40 0f b6 c5 48
RSP: 0018:ffffc90000560740 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000100
RDX: 000000000000003e RSI: ffffffff872955d0 RDI: 00000000000001f0
RBP: 0000000000000003 R08: 0000000000000000 R09: ffffffff8ff76a27
R10: ffffffff87367e1d R11: 0000000000000001 R12: ffff88806e08f100
R13: 0000000000000003 R14: 000000000000010e R15: ffffc9000090e000
FS: 0000000000000000(0000) GS:ffff88802cc00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000033b24000 CR3: 000000006adc9000 CR4: 0000000000150ee0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
____bpf_clone_redirect net/core/filter.c:2410 [inline]
bpf_clone_redirect+0x91/0x420 net/core/filter.c:2401
bpf_prog_bebbfe2050753572+0x56/0x244
__bpf_prog_run include/linux/filter.h:626 [inline]
bpf_prog_run_xdp include/linux/filter.h:801 [inline]
veth_xdp_rcv_skb+0x64c/0x1b20 drivers/net/veth.c:775
veth_xdp_rcv+0x39b/0x9a0 drivers/net/veth.c:881
veth_poll+0x134/0x850 drivers/net/veth.c:917
__napi_poll+0xaf/0x440 net/core/dev.c:7023
napi_poll net/core/dev.c:7090 [inline]
net_rx_action+0x801/0xb40 net/core/dev.c:7177
__do_softirq+0x29b/0x9c2 kernel/softirq.c:558
do_softirq.part.0+0xde/0x130 kernel/softirq.c:459
do_softirq kernel/softirq.c:451 [inline]
__local_bh_enable_ip+0x102/0x120 kernel/softirq.c:383
local_bh_enable include/linux/bottom_half.h:33 [inline]
rcu_read_unlock_bh include/linux/rcupdate.h:758 [inline]
ip6_finish_output2+0x5bf/0x14e0 net/ipv6/ip6_output.c:127
__ip6_finish_output net/ipv6/ip6_output.c:191 [inline]
__ip6_finish_output+0x4c1/0x1050 net/ipv6/ip6_output.c:170
ip6_finish_output+0x32/0x200 net/ipv6/ip6_output.c:201
NF_HOOK_COND include/linux/netfilter.h:296 [inline]
ip6_output+0x1e4/0x530 net/ipv6/ip6_output.c:224
dst_output include/net/dst.h:450 [inline]
NF_HOOK include/linux/netfilter.h:307 [inline]
ndisc_send_skb+0xa99/0x17f0 net/ipv6/ndisc.c:508
ndisc_send_ns+0x3a9/0x840 net/ipv6/ndisc.c:650
addrconf_dad_work+0xc3f/0x1340 net/ipv6/addrconf.c:4140
process_one_work+0x9b2/0x1660 kernel/workqueue.c:2298
worker_thread+0x65d/0x1130 kernel/workqueue.c:2445
kthread+0x405/0x4f0 kernel/kthread.c:327
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:295
Modules linked in:
---[ end trace 5a58b96ddb1a114e ]---
RIP: 0010:dev_index_hash net/core/dev.c:222 [inline]
RIP: 0010:dev_get_by_index_rcu+0x28/0x140 net/core/dev.c:885
Code: 00 00 41 55 41 54 55 89 f5 53 48 89 fb e8 60 3c 4e fa 48 8d bb f0 01 00 00 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 fc 00 00 00 48 8b 93 f0 01 00 00 40 0f b6 c5 48
RSP: 0018:ffffc90000560740 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: 0000000000000100
RDX: 000000000000003e RSI: ffffffff872955d0 RDI: 00000000000001f0
RBP: 0000000000000003 R08: 0000000000000000 R09: ffffffff8ff76a27
R10: ffffffff87367e1d R11: 0000000000000001 R12: ffff88806e08f100
R13: 0000000000000003 R14: 000000000000010e R15: ffffc9000090e000
FS: 0000000000000000(0000) GS:ffff88802cc00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000033b24000 CR3: 000000006adc9000 CR4: 0000000000150ee0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 00 00 add %al,(%rax)
2: 41 55 push %r13
4: 41 54 push %r12
6: 55 push %rbp
7: 89 f5 mov %esi,%ebp
9: 53 push %rbx
a: 48 89 fb mov %rdi,%rbx
d: e8 60 3c 4e fa callq 0xfa4e3c72
12: 48 8d bb f0 01 00 00 lea 0x1f0(%rbx),%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: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1) <-- trapping instruction
2e: 0f 85 fc 00 00 00 jne 0x130
34: 48 8b 93 f0 01 00 00 mov 0x1f0(%rbx),%rdx
3b: 40 0f b6 c5 movzbl %bpl,%eax
3f: 48 rex.W