general protection fault, probably for non-canonical address 0xdffffc00000000ca: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000650-0x0000000000000657]
CPU: 0 PID: 14 Comm: kworker/0:1 Not tainted 6.2.0-rc7-syzkaller-01590-g75da437a2f17 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/21/2023
Workqueue: mld mld_ifc_work
RIP: 0010:read_pnet include/net/net_namespace.h:383 [inline]
RIP: 0010:dev_net include/linux/netdevice.h:2555 [inline]
RIP: 0010:ip6_pkt_drop+0x9e/0x820 net/ipv6/route.c:4477
Code: 83 e6 fe 41 80 3c 04 00 0f 85 b6 06 00 00 48 b8 00 00 00 00 00 fc ff df 4d 8b 26 49 8d bc 24 50 06 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 86 06 00 00 48 8d 45 10 4d 8b ac 24 50 06 00 00
RSP: 0018:ffffc90000007c48 EFLAGS: 00010206
RAX: dffffc0000000000 RBX: 0000000000000009 RCX: 0000000000000100
RDX: 00000000000000ca RSI: ffffffff888c7a82 RDI: 0000000000000650
RBP: ffff88801d3473c0 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000000
R13: 0000000000000001 R14: ffff88801ff6aa00 R15: 0000000000000001
FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005591348af0c8 CR3: 0000000025b50000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
dst_input include/net/dst.h:454 [inline]
ip6_rcv_finish net/ipv6/ip6_input.c:79 [inline]
NF_HOOK include/linux/netfilter.h:302 [inline]
NF_HOOK include/linux/netfilter.h:296 [inline]
ipv6_rcv+0x250/0x380 net/ipv6/ip6_input.c:309
__netif_receive_skb_one_core+0x114/0x180 net/core/dev.c:5485
__netif_receive_skb+0x1f/0x1c0 net/core/dev.c:5599
process_backlog+0x3e4/0x810 net/core/dev.c:5927
__napi_poll+0xb8/0x770 net/core/dev.c:6488
napi_poll net/core/dev.c:6555 [inline]
net_rx_action+0x9fd/0xdc0 net/core/dev.c:6665
__do_softirq+0x1fb/0xadc kernel/softirq.c:571
do_softirq.part.0+0xde/0x130 kernel/softirq.c:472
do_softirq kernel/softirq.c:464 [inline]
__local_bh_enable_ip+0x106/0x130 kernel/softirq.c:396
local_bh_enable include/linux/bottom_half.h:33 [inline]
rcu_read_unlock_bh include/linux/rcupdate.h:834 [inline]
ip6_finish_output2+0x5be/0x1530 net/ipv6/ip6_output.c:135
__ip6_finish_output net/ipv6/ip6_output.c:195 [inline]
ip6_finish_output+0x694/0x1170 net/ipv6/ip6_output.c:206
NF_HOOK_COND include/linux/netfilter.h:291 [inline]
ip6_output+0x1f1/0x540 net/ipv6/ip6_output.c:227
dst_output include/net/dst.h:444 [inline]
NF_HOOK include/linux/netfilter.h:302 [inline]
NF_HOOK include/linux/netfilter.h:296 [inline]
mld_sendpack+0xa09/0xe70 net/ipv6/mcast.c:1820
mld_send_cr net/ipv6/mcast.c:2121 [inline]
mld_ifc_work+0x720/0xdc0 net/ipv6/mcast.c:2653
process_one_work+0x9bf/0x1710 kernel/workqueue.c:2289
worker_thread+0x669/0x1090 kernel/workqueue.c:2436
kthread+0x2e8/0x3a0 kernel/kthread.c:376
ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:308
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:read_pnet include/net/net_namespace.h:383 [inline]
RIP: 0010:dev_net include/linux/netdevice.h:2555 [inline]
RIP: 0010:ip6_pkt_drop+0x9e/0x820 net/ipv6/route.c:4477
Code: 83 e6 fe 41 80 3c 04 00 0f 85 b6 06 00 00 48 b8 00 00 00 00 00 fc ff df 4d 8b 26 49 8d bc 24 50 06 00 00 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 86 06 00 00 48 8d 45 10 4d 8b ac 24 50 06 00 00
RSP: 0018:ffffc90000007c48 EFLAGS: 00010206
RAX: dffffc0000000000 RBX: 0000000000000009 RCX: 0000000000000100
RDX: 00000000000000ca RSI: ffffffff888c7a82 RDI: 0000000000000650
RBP: ffff88801d3473c0 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000001 R11: 0000000000000001 R12: 0000000000000000
R13: 0000000000000001 R14: ffff88801ff6aa00 R15: 0000000000000001
FS: 0000000000000000(0000) GS:ffff8880b9800000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005591348af0c8 CR3: 0000000025b50000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 83 e6 fe and $0xfffffffe,%esi
3: 41 80 3c 04 00 cmpb $0x0,(%r12,%rax,1)
8: 0f 85 b6 06 00 00 jne 0x6c4
e: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
15: fc ff df
18: 4d 8b 26 mov (%r14),%r12
1b: 49 8d bc 24 50 06 00 lea 0x650(%r12),%rdi
22: 00
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 86 06 00 00 jne 0x6ba
34: 48 8d 45 10 lea 0x10(%rbp),%rax
38: 4d 8b ac 24 50 06 00 mov 0x650(%r12),%r13
3f: 00