BUG: sleeping function called from invalid context at arch/x86/mm/fault.c:1363 in_atomic(): 0, irqs_disabled(): 0, pid: 14734, name: syz-executor.5 3 locks held by syz-executor.5/14734: #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+0x18c/0x10c0 net/netfilter/nf_conntrack_netlink.c:1785 #2: (&mm->mmap_sem){++++}, at: [] __do_page_fault+0x2ca/0xb80 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+0x35/0x140 kernel/rcu/tree.c:1177 CPU: 1 PID: 14734 Comm: syz-executor.5 Not tainted 4.14.171-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:ffff88804547f200 EFLAGS: 00010246 RAX: ffffffff88b2f1f0 RBX: ffff88804547f290 RCX: ffffc90009a32000 RDX: 1ffffffff1165e45 RSI: ffff88804547f240 RDI: ffff88804547f290 RBP: ffff88804547f308 R08: 1ffff11008a8fe52 R09: ffff88804547f290 R10: ffffed1008a8fe57 R11: ffff88804547f2bf R12: ffff8880483fedc0 R13: 0000000000000000 R14: ffff88804547f2e0 R15: ffff88804547f240 BUG: unable to handle kernel NULL pointer dereference at (null) IP: (null) PGD a3cde067 P4D a3cde067 PUD a54f0067 PMD 0 Oops: 0010 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 1 PID: 14734 Comm: syz-executor.5 Tainted: G W 4.14.171-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff888055ca0640 task.stack: ffff888045478000 RIP: 0010: (null) RSP: 0018:ffff88804547f200 EFLAGS: 00010246 RAX: ffffffff88b2f1f0 RBX: ffff88804547f290 RCX: ffffc90009a32000 ieee80211 phy544: Selected rate control algorithm 'minstrel_ht' RDX: 1ffffffff1165e45 RSI: ffff88804547f240 RDI: ffff88804547f290 RBP: ffff88804547f308 R08: 1ffff11008a8fe52 R09: ffff88804547f290 R10: ffffed1008a8fe57 R11: ffff88804547f2bf R12: ffff8880483fedc0 R13: 0000000000000000 R14: ffff88804547f2e0 R15: ffff88804547f240 FS: 00007fcf9271b700(0000) GS:ffff8880aed00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32425000 CR3: 0000000089b4c000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 ieee80211 phy544: hwaddr 02:00:00:02:20:00 registered 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 ___sys_sendmsg+0x70a/0x840 net/socket.c:2062 __sys_sendmsg+0xb9/0x140 net/socket.c:2096 ieee80211 phy545: Selected rate control algorithm 'minstrel_ht' 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 ieee80211 phy545: hwaddr 02:00:00:02:21:00 registered entry_SYSCALL_64_after_hwframe+0x42/0xb7 RIP: 0033:0x45c449 RSP: 002b:00007fcf9271ac78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fcf9271b6d4 RCX: 000000000045c449 RDX: 0000000000000000 RSI: 0000000020000640 RDI: 0000000000000003 RBP: 000000000076bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000959 R14: 00000000004cbcb9 R15: 000000000076bf2c Code: Bad RIP value. RIP: (null) RSP: ffff88804547f200 CR2: 0000000000000000 ---[ end trace 4dfdb65c4787d67b ]---