kasan: CONFIG_KASAN_INLINE enabled should_failslab+0xd6/0x130 mm/failslab.c:32 slab_pre_alloc_hook mm/slab.h:421 [inline] slab_alloc_node mm/slab.c:3297 [inline] kmem_cache_alloc_node+0x288/0x7a0 mm/slab.c:3640 kasan: GPF could be caused by NULL-ptr deref or user memory access __alloc_skb+0x9a/0x4c0 net/core/skbuff.c:193 general protection fault: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 0 PID: 28324 Comm: syz-executor.3 Not tainted 4.14.177-syzkaller #0 alloc_skb include/linux/skbuff.h:980 [inline] netlink_alloc_large_skb net/netlink/af_netlink.c:1159 [inline] netlink_sendmsg+0x7de/0xbe0 net/netlink/af_netlink.c:1853 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff88804c076000 task.stack: ffff8880499e0000 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:ffff8880499e6f18 EFLAGS: 00010246 sock_sendmsg_nosec net/socket.c:646 [inline] sock_sendmsg+0xc5/0x100 net/socket.c:656 RAX: dffffc0000000000 RBX: ffff8880499e7090 RCX: 1ffffffff1125fe0 ___sys_sendmsg+0x70a/0x840 net/socket.c:2062 RDX: 0000000000000000 RSI: ffffffff8526e5b2 RDI: ffffffff8892ff00 RBP: ffff8880499e7040 R08: 0000000000000000 R09: 0000000000020012 R10: ffff88804c0768d8 R11: ffff88804c076000 R12: 0000000000000000 R13: 0000000000000014 R14: ffff8880499e70b6 R15: ffff8880499e70e0 FS: 00007f6c341f8700(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000078c000 CR3: 00000000a7d13000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 __sys_sendmsg+0xa3/0x120 net/socket.c:2096 Call Trace: nf_nat_setup_info+0x17b/0x710 net/netfilter/nf_nat_core.c:407 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:0x45c829 RSP: 002b:00007f768df92c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 0000000000500ac0 RCX: 000000000045c829 RDX: 0000000000000000 RSI: 0000000020000140 RDI: 0000000000000004 RBP: 000000000078bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000006 R13: 00000000000009fe R14: 00000000004ccb57 R15: 00007f768df936d4 audit: type=1804 audit(1588363431.611:604): pid=28319 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op="invalid_pcr" cause="open_writers" comm="syz-executor.0" name="/root/syzkaller-testdir175990628/syzkaller.5V0qWk/631/file0" dev="sda1" ino=15960 res=1 __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 audit: type=1800 audit(1588363431.691:605): pid=28324 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op="collect_data" cause="failed(directio)" comm="syz-executor.3" name="file0" dev="sda1" ino=15933 res=0 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 audit: type=1804 audit(1588363432.231:606): pid=28326 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op="invalid_pcr" cause="open_writers" comm="syz-executor.3" name="/root/syzkaller-testdir969889953/syzkaller.uS0uDo/948/file0" dev="sda1" ino=15933 res=1 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:0x45c829 RSP: 002b:00007f6c341f7c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00000000004fe2c0 RCX: 000000000045c829 RDX: 0000000000000000 RSI: 0000000020000640 RDI: 0000000000000007 RBP: 000000000078bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 000000000000095e R14: 00000000004cc116 R15: 00007f6c341f86d4 Code: 48 c1 e9 03 80 3c 11 00 0f 85 91 14 00 00 4a 8b 14 e5 60 fe 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: ffff8880499e6f18 RIP: __nf_nat_l4proto_find net/netfilter/nf_nat_core.c:54 [inline] RSP: ffff8880499e6f18 RIP: get_unique_tuple+0x230/0x19e0 net/netfilter/nf_nat_core.c:313 RSP: ffff8880499e6f18 ---[ end trace 7a84c447b15c2f31 ]---