BUG: sleeping function called from invalid context at arch/x86/mm/fault.c:1385 in_atomic(): 0, irqs_disabled(): 0, pid: 16012, name: syz-executor.2 3 locks held by syz-executor.2/16012: #0: (&table[i].mutex){+.+.}, at: [] nfnl_lock net/netfilter/nfnetlink.c:61 [inline] #0: (&table[i].mutex){+.+.}, at: [] nfnetlink_rcv_msg+0x726/0xc00 net/netfilter/nfnetlink.c:209 #1: (rcu_read_lock){....}, at: [] ctnetlink_create_conntrack+0x166/0x1050 net/netfilter/nf_conntrack_netlink.c:1785 #2: (&mm->mmap_sem){++++}, at: [] __do_page_fault+0x2fa/0xb50 arch/x86/mm/fault.c:1371 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: 0 PID: 16012 Comm: syz-executor.2 Not tainted 4.14.194-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+0x1b2/0x283 lib/dump_stack.c:58 ___might_sleep.cold+0x235/0x250 kernel/sched/core.c:6042 __do_page_fault+0x31d/0xb50 arch/x86/mm/fault.c:1385 page_fault+0x25/0x50 arch/x86/entry/entry_64.S:1123 RIP: 0010: (null) RSP: 0018:ffff88820a377228 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffff88820a3772f0 RCX: 0000000000000000 RDX: 1ffffffff0e7a5df RSI: ffff88820a3772a0 RDI: ffff88820a3772f0 RBP: ffff888044d55e00 R08: 0000000000000001 R09: ffff88820a3772f0 R10: ffff88820a37731f R11: ffff88809ff3e600 R12: 0000000000000000 R13: 0000000000000001 R14: ffffffff873d2ec0 R15: ffff88820a3772a0 audit: type=1800 audit(1598425936.250:172): pid=16025 uid=0 auid=0 ses=4 subj=system_u:system_r:kernel_t:s0 op="collect_data" cause="failed(directio)" comm="syz-executor.5" name="file0" dev="sda1" ino=15859 res=0 BUG: unable to handle kernel NULL pointer dereference at (null) IP: (null) PGD 5138f067 P4D 5138f067 PUD 9e1ed067 PMD 0 Oops: 0010 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 0 PID: 16012 Comm: syz-executor.2 Tainted: G W 4.14.194-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff88809ff3e600 task.stack: ffff88820a370000 RIP: 0010: (null) RSP: 0018:ffff88820a377228 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: ffff88820a3772f0 RCX: 0000000000000000 RDX: 1ffffffff0e7a5df RSI: ffff88820a3772a0 RDI: ffff88820a3772f0 RBP: ffff888044d55e00 R08: 0000000000000001 R09: ffff88820a3772f0 R10: ffff88820a37731f R11: ffff88809ff3e600 R12: 0000000000000000 R13: 0000000000000001 R14: ffffffff873d2ec0 R15: ffff88820a3772a0 FS: 00007fa2927eb700(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fa2927c9db8 CR3: 0000000091cf3000 CR4: 00000000001406f0 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+0x1f3/0x560 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:1491 [inline] ctnetlink_create_conntrack+0x43b/0x1050 net/netfilter/nf_conntrack_netlink.c:1840 ctnetlink_new_conntrack+0x457/0xbf0 net/netfilter/nf_conntrack_netlink.c:1964 nfnetlink_rcv_msg+0x9bb/0xc00 net/netfilter/nfnetlink.c:214 netlink_rcv_skb+0x125/0x390 net/netlink/af_netlink.c:2433 nfnetlink_rcv+0x1ab/0x1da0 net/netfilter/nfnetlink.c:515 netlink_unicast_kernel net/netlink/af_netlink.c:1287 [inline] netlink_unicast+0x437/0x610 net/netlink/af_netlink.c:1313 netlink_sendmsg+0x62e/0xb80 net/netlink/af_netlink.c:1878 sock_sendmsg_nosec net/socket.c:646 [inline] sock_sendmsg+0xb5/0x100 net/socket.c:656 ___sys_sendmsg+0x6c8/0x800 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+0x46/0xbb RIP: 0033:0x45d579 RSP: 002b:00007fa2927eac78 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 0000000000029200 RCX: 000000000045d579 RDX: 0000000000000000 RSI: 0000000020000300 RDI: 0000000000000004 RBP: 000000000118cf80 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118cf4c R13: 00007ffe1a86ca4f R14: 00007fa2927eb9c0 R15: 000000000118cf4c Code: Bad RIP value. RIP: (null) RSP: ffff88820a377228 CR2: 0000000000000000 device bridge0 left promiscuous mode IPv6: ADDRCONF(NETDEV_UP): bridge0: link is not ready ---[ end trace 4d7d0178e9cc8bba ]---