BUG: sleeping function called from invalid context at arch/x86/mm/fault.c:1422 in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 14254, name: syz-executor.0 1 lock held by syz-executor.0/14254: #0: ffff88802fdab268 (&mm->mmap_sem#2){++++}-{3:3}, at: do_user_addr_fault arch/x86/mm/fault.c:1405 [inline] #0: ffff88802fdab268 (&mm->mmap_sem#2){++++}-{3:3}, at: do_page_fault+0x34c/0x12da arch/x86/mm/fault.c:1539 irq event stamp: 4068 hardirqs last enabled at (4067): [] __free_object+0x8b3/0xee0 lib/debugobjects.c:360 hardirqs last disabled at (4068): [] syscall_return_slowpath arch/x86/entry/common.c:278 [inline] hardirqs last disabled at (4068): [] do_syscall_32_irqs_on arch/x86/entry/common.c:340 [inline] hardirqs last disabled at (4068): [] do_fast_syscall_32+0x386/0xe90 arch/x86/entry/common.c:396 softirqs last enabled at (1594): [] __do_softirq+0x6ef/0x9f7 kernel/softirq.c:319 softirqs last disabled at (1531): [] invoke_softirq kernel/softirq.c:373 [inline] softirqs last disabled at (1531): [] irq_exit+0x192/0x1d0 kernel/softirq.c:413 CPU: 0 PID: 14254 Comm: syz-executor.0 Not tainted 5.6.0-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+0x188/0x20d lib/dump_stack.c:118 ___might_sleep.cold+0x1f4/0x23d kernel/sched/core.c:6812 do_user_addr_fault arch/x86/mm/fault.c:1422 [inline] do_page_fault+0x379/0x12da arch/x86/mm/fault.c:1539 page_fault+0x39/0x40 arch/x86/entry/entry_64.S:1203 RIP: 0010:get_current arch/x86/include/asm/current.h:15 [inline] RIP: 0010:prepare_exit_to_usermode arch/x86/entry/common.c:190 [inline] RIP: 0010:syscall_return_slowpath arch/x86/entry/common.c:279 [inline] RIP: 0010:do_syscall_32_irqs_on arch/x86/entry/common.c:340 [inline] RIP: 0010:do_fast_syscall_32+0x5d9/0xe90 arch/x86/entry/common.c:396 Code: ed 48 89 de e8 58 35 72 00 48 83 fb 23 0f 84 ff 00 00 00 e8 b9 33 72 00 4c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <00> 00 00 00 00 00 00 00 00 00 00 00 fc ff df 65 4c 8b 2c 25 00 1f RSP: 0018:ffffc90007f87f18 EFLAGS: 00010002 RAX: 0000000000000000 RBX: ffff888030706100 RCX: ffffffff8100b469 RDX: 0000000000000001 RSI: 0000000000000000 RDI: 0000000000000005 RBP: ffffc90007f87f58 R08: ffff888030706100 R09: ffffed10060e0c21 R10: ffffed10060e0c20 R11: ffff888030706107 R12: 00000000f7f67eb9 R13: 0000000000000001 R14: ffffc90007f87fd8 R15: ffffc90007f87fd0 entry_SYSENTER_compat+0x70/0x7f arch/x86/entry/entry_64_compat.S:139 BUG: kernel NULL pointer dereference, address: 0000000000000000 #PF: supervisor write access in kernel mode #PF: error_code(0x0002) - not-present page PGD 36f67067 P4D 36f67067 PUD 960b4067 PMD 0 Oops: 0002 [#2] PREEMPT SMP KASAN CPU: 0 PID: 14254 Comm: syz-executor.0 Tainted: G D W 5.6.0-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:get_current arch/x86/include/asm/current.h:15 [inline] RIP: 0010:prepare_exit_to_usermode arch/x86/entry/common.c:190 [inline] RIP: 0010:syscall_return_slowpath arch/x86/entry/common.c:279 [inline] RIP: 0010:do_syscall_32_irqs_on arch/x86/entry/common.c:340 [inline] RIP: 0010:do_fast_syscall_32+0x5d9/0xe90 arch/x86/entry/common.c:396 Code: ed 48 89 de e8 58 35 72 00 48 83 fb 23 0f 84 ff 00 00 00 e8 b9 33 72 00 4c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <00> 00 00 00 00 00 00 00 00 00 00 00 fc ff df 65 4c 8b 2c 25 00 1f RSP: 0018:ffffc90007f87f18 EFLAGS: 00010002 RAX: 0000000000000000 RBX: ffff888030706100 RCX: ffffffff8100b469 RDX: 0000000000000001 RSI: 0000000000000000 RDI: 0000000000000005 RBP: ffffc90007f87f58 R08: ffff888030706100 R09: ffffed10060e0c21 R10: ffffed10060e0c20 R11: ffff888030706107 R12: 00000000f7f67eb9 R13: 0000000000000001 R14: ffffc90007f87fd8 R15: ffffc90007f87fd0 FS: 0000000000000000(0000) GS:ffff8880ae600000(0063) knlGS:000000000a1ae900 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000000057578000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: entry_SYSENTER_compat+0x70/0x7f arch/x86/entry/entry_64_compat.S:139 Modules linked in: CR2: 0000000000000000 ---[ end trace 5709187055e3469b ]--- RIP: 0010:get_current arch/x86/include/asm/current.h:15 [inline] RIP: 0010:prepare_exit_to_usermode arch/x86/entry/common.c:190 [inline] RIP: 0010:syscall_return_slowpath arch/x86/entry/common.c:279 [inline] RIP: 0010:do_syscall_32_irqs_on arch/x86/entry/common.c:340 [inline] RIP: 0010:do_fast_syscall_32+0x5d9/0xe90 arch/x86/entry/common.c:396 Code: ed 48 89 de e8 58 35 72 00 48 83 fb 23 0f 84 ff 00 00 00 e8 b9 33 72 00 4c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 <00> 00 00 00 00 00 00 00 00 00 00 00 fc ff df 65 4c 8b 2c 25 00 1f RSP: 0018:ffffc90001697f18 EFLAGS: 00010002 RAX: 0000000000000000 RBX: ffff88808f2ce180 RCX: ffffffff8100b469 RDX: 0000000000000001 RSI: 0000000000000000 RDI: 0000000000000005 RBP: ffffc90001697f58 R08: ffff88808f2ce180 R09: ffffed1011e59c31 R10: ffffed1011e59c30 R11: ffff88808f2ce187 R12: 00000000f7f67eb9 R13: 0000000000000001 R14: ffffc90001697fd8 R15: ffffc90001697fd0 FS: 0000000000000000(0000) GS:ffff8880ae600000(0063) knlGS:000000000a1ae900 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000000000000 CR3: 0000000057578000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400