general protection fault, probably for non-canonical address 0xdffffc0000000001: 0000 [#1] PREEMPT SMP KASAN
KASAN: null-ptr-deref in range [0x0000000000000008-0x000000000000000f]
CPU: 0 PID: 30920 Comm: syz-executor.3 Not tainted 5.18.0-rc3-syzkaller-00225-g165e3e17fe8f #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:tcp_create_openreq_child+0xe16/0x16b0 net/ipv4/tcp_minisocks.c:534
Code: 48 c1 ea 03 80 3c 02 00 0f 85 e5 07 00 00 4c 8b b3 28 01 00 00 48 b8 00 00 00 00 00 fc ff df 49 8d 7e 08 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 c9 07 00 00 48 8b 3c 24 48 89 de 41 ff 56 08 48
RSP: 0018:ffffc90000007588 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: ffff88807c8da198 RCX: 0000000000000100
RDX: 0000000000000001 RSI: ffffffff87d67ff0 RDI: 0000000000000008
RBP: ffff88801637c7f8 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff87d67f00 R11: 0000000000000000 R12: ffff88801637bfc0
R13: ffff88801ed5c868 R14: 0000000000000000 R15: 0000000000000000
FS: 00007fe6d7f90700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe6d7f90718 CR3: 000000004d7a2000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
tcp_v6_syn_recv_sock+0x199/0x23b0 net/ipv6/tcp_ipv6.c:1267
tcp_get_cookie_sock+0xc9/0x850 net/ipv4/syncookies.c:207
cookie_v6_check+0x15c3/0x2340 net/ipv6/syncookies.c:258
tcp_v6_cookie_check net/ipv6/tcp_ipv6.c:1131 [inline]
tcp_v6_do_rcv+0x1148/0x13b0 net/ipv6/tcp_ipv6.c:1486
tcp_v6_rcv+0x3305/0x3840 net/ipv6/tcp_ipv6.c:1725
ip6_protocol_deliver_rcu+0x2e9/0x1900 net/ipv6/ip6_input.c:422
ip6_input_finish+0x14c/0x2c0 net/ipv6/ip6_input.c:464
NF_HOOK include/linux/netfilter.h:307 [inline]
NF_HOOK include/linux/netfilter.h:301 [inline]
ip6_input+0x9c/0xd0 net/ipv6/ip6_input.c:473
dst_input include/net/dst.h:461 [inline]
ip6_rcv_finish net/ipv6/ip6_input.c:76 [inline]
NF_HOOK include/linux/netfilter.h:307 [inline]
NF_HOOK include/linux/netfilter.h:301 [inline]
ipv6_rcv+0x27f/0x3b0 net/ipv6/ip6_input.c:297
__netif_receive_skb_one_core+0x114/0x180 net/core/dev.c:5405
__netif_receive_skb+0x24/0x1b0 net/core/dev.c:5519
process_backlog+0x3a0/0x7c0 net/core/dev.c:5847
__napi_poll+0xb3/0x6e0 net/core/dev.c:6413
napi_poll net/core/dev.c:6480 [inline]
net_rx_action+0x8ec/0xc60 net/core/dev.c:6567
__do_softirq+0x29b/0x9c2 kernel/softirq.c:558
invoke_softirq kernel/softirq.c:432 [inline]
__irq_exit_rcu+0x123/0x180 kernel/softirq.c:637
irq_exit_rcu+0x5/0x20 kernel/softirq.c:649
sysvec_apic_timer_interrupt+0x93/0xc0 arch/x86/kernel/apic/apic.c:1097
asm_sysvec_apic_timer_interrupt+0x12/0x20 arch/x86/include/asm/idtentry.h:645
RIP: 0010:tcp_skb_timestamp_us include/net/tcp.h:819 [inline]
RIP: 0010:tcp_rate_skb_sent+0x22d/0x350 net/ipv4/tcp_rate.c:59
Code: 00 00 00 8b 9b b4 09 00 00 31 ff 89 de e8 cb 4a a1 f9 0f b6 45 40 85 db 0f 95 c2 5b 83 e0 fe 09 d0 88 45 40 5d 41 5c 41 5d c3 8e 48 a1 f9 48 8d 7d 20 48 b8 00 00 00 00 00 fc ff df 48 89 fa
RSP: 0018:ffffc9000634fad8 EFLAGS: 00000246
RAX: 0000000000000000 RBX: ffff888016378cc0 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffff888049495700 RDI: 0000000000000003
RBP: ffff88801ed5c780 R08: 0000000000000000 R09: 0000000000000001
R10: ffffffff87d7e543 R11: 0000000000000000 R12: 0000000000000000
R13: 0000000000000000 R14: ffff888016379420 R15: 0000000000000001
__tcp_transmit_skb+0x1969/0x38b0 net/ipv4/tcp_output.c:1412
tcp_transmit_skb net/ipv4/tcp_output.c:1420 [inline]
tcp_write_xmit+0xd93/0x5fe0 net/ipv4/tcp_output.c:2690
__tcp_push_pending_frames+0xaa/0x390 net/ipv4/tcp_output.c:2874
tcp_send_fin+0x117/0xb70 net/ipv4/tcp_output.c:3419
tcp_shutdown net/ipv4/tcp.c:2711 [inline]
tcp_shutdown+0x127/0x170 net/ipv4/tcp.c:2696
inet_shutdown+0x1a8/0x430 net/ipv4/af_inet.c:891
__sys_shutdown_sock net/socket.c:2252 [inline]
__sys_shutdown_sock net/socket.c:2246 [inline]
__sys_shutdown+0xf1/0x1b0 net/socket.c:2264
__do_sys_shutdown net/socket.c:2272 [inline]
__se_sys_shutdown net/socket.c:2270 [inline]
__x64_sys_shutdown+0x50/0x70 net/socket.c:2270
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x35/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x44/0xae
RIP: 0033:0x7fe6d6e890e9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fe6d7f90168 EFLAGS: 00000246 ORIG_RAX: 0000000000000030
RAX: ffffffffffffffda RBX: 00007fe6d6f9c100 RCX: 00007fe6d6e890e9
RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000000000000006
RBP: 00007fe6d6ee308d R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffd2096294f R14: 00007fe6d7f90300 R15: 0000000000022000
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:tcp_create_openreq_child+0xe16/0x16b0 net/ipv4/tcp_minisocks.c:534
Code: 48 c1 ea 03 80 3c 02 00 0f 85 e5 07 00 00 4c 8b b3 28 01 00 00 48 b8 00 00 00 00 00 fc ff df 49 8d 7e 08 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 c9 07 00 00 48 8b 3c 24 48 89 de 41 ff 56 08 48
RSP: 0018:ffffc90000007588 EFLAGS: 00010202
RAX: dffffc0000000000 RBX: ffff88807c8da198 RCX: 0000000000000100
RDX: 0000000000000001 RSI: ffffffff87d67ff0 RDI: 0000000000000008
RBP: ffff88801637c7f8 R08: 0000000000000000 R09: 0000000000000000
R10: ffffffff87d67f00 R11: 0000000000000000 R12: ffff88801637bfc0
R13: ffff88801ed5c868 R14: 0000000000000000 R15: 0000000000000000
FS: 00007fe6d7f90700(0000) GS:ffff8880b9c00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fe6d7f90718 CR3: 000000004d7a2000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
----------------
Code disassembly (best guess):
0: 48 c1 ea 03 shr $0x3,%rdx
4: 80 3c 02 00 cmpb $0x0,(%rdx,%rax,1)
8: 0f 85 e5 07 00 00 jne 0x7f3
e: 4c 8b b3 28 01 00 00 mov 0x128(%rbx),%r14
15: 48 b8 00 00 00 00 00 movabs $0xdffffc0000000000,%rax
1c: fc ff df
1f: 49 8d 7e 08 lea 0x8(%r14),%rdi
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 c9 07 00 00 jne 0x7fd
34: 48 8b 3c 24 mov (%rsp),%rdi
38: 48 89 de mov %rbx,%rsi
3b: 41 ff 56 08 callq *0x8(%r14)
3f: 48 rex.W