audit: type=1400 audit(1579577939.315:38): avc:  denied  { write } for  pid=7425 comm="syz-executor647" 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
Modules linked in:
CPU: 0 PID: 7425 Comm: syz-executor647 Not tainted 4.14.166-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff88808b8440c0 task.stack: ffff88808ce28000
RIP: 0010:nfnetlink_parse_nat net/netfilter/nf_nat_core.c:747 [inline]
RIP: 0010:nfnetlink_parse_nat_setup+0x212/0x3b0 net/netfilter/nf_nat_core.c:784
RSP: 0018:ffff88808ce2f208 EFLAGS: 00010246
RAX: ffffffff854d1300 RBX: ffff88808ce2f290 RCX: 0000000000000000
RDX: 1ffffffff0a9a267 RSI: ffff88808ce2f240 RDI: ffff88808ce2f290
RBP: ffff88808ce2f308 R08: 1ffff110119c5e52 R09: ffff88808ce2f290
R10: ffffed10119c5e57 R11: ffff88808ce2f2bf R12: ffff888090ef9dc0
R13: 0000000000000000 R14: ffff88808ce2f2e0 R15: ffff88808ce2f240
FS:  000000000186e880(0000) GS:ffff8880aec00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000557864f5b190 CR3: 00000000a7eb6000 CR4: 00000000001406f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 ctnetlink_parse_nat_setup+0x76/0x4a0 net/netfilter/nf_conntrack_netlink.c:1421
 ctnetlink_setup_nat net/netfilter/nf_conntrack_netlink.c:1491 [inline]
 ctnetlink_create_conntrack+0x468/0x10c0 net/netfilter/nf_conntrack_netlink.c:1840
 ctnetlink_new_conntrack+0x4af/0xcc0 net/netfilter/nf_conntrack_netlink.c:1964
 nfnetlink_rcv_msg+0xa08/0xc00 net/netfilter/nfnetlink.c:214
 netlink_rcv_skb+0x14f/0x3c0 net/netlink/af_netlink.c:2432
 nfnetlink_rcv+0x1ab/0x1650 net/netfilter/nfnetlink.c:515
 netlink_unicast_kernel net/netlink/af_netlink.c:1286 [inline]
 netlink_unicast+0x44d/0x650 net/netlink/af_netlink.c:1312
 netlink_sendmsg+0x7c4/0xc60 net/netlink/af_netlink.c:1877
 sock_sendmsg_nosec net/socket.c:646 [inline]
 sock_sendmsg+0xce/0x110 net/socket.c:656
 ___sys_sendmsg+0x70a/0x840 net/socket.c:2062
 __sys_sendmsg+0xb9/0x140 net/socket.c:2096
 SYSC_sendmsg net/socket.c:2107 [inline]
 SyS_sendmsg+0x2d/0x50 net/socket.c:2103
 do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x440289
RSP: 002b:00007ffcc56b5fc8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440289
RDX: 0000000000000000 RSI: 0000000020000280 RDI: 0000000000000003
RBP: 00000000006ca018 R08: 0000000000000000 R09: 00000000004002c8
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000401b10
R13: 0000000000401ba0 R14: 0000000000000000 R15: 0000000000000000
Code: 8d 78 38 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 0f 85 98 01 00 00 48 8b 85 10 ff ff ff 4c 89 fe 48 89 df <ff> 50 38 85 c0 0f 88 01 01 00 00 e8 be 5f 14 fc 4d 8b 76 c8 4d 
RIP: nfnetlink_parse_nat net/netfilter/nf_nat_core.c:747 [inline] RSP: ffff88808ce2f208
RIP: nfnetlink_parse_nat_setup+0x212/0x3b0 net/netfilter/nf_nat_core.c:784 RSP: ffff88808ce2f208
---[ end trace 16f544ce5f839d22 ]---