BUG: sleeping function called from invalid context at arch/x86/mm/fault.c:1253 in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 6806, name: syz-fuzzer 1 lock held by syz-fuzzer/6806: #0: ffff88808f8563a8 (&mm->mmap_lock#2){++++}-{3:3}, at: mmap_read_trylock include/linux/mmap_lock.h:56 [inline] #0: ffff88808f8563a8 (&mm->mmap_lock#2){++++}-{3:3}, at: do_user_addr_fault arch/x86/mm/fault.c:1236 [inline] #0: ffff88808f8563a8 (&mm->mmap_lock#2){++++}-{3:3}, at: handle_page_fault arch/x86/mm/fault.c:1365 [inline] #0: ffff88808f8563a8 (&mm->mmap_lock#2){++++}-{3:3}, at: exc_page_fault+0x3af/0x14c0 arch/x86/mm/fault.c:1418 irq event stamp: 2405166 hardirqs last enabled at (2405165): [] count_memcg_events include/linux/memcontrol.h:739 [inline] hardirqs last enabled at (2405165): [] count_memcg_event_mm.part.0+0x23b/0x3c0 include/linux/memcontrol.h:760 hardirqs last disabled at (2405166): [] handle_page_fault arch/x86/mm/fault.c:1373 [inline] hardirqs last disabled at (2405166): [] exc_page_fault+0x8b9/0x14c0 arch/x86/mm/fault.c:1418 softirqs last enabled at (2405064): [] __do_softirq+0x748/0xa60 kernel/softirq.c:319 softirqs last disabled at (2404965): [] asm_call_on_stack+0xf/0x20 arch/x86/entry/entry_64.S:711 CPU: 1 PID: 6806 Comm: syz-fuzzer Not tainted 5.8.0-rc2-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:6875 do_user_addr_fault arch/x86/mm/fault.c:1253 [inline] handle_page_fault arch/x86/mm/fault.c:1365 [inline] exc_page_fault+0x3dc/0x14c0 arch/x86/mm/fault.c:1418 asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:565 RIP: 0010:__prepare_exit_to_usermode+0x0/0x1f0 arch/x86/entry/common.c:234 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: 0000:ffffc9000652fec8 EFLAGS: 00010082 RAX: 0000000000000000 RBX: ffff88808b522000 RCX: 0000000000000001 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffc9000652ff58 RBP: ffffc9000652ff58 R08: 0000000000000001 R09: ffff88808f85633f R10: 0000000000000000 R11: 0000000000000000 R12: 00007f07d2e06000 R13: 0000000000000006 R14: 0000000000000000 R15: 0000000000000000 prepare_exit_to_usermode+0x5/0x30 arch/x86/entry/common.c:277 exc_page_fault+0x8cb/0x14c0 arch/x86/mm/fault.c:1421 asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:565 BUG: kernel NULL pointer dereference, address: 0000000000000000 #PF: supervisor write access in kernel mode #PF: error_code(0x0002) - not-present page PGD 9fbba067 P4D 9fbba067 PUD a75e3067 PMD 0 Oops: 0002 [#1] PREEMPT SMP KASAN CPU: 1 PID: 6806 Comm: syz-fuzzer Not tainted 5.8.0-rc2-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: 0000:ffffc9000652f520 EFLAGS: 00010093 RAX: 0000000000000000 RBX: ffffc9000652f5c0 RCX: ffffffff8169f760 RDX: ffff88808b522000 RSI: ffffffff8169f78b RDI: 000000000045fe39 RBP: 000000000045fe39 R08: ffffc9000652f6d0 R09: ffffffff8c8c7109 R10: 000000000045fe39 R11: 0000000000000000 R12: ffffc9000652f6d0 R13: 0000000000000001 R14: 000000000045fe39 R15: ffffc9000652f5e0 FS: 000000c000042b10(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000000a6131000 CR4: 00000000001426e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: is_kernel include/linux/kallsyms.h:43 [inline] is_ksym_addr include/linux/kallsyms.h:49 [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:124 show_iret_regs+0x10/0x32 arch/x86/kernel/dumpstack.c:131 __show_regs+0x18/0x50 arch/x86/kernel/process_64.c:72 show_trace_log_lvl+0x255/0x2b4 arch/x86/kernel/dumpstack.c:274 __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:6875 do_user_addr_fault arch/x86/mm/fault.c:1253 [inline] handle_page_fault arch/x86/mm/fault.c:1365 [inline] exc_page_fault+0x3dc/0x14c0 arch/x86/mm/fault.c:1418 asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:565 RIP: 0010:__prepare_exit_to_usermode+0x0/0x1f0 arch/x86/entry/common.c:234 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: 0000:ffffc9000652fec8 EFLAGS: 00010082 RAX: 0000000000000000 RBX: ffff88808b522000 RCX: 0000000000000001 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffc9000652ff58 RBP: ffffc9000652ff58 R08: 0000000000000001 R09: ffff88808f85633f R10: 0000000000000000 R11: 0000000000000000 R12: 00007f07d2e06000 R13: 0000000000000006 R14: 0000000000000000 R15: 0000000000000000 prepare_exit_to_usermode+0x5/0x30 arch/x86/entry/common.c:277 exc_page_fault+0x8cb/0x14c0 arch/x86/mm/fault.c:1421 asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:565 BUG: kernel NULL pointer dereference, address: 0000000000000000 #PF: supervisor write access in kernel mode #PF: error_code(0x0002) - not-present page PGD 9fbba067 P4D 9fbba067 PUD a75e3067 PMD 0 Oops: 0002 [#2] PREEMPT SMP KASAN CPU: 1 PID: 6806 Comm: syz-fuzzer Not tainted 5.8.0-rc2-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: 0000:ffffc9000652ea38 EFLAGS: 00010093 RAX: 0000000000000000 RBX: ffffc9000652ead8 RCX: ffffffff8169f760 RDX: ffff88808b522000 RSI: ffffffff8169f78b RDI: 000000000045fe39 RBP: 000000000045fe39 R08: ffffc9000652ebe8 R09: ffff8880ae723d1a R10: 000000000045fe39 R11: 0000000000000001 R12: ffffc9000652ebe8 R13: 0000000000000001 R14: 000000000045fe39 R15: ffffc9000652eaf8 FS: 000000c000042b10(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000000a6131000 CR4: 00000000001426e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: is_kernel include/linux/kallsyms.h:43 [inline] is_ksym_addr include/linux/kallsyms.h:49 [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:124 show_iret_regs+0x10/0x32 arch/x86/kernel/dumpstack.c:131 __show_regs+0x18/0x50 arch/x86/kernel/process_64.c:72 show_trace_log_lvl+0x255/0x2b4 arch/x86/kernel/dumpstack.c:274 show_regs arch/x86/kernel/dumpstack.c:447 [inline] __die_body arch/x86/kernel/dumpstack.c:393 [inline] __die+0x51/0x90 arch/x86/kernel/dumpstack.c:407 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 arch/x86/mm/fault.c:1242 [inline] handle_page_fault arch/x86/mm/fault.c:1365 [inline] exc_page_fault+0x946/0x14c0 arch/x86/mm/fault.c:1418 asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:565 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: 0000:ffffc9000652f520 EFLAGS: 00010093 RAX: 0000000000000000 RBX: ffffc9000652f5c0 RCX: ffffffff8169f760 RDX: ffff88808b522000 RSI: ffffffff8169f78b RDI: 000000000045fe39 RBP: 000000000045fe39 R08: ffffc9000652f6d0 R09: ffffffff8c8c7109 R10: 000000000045fe39 R11: 0000000000000000 R12: ffffc9000652f6d0 R13: 0000000000000001 R14: 000000000045fe39 R15: ffffc9000652f5e0 is_kernel include/linux/kallsyms.h:43 [inline] is_ksym_addr include/linux/kallsyms.h:49 [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:124 show_iret_regs+0x10/0x32 arch/x86/kernel/dumpstack.c:131 __show_regs+0x18/0x50 arch/x86/kernel/process_64.c:72 show_trace_log_lvl+0x255/0x2b4 arch/x86/kernel/dumpstack.c:274 __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:6875 do_user_addr_fault arch/x86/mm/fault.c:1253 [inline] handle_page_fault arch/x86/mm/fault.c:1365 [inline] exc_page_fault+0x3dc/0x14c0 arch/x86/mm/fault.c:1418 asm_exc_page_fault+0x1e/0x30 arch/x86/include/asm/idtentry.h:565 RIP: 0010:__prepare_exit_to_usermode+0x0/0x1f0 arch/x86/entry/common.c:234 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: 0000:ffffc9000652fec8 EFLAGS: 00010082 RAX: 0000000000000000 RBX: ffff88808b522000 RCX: 0000000000000001 RDX: 0000000000000000 RSI Lost 37 message(s)!