BUG: sleeping function called from invalid context at arch/x86/mm/fault.c:1253 in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 21497, name: syz-executor.2 1 lock held by syz-executor.2/21497: #0: ffff88801cc70a28 (&mm->mmap_lock#2){++++}-{3:3}, at: mmap_read_trylock include/linux/mmap_lock.h:56 [inline] #0: ffff88801cc70a28 (&mm->mmap_lock#2){++++}-{3:3}, at: do_user_addr_fault+0x260/0xd00 arch/x86/mm/fault.c:1236 irq event stamp: 14022 hardirqs last enabled at (14021): [] seqcount_lockdep_reader_access include/linux/seqlock.h:99 [inline] hardirqs last enabled at (14021): [] read_seqcount_begin.constprop.0+0xd9/0x1f0 include/linux/seqlock.h:182 hardirqs last disabled at (14022): [] __syscall_return_slowpath+0x4d/0x280 arch/x86/entry/common.c:351 softirqs last enabled at (10574): [] __do_softirq+0x748/0xa60 kernel/softirq.c:319 softirqs last disabled at (10499): [] asm_call_on_stack+0xf/0x20 arch/x86/entry/entry_64.S:711 CPU: 1 PID: 21497 Comm: syz-executor.2 Not tainted 5.8.0-rc6-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+0x18f/0x20d lib/dump_stack.c:118 ___might_sleep.cold+0x1ef/0x235 kernel/sched/core.c:6941 do_user_addr_fault+0x28d/0xd00 arch/x86/mm/fault.c:1253 handle_page_fault arch/x86/mm/fault.c:1365 [inline] exc_page_fault+0xab/0x170 arch/x86/mm/fault.c:1418 asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:542 RIP: 0010:__prepare_exit_to_usermode+0x0/0x1f0 arch/x86/entry/common.c:257 Code: 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 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 00 00 00 00 00 00 RSP: 0018:ffffc9000da6ff38 EFLAGS: 00010093 RAX: 0000000000000000 RBX: 00000000000000e4 RCX: ffffffff81796be1 RDX: ffff888061452180 RSI: ffffffff8100809d RDI: ffffc9000da6ff58 RBP: ffffc9000da6ff58 R08: 0000000000000001 R09: ffffc9000da6fe57 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 do_syscall_64+0x6c/0xe0 arch/x86/entry/common.c:393 entry_SYSCALL_64_after_hwframe+0x44/0xa9 BUG: kernel NULL pointer dereference, address: 0000000000000000 #PF: supervisor write access in kernel mode #PF: error_code(0x0002) - not-present page PGD 247d8067 P4D 247d8067 PUD 247d9067 PMD 0 Oops: 0002 [#1] PREEMPT SMP KASAN CPU: 1 PID: 21497 Comm: syz-executor.2 Not tainted 5.8.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:in_gate_area_no_mm+0x0/0x6a arch/x86/entry/vsyscall/vsyscall_64.c:343 Code: 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 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 00 00 00 00 00 00 RSP: 0018:ffffc9000da6f568 EFLAGS: 00010093 RAX: 0000000000000000 RBX: ffffc9000da6f608 RCX: ffffffff816a6330 RDX: ffff888061452180 RSI: ffffffff816a635b RDI: 000000000045f1aa RBP: 000000000045f1aa R08: ffffc9000da6f718 R09: ffffffff8c8d7109 R10: 000000000045f1aa R11: 0000000000000000 R12: ffffc9000da6f718 R13: 0000000000000001 R14: 000000000045f1aa R15: ffffc9000da6f628 FS: 00000000019e7940(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000005f077000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: is_kernel include/linux/kallsyms.h:44 [inline] is_ksym_addr include/linux/kallsyms.h:50 [inline] kallsyms_lookup+0xc3/0x2e0 kernel/kallsyms.c:290 __sprint_symbol+0x9c/0x1c0 kernel/kallsyms.c:363 symbol_string+0x14c/0x370 lib/vsprintf.c:969 pointer+0x185/0x970 lib/vsprintf.c:2226 vsnprintf+0x5b2/0x14f0 lib/vsprintf.c:2624 vscnprintf+0x29/0x80 lib/vsprintf.c:2723 vprintk_store+0x44/0x4a0 kernel/printk/printk.c:1942 vprintk_emit+0x139/0x770 kernel/printk/printk.c:2003 vprintk_func+0x8f/0x1a6 kernel/printk/printk_safe.c:393 printk+0xba/0xed kernel/printk/printk.c:2070 show_ip+0x22/0x30 arch/x86/kernel/dumpstack.c:131 show_iret_regs+0x10/0x32 arch/x86/kernel/dumpstack.c:138 __show_regs+0x18/0x50 arch/x86/kernel/process_64.c:72 show_trace_log_lvl+0x255/0x2b4 arch/x86/kernel/dumpstack.c:281 __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x18f/0x20d lib/dump_stack.c:118 ___might_sleep.cold+0x1ef/0x235 kernel/sched/core.c:6941 do_user_addr_fault+0x28d/0xd00 arch/x86/mm/fault.c:1253 handle_page_fault arch/x86/mm/fault.c:1365 [inline] exc_page_fault+0xab/0x170 arch/x86/mm/fault.c:1418 asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:542 RIP: 0010:__prepare_exit_to_usermode+0x0/0x1f0 arch/x86/entry/common.c:257 Code: 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 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 00 00 00 00 00 00 RSP: 0018:ffffc9000da6ff38 EFLAGS: 00010093 RAX: 0000000000000000 RBX: 00000000000000e4 RCX: ffffffff81796be1 RDX: ffff888061452180 RSI: ffffffff8100809d RDI: ffffc9000da6ff58 RBP: ffffc9000da6ff58 R08: 0000000000000001 R09: ffffc9000da6fe57 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000 R13: 0000000000000000 R14: 0000000000000000 R15: 0000000000000000 do_syscall_64+0x6c/0xe0 arch/x86/entry/common.c:393 entry_SYSCALL_64_after_hwframe+0x44/0xa9 BUG: kernel NULL pointer dereference, address: 0000000000000000 #PF: supervisor write access in kernel mode #PF: error_code(0x0002) - not-present page PGD 247d8067 P4D 247d8067 PUD 247d9067 PMD 0 Oops: 0002 [#2] PREEMPT SMP KASAN CPU: 1 PID: 21497 Comm: syz-executor.2 Not tainted 5.8.0-rc6-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:in_gate_area_no_mm+0x0/0x6a arch/x86/entry/vsyscall/vsyscall_64.c:343 Code: 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 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 00 00 00 00 00 00 RSP: 0018:ffffc9000da6ea50 EFLAGS: 00010093 RAX: 0000000000000000 RBX: ffffc9000da6eaf0 RCX: ffffffff816a6330 RDX: ffff888061452180 RSI: ffffffff816a635b RDI: 000000000045f1aa RBP: 000000000045f1aa R08: ffffc9000da6ec00 R09: ffff8880ae723d3e R10: 000000000045f1aa R11: 0000000000000001 R12: ffffc9000da6ec00 R13: 0000000000000001 R14: 000000000045f1aa R15: ffffc9000da6eb10 FS: 00000000019e7940(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 000000005f077000 CR4: 00000000001406e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: is_kernel include/linux/kallsyms.h:44 [inline] is_ksym_addr include/linux/kallsyms.h:50 [inline] kallsyms_lookup+0xc3/0x2e0 kernel/kallsyms.c:290 __sprint_symbol+0x9c/0x1c0 kernel/kallsyms.c:363 symbol_string+0x14c/0x370 lib/vsprintf.c:969 pointer+0x185/0x970 lib/vsprintf.c:2226 vsnprintf+0x5b2/0x14f0 lib/vsprintf.c:2624 vscnprintf+0x29/0x80 lib/vsprintf.c:2723 printk_safe_log_store+0xf5/0x250 kernel/printk/printk_safe.c:94 vprintk_safe kernel/printk/printk_safe.c:347 [inline] vprintk_func+0xef/0x1a6 kernel/printk/printk_safe.c:390 printk+0xba/0xed kernel/printk/printk.c:2070 show_ip+0x22/0x30 arch/x86/kernel/dumpstack.c:131 show_iret_regs+0x10/0x32 arch/x86/kernel/dumpstack.c:138 __show_regs+0x18/0x50 arch/x86/kernel/process_64.c:72 show_trace_log_lvl+0x255/0x2b4 arch/x86/kernel/dumpstack.c:281 show_regs arch/x86/kernel/dumpstack.c:454 [inline] __die_body arch/x86/kernel/dumpstack.c:400 [inline] __die+0x51/0x90 arch/x86/kernel/dumpstack.c:414 no_context+0x56b/0x9f0 arch/x86/mm/fault.c:695 __bad_area_nosemaphore+0xa9/0x480 arch/x86/mm/fault.c:789 do_user_addr_fault+0x783/0xd00 arch/x86/mm/fault.c:1171 handle_page_fault arch/x86/mm/fault.c:1365 [inline] exc_page_fault+0xab/0x170 arch/x86/mm/fault.c:1418 asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:542 RIP: 0010:in_gate_area_no_mm+0x0/0x6a arch/x86/entry/vsyscall/vsyscall_64.c:343 Code: 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 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 00 00 00 00 00 00 RSP: 0018:ffffc9000da6f568 EFLAGS: 00010093 RAX: 0000000000000000 RBX: ffffc9000da6f608 RCX: ffffffff816a6330 RDX: ffff888061452180 RSI: ffffffff816a635b RDI: 000000000045f1aa RBP: 000000000045f1aa R08: ffffc9000da6f718 R09: ffffffff8c8d7109 R10: 000000000045f1aa R11: 0000000000000000 R12: ffffc9000da6f718 R13: 0000000000000001 R14: 000000000045f1aa R15: ffffc9000da6f628 is_kernel include/linux/kallsyms.h:44 [inline] is_ksym_addr include/linux/kallsyms.h:50 [inline] kallsyms_lookup+0xc3/0x2e0 kernel/kallsyms.c:290 __sprint_symbol+0x9c/0x1c0 kernel/kallsyms.c:363 symbol_string+0x14c/0x370 lib/vsprintf.c:969 pointer+0x185/0x970 lib/vsprintf.c:2226 vsnprintf+0x5b2/0x14f0 lib/vsprintf.c:2624 vscnprintf+0x29/0x80 lib/vsprintf.c:2723 vprintk_store+0x44/0x4a0 kernel/printk/printk.c:1942 vprintk_emit+0x139/0x770 kernel/printk/printk.c:2003 vprintk_func+0x8f/0x1a6 kernel/printk/printk_safe.c:393 printk+0xba/0xed kernel/printk/printk.c:2070 show_ip+0x22/0x30 arch/x86/kernel/dumpstack.c:131 show_iret_regs+0x10/0x32 arch/x86/kernel/dumpstack.c:138 __show_regs+0x18/0x50 arch/x86/kernel/process_64.c:72 show_trace_log_lvl+0x255/0x2b4 arch/x86/kernel/dumpstack.c:281 __dump_stack lib/dump_stack.c:77 [inline] dump_stack+0x18f/0x20d lib/dump_stack.c:118 ___might_sleep.cold+0x1ef/0x235 kernel/sched/core.c:6941 do_user_addr_fault+0x28d/0xd00 arch/x86/mm/fault.c:1253 handle_page_fault arch/x86/mm/fault.c:1365 [inline] exc_page_fault+0xab/0x170 arch/x86/mm/fault.c:1418 asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:542 RIP: 0010:__prepare_exit_to_usermode+0x0/0x1f0 arch/x86/entry/common.c:257 Code: 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 00 00 00 00 00 0 Lost 41 message(s)!