BUG: sleeping function called from invalid context at arch/x86/mm/fault.c:1355 in_atomic(): 0, irqs_disabled(): 0, pid: 10315, name: syz-executor.0 3 locks held by syz-executor.0/10315: #0: 000000008d402851 (&table[i].mutex){+.+.}, at: nfnl_lock net/netfilter/nfnetlink.c:62 [inline] #0: 000000008d402851 (&table[i].mutex){+.+.}, at: nfnetlink_rcv_msg+0x98d/0xf60 net/netfilter/nfnetlink.c:223 #1: 000000004c0183ef (rcu_read_lock){....}, at: ctnetlink_create_conntrack+0x199/0x12c0 net/netfilter/nf_conntrack_netlink.c:1929 #2: 00000000c55f6d69 (&mm->mmap_sem){++++}, at: __do_page_fault+0x3e2/0xde0 arch/x86/mm/fault.c:1341 Preemption disabled at: [] irq_enter+0x6c/0xd0 kernel/softirq.c:357 CPU: 0 PID: 10315 Comm: syz-executor.0 Not tainted 4.19.134-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x1fc/0x2fe lib/dump_stack.c:118 ___might_sleep.cold+0x235/0x250 kernel/sched/core.c:6196 __do_page_fault+0x40d/0xde0 arch/x86/mm/fault.c:1355 page_fault+0x1e/0x30 arch/x86/entry/entry_64.S:1205 RIP: 0010:0x40 Code: Bad RIP value. RSP: 0018:ffff8882191af190 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc90005aa6000 RDX: 1ffff11014acd44f RSI: ffff8882191af210 RDI: ffff8882191af260 RBP: ffff8880896b8940 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000005 R11: 00000000c85ba55e R12: 0000000000000000 R13: 0000000000000001 R14: ffff8880a566a240 R15: ffff8882191af210 BUG: unable to handle kernel NULL pointer dereference at 0000000000000040 PGD 218e84067 P4D 218e84067 PUD 218e85067 PMD 0 Oops: 0010 [#1] PREEMPT SMP KASAN CPU: 0 PID: 10315 Comm: syz-executor.0 Tainted: G W 4.19.134-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:0x40 Code: Bad RIP value. RSP: 0018:ffff8882191af190 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc90005aa6000 RDX: 1ffff11014acd44f RSI: ffff8882191af210 RDI: ffff8882191af260 RBP: ffff8880896b8940 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000005 R11: 00000000c85ba55e R12: 0000000000000000 R13: 0000000000000001 R14: ffff8880a566a240 R15: ffff8882191af210 FS: 00007f9ac39ed700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000016 CR3: 000000021adb0000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: Modules linked in: CR2: 0000000000000040 out of order segment: rcv_next 1171FA19 seq 117203C2 - 11720410 NOHZ: local_softirq_pending 08 out of order segment: rcv_next 1171FA19 seq 11720410 - 1172045E ---[ end trace 2684f70ec5e7214b ]--- RIP: 0010:0x40 Code: Bad RIP value. RSP: 0018:ffff8882191af190 EFLAGS: 00010246 out of order segment: rcv_next 1171FA19 seq 1172045E - 117204AC RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc90005aa6000 out of order segment: rcv_next 1171FA19 seq 117204AC - 117204FA out of order segment: rcv_next 1171FA19 seq 117204FA - 11720548 out of order segment: rcv_next 1171FA19 seq 11720548 - 11720596 RDX: 1ffff11014acd44f RSI: ffff8882191af210 RDI: ffff8882191af260 RBP: ffff8880896b8940 R08: 0000000000000001 R09: 0000000000000000 out of order segment: rcv_next 1171FA19 seq 11720596 - 117205E4 out of order segment: rcv_next 1171FA19 seq 117205E4 - 11720632 R10: 0000000000000005 R11: 00000000c85ba55e R12: 0000000000000000 R13: 0000000000000001 R14: ffff8880a566a240 R15: ffff8882191af210 out of order segment: rcv_next 1171FA19 seq 11720632 - 11720680 out of order segment: rcv_next 1171FA19 seq 11720680 - 117206CE out of order segment: rcv_next 1171FA19 seq 117206CE - 1172071C FS: 00007f9ac39ed700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 out of order segment: rcv_next 1171FA19 seq 1172071C - 1172076A CR2: 00007f7daaf8da21 CR3: 000000021adb0000 CR4: 00000000001406f0 out of order segment: rcv_next 1171FA19 seq 1172076A - 117207B8 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 prune_queue: c=1171c642 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 out of order segment: rcv_next 1171FA19 seq 117207B8 - 11720806 prune_queue: c=1171c642