audit: type=1400 audit(1580486804.602:36): avc: denied { map } for pid=7298 comm="syz-executor843" path="/root/syz-executor843716389" dev="sda1" ino=16484 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:object_r:user_home_t:s0 tclass=file permissive=1 audit: type=1400 audit(1580486804.602:37): avc: denied { create } for pid=7298 comm="syz-executor843" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_netfilter_socket permissive=1 BUG: sleeping function called from invalid context at arch/x86/mm/fault.c:1363 audit: type=1400 audit(1580486804.602:38): avc: denied { write } for pid=7298 comm="syz-executor843" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_netfilter_socket permissive=1 in_atomic(): 0, irqs_disabled(): 0, pid: 7298, name: syz-executor843 3 locks held by syz-executor843/7298: #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: 7298 Comm: syz-executor843 Not tainted 4.14.169-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:ffff888098f1f200 EFLAGS: 00010246 RAX: ffffffff88b304b0 RBX: ffff888098f1f290 RCX: 0000000000000000 RDX: 1ffffffff116609d RSI: ffff888098f1f240 RDI: ffff888098f1f290 RBP: ffff888098f1f308 R08: 1ffff110131e3e52 R09: ffff888098f1f290 R10: ffffed10131e3e57 R11: ffff888098f1f2bf R12: ffff8880a855ddc0 R13: 0000000000000000 R14: ffff888098f1f2e0 R15: ffff888098f1f240 BUG: unable to handle kernel NULL pointer dereference at (null) IP: (null) PGD 9e830067 P4D 9e830067 PUD 8cbb4067 PMD 0 Oops: 0010 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 1 PID: 7298 Comm: syz-executor843 Tainted: G W 4.14.169-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff88808dfee300 task.stack: ffff888098f18000 RIP: 0010: (null) RSP: 0018:ffff888098f1f200 EFLAGS: 00010246 RAX: ffffffff88b304b0 RBX: ffff888098f1f290 RCX: 0000000000000000 RDX: 1ffffffff116609d RSI: ffff888098f1f240 RDI: ffff888098f1f290 RBP: ffff888098f1f308 R08: 1ffff110131e3e52 R09: ffff888098f1f290 R10: ffffed10131e3e57 R11: ffff888098f1f2bf R12: ffff8880a855ddc0 R13: 0000000000000000 R14: ffff888098f1f2e0 R15: ffff888098f1f240 FS: 00000000011a1880(0000) GS:ffff8880aed00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000000081cb6000 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 ___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:0x440239 RSP: 002b:00007ffed4372918 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00000000004002c8 RCX: 0000000000440239 RDX: 0000000000000000 RSI: 0000000020000640 RDI: 0000000000000003 RBP: 00000000006ca018 R08: 0000000000000000 R09: 00000000004002c8 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000401ac0 R13: 0000000000401b50 R14: 0000000000000000 R15: 0000000000000000 Code: Bad RIP value. RIP: (null) RSP: ffff888098f1f200 CR2: 0000000000000000 ---[ end trace dc4bc7bf5bf38f73 ]---