general protection fault, probably for non-canonical address 0xdffffc00000000cd: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000668-0x000000000000066f]
CPU: 1 PID: 21 Comm: ksoftirqd/1 Not tainted 5.18.0-rc2-next-20220414-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:ip6_rcv_core+0x12e8/0x1dd0 net/ipv6/ip6_input.c:169
Code: c1 ea 03 80 3c 02 00 0f 85 39 09 00 00 4c 89 f2 49 8b 85 b0 02 00 00 48 c1 ea 03 65 48 ff 40 68 48 b8 00 00 00 00 00 fc ff df <0f> b6 14 02 4c 89 f0 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 f6
RSP: 0018:ffffc900001b7240 EFLAGS: 00010203
RAX: dffffc0000000000 RBX: 0000000000000001 RCX: 0000000000000100
RDX: 00000000000000cd RSI: 0000000000000100 RDI: 0000000000000000
RBP: ffff88806ba77640 R08: 0000000000000001 R09: ffff88806ba7771f
R10: ffffffff87fd936e R11: 0000000000000000 R12: 0000000000000000
R13: ffff8880787b9b80 R14: 000000000000066c R15: ffff8880292e4000
FS:  0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000201db030 CR3: 000000000ba8e000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ipv6_rcv+0x75/0x3b0 net/ipv6/ip6_input.c:303
 __netif_receive_skb_one_core+0x114/0x180 net/core/dev.c:5408
 __netif_receive_skb+0x24/0x1b0 net/core/dev.c:5522
 netif_receive_skb_internal net/core/dev.c:5608 [inline]
 netif_receive_skb+0x13e/0x8e0 net/core/dev.c:5667
 NF_HOOK include/linux/netfilter.h:307 [inline]
 NF_HOOK include/linux/netfilter.h:301 [inline]
 br_pass_frame_up+0x2d2/0x3e0 net/bridge/br_input.c:61
 br_handle_frame_finish+0xc65/0x1a80 net/bridge/br_input.c:192
 br_nf_hook_thresh+0x2a5/0x360 net/bridge/br_netfilter_hooks.c:1024
 br_nf_pre_routing_finish_ipv6+0x684/0xe00 net/bridge/br_netfilter_ipv6.c:206
 NF_HOOK include/linux/netfilter.h:307 [inline]
 br_nf_pre_routing_ipv6+0x42c/0x7b0 net/bridge/br_netfilter_ipv6.c:236
 br_nf_pre_routing+0x1477/0x1ec0 net/bridge/br_netfilter_hooks.c:505
 nf_hook_entry_hookfn include/linux/netfilter.h:142 [inline]
 nf_hook_bridge_pre net/bridge/br_input.c:248 [inline]
 br_handle_frame+0x8d6/0x1270 net/bridge/br_input.c:392
 __netif_receive_skb_core+0xa8d/0x3a10 net/core/dev.c:5302
 __netif_receive_skb_one_core+0xae/0x180 net/core/dev.c:5406
 __netif_receive_skb+0x24/0x1b0 net/core/dev.c:5522
 process_backlog+0x3a0/0x7c0 net/core/dev.c:5850
 __napi_poll+0xb3/0x6e0 net/core/dev.c:6416
 napi_poll net/core/dev.c:6483 [inline]
 net_rx_action+0x8ec/0xc60 net/core/dev.c:6570
 __do_softirq+0x29b/0x9c2 kernel/softirq.c:558
 run_ksoftirqd kernel/softirq.c:921 [inline]
 run_ksoftirqd+0x2d/0x60 kernel/softirq.c:913
 smpboot_thread_fn+0x645/0x9c0 kernel/smpboot.c:164
 kthread+0x2e9/0x3a0 kernel/kthread.c:376
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:298
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:ip6_rcv_core+0x12e8/0x1dd0 net/ipv6/ip6_input.c:169
Code: c1 ea 03 80 3c 02 00 0f 85 39 09 00 00 4c 89 f2 49 8b 85 b0 02 00 00 48 c1 ea 03 65 48 ff 40 68 48 b8 00 00 00 00 00 fc ff df <0f> b6 14 02 4c 89 f0 83 e0 07 83 c0 03 38 d0 7c 08 84 d2 0f 85 f6
RSP: 0018:ffffc900001b7240 EFLAGS: 00010203
RAX: dffffc0000000000 RBX: 0000000000000001 RCX: 0000000000000100
RDX: 00000000000000cd RSI: 0000000000000100 RDI: 0000000000000000
RBP: ffff88806ba77640 R08: 0000000000000001 R09: ffff88806ba7771f
R10: ffffffff87fd936e R11: 0000000000000000 R12: 0000000000000000
R13: ffff8880787b9b80 R14: 000000000000066c R15: ffff8880292e4000
FS:  0000000000000000(0000) GS:ffff8880b9d00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000201db030 CR3: 000000000ba8e000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
   0:	c1 ea 03             	shr    $0x3,%edx
   3:	80 3c 02 00          	cmpb   $0x0,(%rdx,%rax,1)
   7:	0f 85 39 09 00 00    	jne    0x946
   d:	4c 89 f2             	mov    %r14,%rdx
  10:	49 8b 85 b0 02 00 00 	mov    0x2b0(%r13),%rax
  17:	48 c1 ea 03          	shr    $0x3,%rdx
  1b:	65 48 ff 40 68       	incq   %gs:0x68(%rax)
  20:	48 b8 00 00 00 00 00 	movabs $0xdffffc0000000000,%rax
  27:	fc ff df
* 2a:	0f b6 14 02          	movzbl (%rdx,%rax,1),%edx <-- trapping instruction
  2e:	4c 89 f0             	mov    %r14,%rax
  31:	83 e0 07             	and    $0x7,%eax
  34:	83 c0 03             	add    $0x3,%eax
  37:	38 d0                	cmp    %dl,%al
  39:	7c 08                	jl     0x43
  3b:	84 d2                	test   %dl,%dl
  3d:	0f                   	.byte 0xf
  3e:	85 f6                	test   %esi,%esi