BUG: kernel NULL pointer dereference, address: 0000000000000000 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 63874067 P4D 63874067 PUD 63875067 PMD 0 Oops: 0000 [#1] PREEMPT SMP KASAN CPU: 2 PID: 9369 Comm: syz-executor.0 Not tainted 5.7.0-syzkaller #0 Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.12.0-59-gc9ba5276e321-prebuilt.qemu.org 04/01/2014 RIP: 0010:__read_once_size include/linux/compiler.h:252 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x43/0x60 kernel/kcov.c:202 Code: 24 74 0f 80 e6 01 74 35 8b 90 04 14 00 00 85 d2 74 2b 8b 90 e0 13 00 00 83 fa 02 75 20 48 8b 88 e8 13 00 00 8b 80 e4 13 00 00 <48> 8b 11 48 83 c2 01 48 39 d0 76 07 48 89 34 d1 48 89 11 c3 66 0f RSP: 0018:ffffc900017b73d0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffffc900017b75c0 RCX: 0000000000000000 RDX: 0000000000000002 RSI: ffffffff86270c17 RDI: 0000000000000003 RBP: 0000000000000001 R08: ffff888065d4c100 R09: fffff520002f6ec1 R10: ffffc900017b7603 R11: fffff520002f6ec0 R12: 1ffff920002f6e7f R13: 0000000000000000 R14: 0000000000000000 R15: ffffc900017b75dc FS: 00007f58c3efa700(0000) GS:ffff88802d000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000000063873000 CR4: 0000000000340ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: flow_hash_from_keys+0x417/0x8a0 net/core/flow_dissector.c:1518 skb_get_hash_flowi6 include/linux/skbuff.h:1357 [inline] ip6_make_flowlabel include/net/ipv6.h:882 [inline] ip6_make_flowlabel include/net/ipv6.h:865 [inline] __ip6_make_skb+0x19ff/0x1f50 net/ipv6/ip6_output.c:1832 ip6_finish_skb include/net/ipv6.h:1018 [inline] ip6_push_pending_frames+0xa8/0xe0 net/ipv6/ip6_output.c:1881 rawv6_push_pending_frames net/ipv6/raw.c:613 [inline] rawv6_sendmsg+0x2b51/0x3930 net/ipv6/raw.c:956 inet_sendmsg+0x99/0xe0 net/ipv4/af_inet.c:814 sock_sendmsg_nosec net/socket.c:652 [inline] sock_sendmsg+0xcf/0x120 net/socket.c:672 ____sys_sendmsg+0x32f/0x810 net/socket.c:2352 ___sys_sendmsg+0x100/0x170 net/socket.c:2406 __sys_sendmmsg+0x195/0x480 net/socket.c:2496 __do_sys_sendmmsg net/socket.c:2525 [inline] __se_sys_sendmmsg net/socket.c:2522 [inline] __x64_sys_sendmmsg+0x99/0x100 net/socket.c:2522 do_syscall_64+0xf6/0x7d0 arch/x86/entry/common.c:295 entry_SYSCALL_64_after_hwframe+0x49/0xb3 RIP: 0033:0x45c879 Code: 1d b2 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 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 0f 83 eb b1 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f58c3ef9c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 000000000074bfa0 RCX: 000000000045c879 RDX: 00000000000004ff RSI: 00000000200092c0 RDI: 0000000000000003 RBP: 0000000000710b00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f58c3efa6d4 R13: 00000000000008f4 R14: 00000000006ece00 R15: 00000000004b2974 Modules linked in: CR2: 0000000000000000 ---[ end trace 0c541518cf9272e0 ]--- RIP: 0010:__read_once_size include/linux/compiler.h:252 [inline] RIP: 0010:__sanitizer_cov_trace_pc+0x43/0x60 kernel/kcov.c:202 Code: 24 74 0f 80 e6 01 74 35 8b 90 04 14 00 00 85 d2 74 2b 8b 90 e0 13 00 00 83 fa 02 75 20 48 8b 88 e8 13 00 00 8b 80 e4 13 00 00 <48> 8b 11 48 83 c2 01 48 39 d0 76 07 48 89 34 d1 48 89 11 c3 66 0f RSP: 0018:ffffc900017b73d0 EFLAGS: 00010246 RAX: 0000000000000000 RBX: ffffc900017b75c0 RCX: 0000000000000000 RDX: 0000000000000002 RSI: ffffffff86270c17 RDI: 0000000000000003 RBP: 0000000000000001 R08: ffff888065d4c100 R09: fffff520002f6ec1 R10: ffffc900017b7603 R11: fffff520002f6ec0 R12: 1ffff920002f6e7f R13: 0000000000000000 R14: 0000000000000000 R15: ffffc900017b75dc FS: 00007f58c3efa700(0000) GS:ffff88802d000000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000000063873000 CR4: 0000000000340ee0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400