Oops: general protection fault, probably for non-canonical address 0xdffffc000000002a: 0000 [#1] PREEMPT SMP KASAN NOPTI
KASAN: null-ptr-deref in range [0x0000000000000150-0x0000000000000157]
CPU: 2 PID: 76 Comm: kworker/u32:4 Not tainted 6.9.0-syzkaller-08410-gff2632d7d08e #0
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.2-debian-1.16.2-1 04/01/2014
Workqueue: ipv6_addrconf addrconf_dad_work
RIP: 0010:rt6_get_pcpu_route net/ipv6/route.c:1407 [inline]
RIP: 0010:ip6_pol_route+0x3bc/0x1150 net/ipv6/route.c:2262
Code: f8 48 85 ed 0f 84 52 03 00 00 e8 df 94 05 f8 48 8d bd 98 00 00 00 49 89 ec 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 a3 08 00 00 8b 85 98 00 00 00
RSP: 0018:ffffc9000053fda8 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: ffff88805af59cc0 RCX: ffffffff8988efd3
RDX: 000000000000002a RSI: ffffffff8988efe1 RDI: 0000000000000150
RBP: 00000000000000b8 R08: 0000000000000007 R09: 0000000000000000
R10: 00000000000000b8 R11: 0000000000000009 R12: 00000000000000b8
R13: 1ffff920000a7fb9 R14: 0000000000000080 R15: ffffc9000053fe28
FS: 0000000000000000(0000) GS:ffff88802c200000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020010000 CR3: 000000000d978000 CR4: 0000000000350ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
pol_lookup_func include/net/ip6_fib.h:616 [inline]
fib6_rule_lookup+0x536/0x720 net/ipv6/fib6_rules.c:116
ip6_route_input_lookup net/ipv6/route.c:2298 [inline]
ip6_route_input+0x60b/0xc10 net/ipv6/route.c:2594
ip6_rcv_finish_core.constprop.0+0x1a0/0x5d0 net/ipv6/ip6_input.c:66
ip6_rcv_finish+0x12c/0x5b0 net/ipv6/ip6_input.c:77
ip_sabotage_in+0x21e/0x2a0 net/bridge/br_netfilter_hooks.c:996
nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline]
nf_hook_slow+0xbb/0x200 net/netfilter/core.c:626
nf_hook.constprop.0+0x42f/0x750 include/linux/netfilter.h:269
NF_HOOK include/linux/netfilter.h:312 [inline]
ipv6_rcv+0xa4/0x680 net/ipv6/ip6_input.c:310
__netif_receive_skb_one_core+0x12e/0x1e0 net/core/dev.c:5624
__netif_receive_skb+0x1d/0x160 net/core/dev.c:5738
netif_receive_skb_internal net/core/dev.c:5824 [inline]
netif_receive_skb+0x13f/0x7b0 net/core/dev.c:5884
NF_HOOK include/linux/netfilter.h:314 [inline]
NF_HOOK include/linux/netfilter.h:308 [inline]
br_pass_frame_up+0x346/0x490 net/bridge/br_input.c:70
br_handle_frame_finish+0xdcd/0x1c80 net/bridge/br_input.c:221
br_nf_hook_thresh+0x303/0x410 net/bridge/br_netfilter_hooks.c:1173
br_nf_pre_routing_finish_ipv6+0x76a/0xfb0 net/bridge/br_netfilter_ipv6.c:154
NF_HOOK include/linux/netfilter.h:314 [inline]
br_nf_pre_routing_ipv6+0x3ce/0x8c0 net/bridge/br_netfilter_ipv6.c:184
br_nf_pre_routing+0x85e/0x15a0 net/bridge/br_netfilter_hooks.c:528
nf_hook_entry_hookfn include/linux/netfilter.h:154 [inline]
nf_hook_bridge_pre net/bridge/br_input.c:277 [inline]
br_handle_frame+0x9e9/0x14a0 net/bridge/br_input.c:424
__netif_receive_skb_core.constprop.0+0xa1c/0x4090 net/core/dev.c:5518
__netif_receive_skb_one_core+0xb1/0x1e0 net/core/dev.c:5622
__netif_receive_skb+0x1d/0x160 net/core/dev.c:5738
process_backlog+0x133/0x760 net/core/dev.c:6067
__napi_poll.constprop.0+0xb7/0x550 net/core/dev.c:6721
napi_poll net/core/dev.c:6790 [inline]
net_rx_action+0x9b6/0xf10 net/core/dev.c:6906
handle_softirqs+0x216/0x8f0 kernel/softirq.c:554
do_softirq kernel/softirq.c:455 [inline]
do_softirq+0xb2/0xf0 kernel/softirq.c:442
__local_bh_enable_ip+0x100/0x120 kernel/softirq.c:382
local_bh_enable include/linux/bottom_half.h:33 [inline]
rcu_read_unlock_bh include/linux/rcupdate.h:851 [inline]
__dev_queue_xmit+0x872/0x4130 net/core/dev.c:4420
dev_queue_xmit include/linux/netdevice.h:3095 [inline]
neigh_hh_output include/net/neighbour.h:526 [inline]
neigh_output include/net/neighbour.h:540 [inline]
ip6_finish_output2+0x10eb/0x1880 net/ipv6/ip6_output.c:137
__ip6_finish_output net/ipv6/ip6_output.c:211 [inline]
ip6_finish_output+0x3f9/0x1300 net/ipv6/ip6_output.c:222
NF_HOOK_COND include/linux/netfilter.h:303 [inline]
ip6_output+0x1f8/0x540 net/ipv6/ip6_output.c:243
dst_output include/net/dst.h:450 [inline]
NF_HOOK include/linux/netfilter.h:314 [inline]
NF_HOOK include/linux/netfilter.h:308 [inline]
mld_sendpack+0x9ee/0x11d0 net/ipv6/mcast.c:1818
mld_send_initial_cr.part.0+0x1a1/0x260 net/ipv6/mcast.c:2236
mld_send_initial_cr include/linux/refcount.h:192 [inline]
ipv6_mc_dad_complete+0x22c/0x2b0 net/ipv6/mcast.c:2244
addrconf_dad_completed+0xd42/0x1060 net/ipv6/addrconf.c:4339
addrconf_dad_work+0x807/0x1500 net/ipv6/addrconf.c:4267
process_one_work+0x958/0x1ad0 kernel/workqueue.c:3231
process_scheduled_works kernel/workqueue.c:3312 [inline]
worker_thread+0x6c8/0xf70 kernel/workqueue.c:3393
kthread+0x2c1/0x3a0 kernel/kthread.c:389
ret_from_fork+0x45/0x80 arch/x86/kernel/process.c:147
ret_from_fork_asm+0x1a/0x30 arch/x86/entry/entry_64.S:244
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:rt6_get_pcpu_route net/ipv6/route.c:1407 [inline]
RIP: 0010:ip6_pol_route+0x3bc/0x1150 net/ipv6/route.c:2262
Code: f8 48 85 ed 0f 84 52 03 00 00 e8 df 94 05 f8 48 8d bd 98 00 00 00 49 89 ec 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 a3 08 00 00 8b 85 98 00 00 00
RSP: 0018:ffffc9000053fda8 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: ffff88805af59cc0 RCX: ffffffff8988efd3
RDX: 000000000000002a RSI: ffffffff8988efe1 RDI: 0000000000000150
RBP: 00000000000000b8 R08: 0000000000000007 R09: 0000000000000000
R10: 00000000000000b8 R11: 0000000000000009 R12: 00000000000000b8
R13: 1ffff920000a7fb9 R14: 0000000000000080 R15: ffffc9000053fe28
FS: 0000000000000000(0000) GS:ffff88802c200000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020010000 CR3: 000000000d978000 CR4: 0000000000350ef0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: f8 clc
1: 48 85 ed test %rbp,%rbp
4: 0f 84 52 03 00 00 je 0x35c
a: e8 df 94 05 f8 call 0xf80594ee
f: 48 8d bd 98 00 00 00 lea 0x98(%rbp),%rdi
16: 49 89 ec mov %rbp,%r12
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 a3 08 00 00 jle 0x8dd
3a: 8b 85 98 00 00 00 mov 0x98(%rbp),%eax