general protection fault: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 1 PID: 17375 Comm: syz-executor.3 Not tainted 4.14.175-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff888087a20140 task.stack: ffff88808b808000 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:ffff88808b80ef18 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffff88808b80f090 RCX: 1ffffffff1126045 netlink: 104 bytes leftover after parsing attributes in process `syz-executor.2'. RDX: 0000000000000000 RSI: ffffffff8526c6d2 RDI: ffffffff88930228 RBP: ffff88808b80f040 R08: 0000000000000000 R09: 0000000000020012 R10: ffff888087a20a10 R11: ffff888087a20140 R12: 0000000000000000 R13: 00000000000000d1 R14: ffff88808b80f0b6 R15: ffff88808b80f0e0 FS: 00007f0f0058f700(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020315000 CR3: 000000009f6b2000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 netlink: 104 bytes leftover after parsing attributes in process `syz-executor.2'. DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nf_nat_setup_info+0x17b/0x710 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+0x30c/0x370 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+0x460/0xc30 net/netfilter/nf_conntrack_netlink.c:1964 nfnetlink_rcv_msg+0xa08/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/0x620 net/netlink/af_netlink.c:1313 netlink_sendmsg+0x733/0xbe0 net/netlink/af_netlink.c:1878 sock_sendmsg_nosec net/socket.c:646 [inline] sock_sendmsg+0xc5/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+0x42/0xb7 RIP: 0033:0x45c889 RSP: 002b:00007f0f0058ec78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f0f0058f6d4 RCX: 000000000045c889 RDX: 0000000000000000 RSI: 0000000020000640 RDI: 0000000000000005 RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 000000000000095c R14: 00000000004cc13b R15: 000000000076bf0c Code: 48 c1 e9 03 80 3c 11 00 0f 85 91 14 00 00 4a 8b 14 e5 a0 fb 92 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 81 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: ffff88808b80ef18 RIP: __nf_nat_l4proto_find net/netfilter/nf_nat_core.c:54 [inline] RSP: ffff88808b80ef18 RIP: get_unique_tuple+0x230/0x19e0 net/netfilter/nf_nat_core.c:313 RSP: ffff88808b80ef18 ---[ end trace 4fd21e345313c053 ]---