netlink: 20 bytes leftover after parsing attributes in process `syz-executor.5'. BUG: sleeping function called from invalid context at arch/x86/mm/fault.c:1363 in_atomic(): 0, irqs_disabled(): 0, pid: 6676, name: syz-executor.5 4 locks held by syz-executor.5/6676: #0: (&pipe->mutex/1){+.+.}, at: [] pipe_lock_nested fs/pipe.c:67 [inline] #0: (&pipe->mutex/1){+.+.}, at: [] pipe_lock+0x63/0x80 fs/pipe.c:75 #1: (&table[i].mutex){+.+.}, at: [] nfnl_lock net/netfilter/nfnetlink.c:61 [inline] #1: (&table[i].mutex){+.+.}, at: [] nfnetlink_rcv_msg+0x78a/0xc00 net/netfilter/nfnetlink.c:209 #2: (rcu_read_lock){....}, at: [] ctnetlink_create_conntrack+0x18c/0x10c0 net/netfilter/nf_conntrack_netlink.c:1785 #3: (&mm->mmap_sem){++++}, at: [] __do_page_fault+0x2ca/0xb80 arch/x86/mm/fault.c:1349 Preemption disabled at: [] preempt_schedule+0x4b/0x60 kernel/sched/core.c:3534 CPU: 1 PID: 6676 Comm: syz-executor.5 Not tainted 4.14.167-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+0x142/0x197 lib/dump_stack.c:58 ___might_sleep.cold+0x1bd/0x1f6 kernel/sched/core.c:6041 __might_sleep+0x93/0xb0 kernel/sched/core.c:5994 __do_page_fault+0x2ed/0xb80 arch/x86/mm/fault.c:1363 do_page_fault+0x71/0x511 arch/x86/mm/fault.c:1495 page_fault+0x25/0x50 arch/x86/entry/entry_64.S:1122 RIP: 0010: (null) RSP: 0018:ffff8881c13ff050 EFLAGS: 00010246 RAX: ffffffff875d2e00 RBX: ffff8881c13ff0e0 RCX: ffffc90006025000 RDX: 1ffffffff0eba5c7 RSI: ffff8881c13ff090 RDI: ffff8881c13ff0e0 RBP: ffff8881c13ff158 R08: 0000000000000050 R09: ffff888040798cc8 R10: 0000000000000000 R11: 0000000000000000 R12: ffff88808c8d5e00 R13: 0000000000000000 R14: ffff8881c13ff130 R15: ffff8881c13ff090 BUG: unable to handle kernel NULL pointer dereference at (null) IP: (null) PGD 964e4067 P4D 964e4067 PUD 61892067 PMD 0 Oops: 0010 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 1 PID: 6676 Comm: syz-executor.5 Tainted: G W 4.14.167-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff888040798400 task.stack: ffff8881c13f8000 RIP: 0010: (null) RSP: 0018:ffff8881c13ff050 EFLAGS: 00010246 RAX: ffffffff875d2e00 RBX: ffff8881c13ff0e0 RCX: ffffc90006025000 RDX: 1ffffffff0eba5c7 RSI: ffff8881c13ff090 RDI: ffff8881c13ff0e0 RBP: ffff8881c13ff158 R08: 0000000000000050 R09: ffff888040798cc8 R10: 0000000000000000 R11: 0000000000000000 R12: ffff88808c8d5e00 R13: 0000000000000000 R14: ffff8881c13ff130 R15: ffff8881c13ff090 FS: 00007fd6a20c0700(0000) GS:ffff8880aed00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000013a4d00 CR3: 00000000932fc000 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+0x215/0x3b0 net/netfilter/nf_nat_core.c:784 ctnetlink_parse_nat_setup+0x76/0x4a0 net/netfilter/nf_conntrack_netlink.c:1421 ctnetlink_setup_nat net/netfilter/nf_conntrack_netlink.c:1496 [inline] ctnetlink_create_conntrack+0x4a6/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 kernel_sendmsg+0x44/0x50 net/socket.c:664 sock_no_sendpage+0x107/0x130 net/core/sock.c:2569 kernel_sendpage+0x92/0xf0 net/socket.c:3407 sock_sendpage+0x8b/0xc0 net/socket.c:871 pipe_to_sendpage+0x242/0x340 fs/splice.c:451 splice_from_pipe_feed fs/splice.c:502 [inline] __splice_from_pipe+0x348/0x780 fs/splice.c:626 splice_from_pipe+0xf0/0x150 fs/splice.c:661 generic_splice_sendpage+0x3c/0x50 fs/splice.c:832 do_splice_from fs/splice.c:851 [inline] do_splice fs/splice.c:1147 [inline] SYSC_splice fs/splice.c:1402 [inline] SyS_splice+0xd92/0x1430 fs/splice.c:1382 do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292 entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x45b349 RSP: 002b:00007fd6a20bfc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000113 RAX: ffffffffffffffda RBX: 00007fd6a20c06d4 RCX: 000000000045b349 RDX: 0000000000000005 RSI: 0000000000000000 RDI: 0000000000000003 RBP: 000000000075bfc8 R08: 000000000004ffe0 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000b61 R14: 00000000004cce12 R15: 000000000075bfd4 Code: Bad RIP value. RIP: (null) RSP: ffff8881c13ff050 CR2: 0000000000000000 ---[ end trace 93810978ab98b1d5 ]---