audit: type=1400 audit(1579614865.395:38): avc: denied { write } for pid=8118 comm="syz-executor109" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_netfilter_socket permissive=1 kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 8118 Comm: syz-executor109 Not tainted 4.19.97-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:nfnetlink_parse_nat net/netfilter/nf_nat_core.c:847 [inline] RIP: 0010:nfnetlink_parse_nat_setup+0x23a/0x450 net/netfilter/nf_nat_core.c:884 Code: c3 89 c6 e8 48 4d 6d fb 85 db 0f 88 8d 01 00 00 e8 bb 4b 6d fb 49 8d 7f 38 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 ed 01 00 00 48 8b b5 e8 fe ff ff 48 8b bd e0 fe RSP: 0018:ffff8880a80f7148 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff85fdc9f8 RDX: 0000000000000008 RSI: ffffffff85fdca05 RDI: 0000000000000041 RBP: ffff8880a80f7268 R08: ffff8880903e2600 R09: ffff8880903e2ea0 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880a7ee5800 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000009 FS: 0000000001f2d880(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000562295937190 CR3: 00000000a35d0000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ctnetlink_parse_nat_setup+0xc5/0x660 net/netfilter/nf_conntrack_netlink.c:1518 ctnetlink_setup_nat net/netfilter/nf_conntrack_netlink.c:1593 [inline] ctnetlink_create_conntrack+0x532/0x1300 net/netfilter/nf_conntrack_netlink.c:1981 ctnetlink_new_conntrack+0x527/0xe50 net/netfilter/nf_conntrack_netlink.c:2111 nfnetlink_rcv_msg+0xd0d/0xfcf net/netfilter/nfnetlink.c:228 netlink_rcv_skb+0x17d/0x460 net/netlink/af_netlink.c:2454 nfnetlink_rcv+0x1c0/0x460 net/netfilter/nfnetlink.c:560 netlink_unicast_kernel net/netlink/af_netlink.c:1317 [inline] netlink_unicast+0x53a/0x730 net/netlink/af_netlink.c:1343 netlink_sendmsg+0x8ae/0xd70 net/netlink/af_netlink.c:1908 sock_sendmsg_nosec net/socket.c:622 [inline] sock_sendmsg+0xd7/0x130 net/socket.c:632 ___sys_sendmsg+0x803/0x920 net/socket.c:2115 __sys_sendmsg+0x105/0x1d0 net/socket.c:2153 __do_sys_sendmsg net/socket.c:2162 [inline] __se_sys_sendmsg net/socket.c:2160 [inline] __x64_sys_sendmsg+0x78/0xb0 net/socket.c:2160 do_syscall_64+0xfd/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x4401a9 Code: 18 89 d0 c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 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 0f 83 fb 13 fc ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007fff02743a18 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 00000000004401a9 RDX: 0000000000000000 RSI: 0000000020000280 RDI: 0000000000000003 RBP: 00000000006ca018 R08: 0000000000000000 R09: 00000000004002c8 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000401a30 R13: 0000000000401ac0 R14: 0000000000000000 R15: 0000000000000000 Modules linked in: ---[ end trace f9124423602183f7 ]--- RIP: 0010:nfnetlink_parse_nat net/netfilter/nf_nat_core.c:847 [inline] RIP: 0010:nfnetlink_parse_nat_setup+0x23a/0x450 net/netfilter/nf_nat_core.c:884 Code: c3 89 c6 e8 48 4d 6d fb 85 db 0f 88 8d 01 00 00 e8 bb 4b 6d fb 49 8d 7f 38 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 ed 01 00 00 48 8b b5 e8 fe ff ff 48 8b bd e0 fe RSP: 0018:ffff8880a80f7148 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff85fdc9f8 RDX: 0000000000000008 RSI: ffffffff85fdca05 RDI: 0000000000000041 RBP: ffff8880a80f7268 R08: ffff8880903e2600 R09: ffff8880903e2ea0 R10: 0000000000000000 R11: 0000000000000000 R12: ffff8880a7ee5800 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000009 FS: 0000000001f2d880(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000562295937190 CR3: 00000000a35d0000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400