netlink: 16 bytes leftover after parsing attributes in process `syz-executor.2'. BUG: sleeping function called from invalid context at arch/x86/mm/fault.c:1363 in_atomic(): 0, irqs_disabled(): 0, pid: 3222, name: syz-executor.0 3 locks held by syz-executor.0/3222: #0: (&table[i].mutex){+.+.}, at: [] nfnl_lock net/netfilter/nfnetlink.c:61 [inline] #0: (&table[i].mutex){+.+.}, at: [] nfnetlink_rcv_msg+0x78a/0xc00 net/netfilter/nfnetlink.c:209 #1: (rcu_read_lock){....}, at: [] ctnetlink_create_conntrack+0x166/0x1040 net/netfilter/nf_conntrack_netlink.c:1785 #2: (&mm->mmap_sem){++++}, at: [] __do_page_fault+0x2cd/0xb40 arch/x86/mm/fault.c:1349 Preemption disabled at: [] rcu_lockdep_current_cpu_online kernel/rcu/tree.c:1185 [inline] [] rcu_lockdep_current_cpu_online+0x30/0x140 kernel/rcu/tree.c:1177 CPU: 1 PID: 3222 Comm: syz-executor.0 Not tainted 4.14.172-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:17 [inline] dump_stack+0x13e/0x194 lib/dump_stack.c:58 ___might_sleep.cold+0x1bd/0x1f9 kernel/sched/core.c:6041 __do_page_fault+0x2f0/0xb40 arch/x86/mm/fault.c:1363 page_fault+0x25/0x50 arch/x86/entry/entry_64.S:1122 RIP: 0010: (null) RSP: 0018:ffff88808cfc7268 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffff88808cfc72f0 RCX: ffffc90005e18000 RDX: 1ffffffff1125fb5 RSI: ffff88808cfc72a0 RDI: ffff88808cfc72f0 RBP: ffff8880a80b31c0 R08: ffffffff873c5f20 R09: ffff88808cfc72f0 R10: ffffed10119f8e63 R11: ffff88808cfc731f R12: 0000000000000000 R13: 0000000000000000 R14: ffffffff8892fd70 R15: ffff88808cfc72a0 BUG: unable to handle kernel NULL pointer dereference at (null) IP: (null) PGD 9d249067 P4D 9d249067 PUD 53e26067 PMD 0 Oops: 0010 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 1 PID: 3222 Comm: syz-executor.0 Tainted: G W 4.14.172-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff888059836000 task.stack: ffff88808cfc0000 RIP: 0010: (null) RSP: 0018:ffff88808cfc7268 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffff88808cfc72f0 RCX: ffffc90005e18000 RDX: 1ffffffff1125fb5 RSI: ffff88808cfc72a0 RDI: ffff88808cfc72f0 RBP: ffff8880a80b31c0 R08: ffffffff873c5f20 R09: ffff88808cfc72f0 R10: ffffed10119f8e63 R11: ffff88808cfc731f R12: 0000000000000000 R13: 0000000000000000 R14: ffffffff8892fd70 R15: ffff88808cfc72a0 FS: 00007f567df88700(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000076c000 CR3: 000000009d248000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: nfnetlink_parse_nat net/netfilter/nf_nat_core.c:747 [inline] nfnetlink_parse_nat_setup+0x1e0/0x370 net/netfilter/nf_nat_core.c:784 ctnetlink_parse_nat_setup+0x70/0x490 net/netfilter/nf_conntrack_netlink.c:1421 ctnetlink_setup_nat net/netfilter/nf_conntrack_netlink.c:1496 [inline] ctnetlink_create_conntrack+0x477/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:2432 nfnetlink_rcv+0x1ab/0x1650 net/netfilter/nfnetlink.c:515 netlink_unicast_kernel net/netlink/af_netlink.c:1286 [inline] netlink_unicast+0x437/0x620 net/netlink/af_netlink.c:1312 netlink_sendmsg+0x733/0xbe0 net/netlink/af_netlink.c:1877 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:0x45c479 RSP: 002b:00007f567df87c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f567df886d4 RCX: 000000000045c479 RDX: 0000000000000000 RSI: 0000000020000580 RDI: 0000000000000006 RBP: 000000000076bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000959 R14: 00000000004cbcd9 R15: 000000000076bf2c Code: Bad RIP value. RIP: (null) RSP: ffff88808cfc7268 CR2: 0000000000000000 ---[ end trace 94320d2bc26e6e31 ]--- SELinux: unrecognized netlink message: protocol=0 nlmsg_type=1538 sclass=netlink_route_socket pig=3263 comm=syz-executor.4