BUG: sleeping function called from invalid context at arch/x86/mm/fault.c:1363 autofs4:pid:17890:autofs4_fill_super: called with bogus options in_atomic(): 0, irqs_disabled(): 0, pid: 17888, name: syz-executor.1 3 locks held by syz-executor.1/17888: #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: 0 PID: 17888 Comm: syz-executor.1 Not tainted 4.14.170-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:ffff888088dc7200 EFLAGS: 00010246 RAX: ffffffff875cb1c0 RBX: ffff888088dc7290 RCX: ffffc9000a03d000 RDX: 1ffffffff0eb963f RSI: ffff888088dc7240 RDI: ffff888088dc7290 RBP: ffff888088dc7308 R08: 1ffff110111b8e52 R09: ffff888088dc7290 R10: ffffed10111b8e57 R11: ffff888088dc72bf R12: ffff88809b07adc0 R13: 0000000000000000 R14: ffff888088dc72e0 R15: ffff888088dc7240 BUG: unable to handle kernel NULL pointer dereference at (null) IP: (null) PGD 89f5e067 P4D 89f5e067 PUD 86330067 PMD 0 Oops: 0010 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 1 PID: 17888 Comm: syz-executor.1 Tainted: G W 4.14.170-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff888079cce6c0 task.stack: ffff888088dc0000 RIP: 0010: (null) RSP: 0018:ffff888088dc7200 EFLAGS: 00010246 RAX: ffffffff875cb1c0 RBX: ffff888088dc7290 RCX: ffffc9000a03d000 RDX: 1ffffffff0eb963f RSI: ffff888088dc7240 RDI: ffff888088dc7290 RBP: ffff888088dc7308 R08: 1ffff110111b8e52 R09: ffff888088dc7290 R10: ffffed10111b8e57 R11: ffff888088dc72bf R12: ffff88809b07adc0 R13: 0000000000000000 R14: ffff888088dc72e0 R15: ffff888088dc7240 FS: 00007f055ab85700(0000) GS:ffff8880aed00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000002337930 CR3: 000000008ce17000 CR4: 00000000001426e0 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 ___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:0x45b399 RSP: 002b:00007f055ab84c78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f055ab856d4 RCX: 000000000045b399 RDX: 0000000000000000 RSI: 0000000020000640 RDI: 0000000000000003 RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000943 R14: 00000000004caa63 R15: 000000000075bf2c Code: Bad RIP value. RIP: (null) RSP: ffff888088dc7200 CR2: 0000000000000000 ---[ end trace ffb559344bb3109a ]---