kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 1 PID: 5022 Comm: syz-executor.0 Not tainted 4.14.182-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff88808d2b6480 task.stack: ffff888052498000 RIP: 0010:__read_once_size include/linux/compiler.h:183 [inline] RIP: 0010:__nf_nat_l4proto_find net/netfilter/nf_nat_core.c:54 [inline] RIP: 0010:get_unique_tuple+0x230/0x19e0 net/netfilter/nf_nat_core.c:313 RSP: 0018:ffff88805249ef10 EFLAGS: 00010206 RAX: dffffc0000000000 RBX: ffff88805249f088 RCX: 1ffffffff10e5c6b RDX: 0000002000000000 RSI: ffffffff85261372 RDI: ffffffff8872e358 RBP: ffff88805249f038 R08: 0000000000000000 R09: 0000000000020012 R10: ffff88808d2b6d58 R11: ffff88808d2b6480 R12: 0000010000000003 R13: 00000000000000ff R14: ffff88805249f0ae R15: ffff88805249f0d8 FS: 00007f00f9c3d700(0000) GS:ffff8880aed00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b30622000 CR3: 000000008eec2000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nf_nat_setup_info+0x17b/0x720 net/netfilter/nf_nat_core.c:407 __nf_nat_alloc_null_binding+0x13f/0x180 net/netfilter/nf_nat_core.c:466 nfnetlink_parse_nat_setup+0x318/0x380 net/netfilter/nf_nat_core.c:782 ctnetlink_parse_nat_setup+0x70/0x490 net/netfilter/nf_conntrack_netlink.c:1421 ctnetlink_setup_nat net/netfilter/nf_conntrack_netlink.c:1491 [inline] ctnetlink_create_conntrack+0x437/0x1040 net/netfilter/nf_conntrack_netlink.c:1840 ctnetlink_new_conntrack+0x45f/0xbf4 net/netfilter/nf_conntrack_netlink.c:1964 nfnetlink_rcv_msg+0x9e1/0xc00 net/netfilter/nfnetlink.c:214 netlink_rcv_skb+0x127/0x370 net/netlink/af_netlink.c:2433 nfnetlink_rcv+0x1ab/0x1650 net/netfilter/nfnetlink.c:515 netlink_unicast_kernel net/netlink/af_netlink.c:1287 [inline] netlink_unicast+0x437/0x610 net/netlink/af_netlink.c:1313 netlink_sendmsg+0x64a/0xbb0 net/netlink/af_netlink.c:1878 sock_sendmsg_nosec net/socket.c:646 [inline] sock_sendmsg+0xb5/0x100 net/socket.c:656 ___sys_sendmsg+0x70a/0x840 net/socket.c:2062 __sys_sendmsg+0xa3/0x120 net/socket.c:2096 SYSC_sendmsg net/socket.c:2107 [inline] SyS_sendmsg+0x27/0x40 net/socket.c:2103 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x46/0xbb RIP: 0033:0x45ca69 RSP: 002b:00007f00f9c3cc78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00000000004fe780 RCX: 000000000045ca69 RDX: 0000000000000000 RSI: 0000000020000000 RDI: 0000000000000003 RBP: 000000000078bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000964 R14: 00000000004cc3cb R15: 00007f00f9c3d6d4 Code: 48 c1 e9 03 80 3c 11 00 0f 85 95 14 00 00 4a 8b 14 e5 60 db 72 88 4c 8d 24 c2 48 b8 00 00 00 00 00 fc ff df 4c 89 e2 48 c1 ea 03 <80> 3c 02 00 0f 85 85 14 00 00 49 8b 04 24 48 89 85 30 ff ff ff RIP: __read_once_size include/linux/compiler.h:183 [inline] RSP: ffff88805249ef10 RIP: __nf_nat_l4proto_find net/netfilter/nf_nat_core.c:54 [inline] RSP: ffff88805249ef10 RIP: get_unique_tuple+0x230/0x19e0 net/netfilter/nf_nat_core.c:313 RSP: ffff88805249ef10 ---[ end trace ad2f09879740cfdc ]---