BUG: sleeping function called from invalid context at arch/x86/mm/fault.c:1422 in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 7036, name: syz-fuzzer 1 lock held by syz-fuzzer/7036: #0: ffff8880a3acc128 (&mm->mmap_sem#2){++++}-{3:3}, at: do_user_addr_fault arch/x86/mm/fault.c:1405 [inline] #0: ffff8880a3acc128 (&mm->mmap_sem#2){++++}-{3:3}, at: do_page_fault+0x34d/0x13da arch/x86/mm/fault.c:1535 irq event stamp: 3695638 hardirqs last enabled at (3695637): [] __free_object+0x8b3/0xee0 lib/debugobjects.c:360 hardirqs last disabled at (3695638): [] syscall_return_slowpath arch/x86/entry/common.c:278 [inline] hardirqs last disabled at (3695638): [] do_syscall_64+0x204/0x7d0 arch/x86/entry/common.c:305 softirqs last enabled at (3694934): [] __do_softirq+0x6ef/0x9f7 kernel/softirq.c:319 softirqs last disabled at (3694899): [] invoke_softirq kernel/softirq.c:373 [inline] softirqs last disabled at (3694899): [] irq_exit+0x192/0x1d0 kernel/softirq.c:413 CPU: 0 PID: 7036 Comm: syz-fuzzer Not tainted 5.7.0-rc3-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:6801 do_user_addr_fault arch/x86/mm/fault.c:1422 [inline] do_page_fault+0x37a/0x13da arch/x86/mm/fault.c:1535 page_fault+0x39/0x40 arch/x86/entry/entry_64.S:1203 RIP: 0010:prepare_exit_to_usermode arch/x86/entry/common.c:206 [inline] RIP: 0010:syscall_return_slowpath arch/x86/entry/common.c:279 [inline] RIP: 0010:do_syscall_64+0x6c0/0x7d0 arch/x86/entry/common.c:305 Code: 86 f6 28 00 66 90 e9 fb fc ff ff e8 5a 77 72 00 44 89 ee 48 89 ef e8 8f ec ff ff e9 a6 fc ff ff e8 45 77 72 00 e8 40 3d 29 00 <00> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 e9 27 fc ff ff RSP: 0018:ffffc900017e7f28 EFLAGS: 00010086 RAX: 0000000000000000 RBX: 000000008500727b RCX: ffffffff8129f671 RDX: 0000000000000000 RSI: ffffffff8129f67b RDI: ffff8880a85ca340 RBP: 0000000000004000 R08: ffff8880a85ca340 R09: ffffed10150b9469 R10: ffff8880a85ca347 R11: ffffed10150b9468 R12: 0000000000000000 R13: 0000000000004000 R14: 0000000000000000 R15: 0000000000000000 entry_SYSCALL_64_after_hwframe+0x49/0xb3 BUG: kernel NULL pointer dereference, address: 0000000000000000 #PF: supervisor write access in kernel mode #PF: error_code(0x0002) - not-present page PGD 96e5c067 P4D 96e5c067 PUD 91792067 PMD 0 Oops: 0002 [#1] PREEMPT SMP KASAN CPU: 0 PID: 7036 Comm: syz-fuzzer Not tainted 5.7.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:in_gate_area_no_mm+0x21/0x6a arch/x86/entry/vsyscall/vsyscall_64.c:344 Code: 66 0f 1f 84 00 00 00 00 00 41 54 55 53 48 89 fb e8 34 42 72 00 8b 2d 56 f4 5e 08 bf 02 00 00 00 89 ee e8 92 43 72 00 83 fd 00 <00> 00 00 00 00 00 00 70 77 07 00 00 00 70 07 c7 c7 00 00 60 ff 48 RSP: 0018:ffffc900017e75d0 EFLAGS: 00010046 RAX: 0000000000000000 RBX: 000000000046068d RCX: ffffffff8100ec7e RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000005 RBP: 0000000000000000 R08: ffff8880a85ca340 R09: fffffbfff18c4822 R10: ffffffff8c624109 R11: fffffbfff18c4821 R12: 0000000000000000 R13: ffffc900017e7750 R14: 000000000046068d R15: ffffc900017e76a0 FS: 000000c000042090(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000000a6917000 CR4: 00000000001426f0 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+0xc1/0x2d0 kernel/kallsyms.c:290 __sprint_symbol+0x9c/0x1c0 kernel/kallsyms.c:363 symbol_string+0x14f/0x200 lib/vsprintf.c:961 pointer+0x15e/0x680 lib/vsprintf.c:2188 vsnprintf+0x5ac/0x14f0 lib/vsprintf.c:2578 vscnprintf+0x29/0x80 lib/vsprintf.c:2677 vprintk_store+0x40/0x4b0 kernel/printk/printk.c:1942 vprintk_emit+0x139/0x730 kernel/printk/printk.c:2003 vprintk_func+0x79/0x17e kernel/printk/printk_safe.c:385 printk+0xba/0xed kernel/printk/printk.c:2081 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:73 show_trace_log_lvl+0x25f/0x2b5 arch/x86/kernel/dumpstack.c:274 __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:6801 do_user_addr_fault arch/x86/mm/fault.c:1422 [inline] do_page_fault+0x37a/0x13da arch/x86/mm/fault.c:1535 page_fault+0x39/0x40 arch/x86/entry/entry_64.S:1203 RIP: 0010:prepare_exit_to_usermode arch/x86/entry/common.c:206 [inline] RIP: 0010:syscall_return_slowpath arch/x86/entry/common.c:279 [inline] RIP: 0010:do_syscall_64+0x6c0/0x7d0 arch/x86/entry/common.c:305 Code: 86 f6 28 00 66 90 e9 fb fc ff ff e8 5a 77 72 00 44 89 ee 48 89 ef e8 8f ec ff ff e9 a6 fc ff ff e8 45 77 72 00 e8 40 3d 29 00 <00> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 e9 27 fc ff ff RSP: 0018:ffffc900017e7f28 EFLAGS: 00010086 RAX: 0000000000000000 RBX: 000000008500727b RCX: ffffffff8129f671 RDX: 0000000000000000 RSI: ffffffff8129f67b RDI: ffff8880a85ca340 RBP: 0000000000004000 R08: ffff8880a85ca340 R09: ffffed10150b9469 R10: ffff8880a85ca347 R11: ffffed10150b9468 R12: 0000000000000000 R13: 0000000000004000 R14: 0000000000000000 R15: 0000000000000000 entry_SYSCALL_64_after_hwframe+0x49/0xb3 BUG: kernel NULL pointer dereference, address: 0000000000000000 #PF: supervisor write access in kernel mode #PF: error_code(0x0002) - not-present page PGD 96e5c067 P4D 96e5c067 PUD 91792067 PMD 0 Oops: 0002 [#2] PREEMPT SMP KASAN CPU: 0 PID: 7036 Comm: syz-fuzzer Not tainted 5.7.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:in_gate_area_no_mm+0x21/0x6a arch/x86/entry/vsyscall/vsyscall_64.c:344 Code: 66 0f 1f 84 00 00 00 00 00 41 54 55 53 48 89 fb e8 34 42 72 00 8b 2d 56 f4 5e 08 bf 02 00 00 00 89 ee e8 92 43 72 00 83 fd 00 <00> 00 00 00 00 00 00 70 77 07 00 00 00 70 07 c7 c7 00 00 60 ff 48 RSP: 0018:ffffc900017e6b30 EFLAGS: 00010046 RAX: 0000000000000000 RBX: 000000000046068d RCX: ffffffff8100ec7e RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000005 RBP: 0000000000000000 R08: ffff8880a85ca340 R09: ffffed1015cc4b87 R10: ffff8880ae625c36 R11: ffffed1015cc4b86 R12: 0000000000000000 R13: ffffc900017e6cb0 R14: 000000000046068d R15: ffffc900017e6c00 FS: 000000c000042090(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000000000 CR3: 00000000a6917000 CR4: 00000000001426f0 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+0xc1/0x2d0 kernel/kallsyms.c:290 __sprint_symbol+0x9c/0x1c0 kernel/kallsyms.c:363 symbol_string+0x14f/0x200 lib/vsprintf.c:961 pointer+0x15e/0x680 lib/vsprintf.c:2188 vsnprintf+0x5ac/0x14f0 lib/vsprintf.c:2578 vscnprintf+0x29/0x80 lib/vsprintf.c:2677 printk_safe_log_store+0xf5/0x250 kernel/printk/printk_safe.c:92 vprintk_safe kernel/printk/printk_safe.c:345 [inline] vprintk_func+0x126/0x17e kernel/printk/printk_safe.c:382 printk+0xba/0xed kernel/printk/printk.c:2081 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:73 show_trace_log_lvl+0x25f/0x2b5 arch/x86/kernel/dumpstack.c:274 __die_body+0x16/0x60 arch/x86/kernel/dumpstack.c:392 no_context+0x569/0x9f0 arch/x86/mm/fault.c:843 __bad_area_nosemaphore+0xa6/0x420 arch/x86/mm/fault.c:935 do_kern_addr_fault arch/x86/mm/fault.c:1299 [inline] do_page_fault+0x932/0x13da arch/x86/mm/fault.c:1533 page_fault+0x39/0x40 arch/x86/entry/entry_64.S:1203 RIP: 0010:in_gate_area_no_mm+0x21/0x6a arch/x86/entry/vsyscall/vsyscall_64.c:344 Code: 66 0f 1f 84 00 00 00 00 00 41 54 55 53 48 89 fb e8 34 42 72 00 8b 2d 56 f4 5e 08 bf 02 00 00 00 89 ee e8 92 43 72 00 83 fd 00 <00> 00 00 00 00 00 00 70 77 07 00 00 00 70 07 c7 c7 00 00 60 ff 48 RSP: 0018:ffffc900017e75d0 EFLAGS: 00010046 RAX: 0000000000000000 RBX: 000000000046068d RCX: ffffffff8100ec7e RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000005 RBP: 0000000000000000 R08: ffff8880a85ca340 R09: fffffbfff18c4822 R10: ffffffff8c624109 R11: fffffbfff18c4821 R12: 0000000000000000 R13: ffffc900017e7750 R14: 000000000046068d R15: ffffc900017e76a0 is_kernel include/linux/kallsyms.h:43 [inline] is_ksym_addr include/linux/kallsyms.h:49 [inline] kallsyms_lookup+0xc1/0x2d0 kernel/kallsyms.c:290 __sprint_symbol+0x9c/0x1c0 kernel/kallsyms.c:363 symbol_string+0x14f/0x200 lib/vsprintf.c:961 pointer+0x15e/0x680 lib/vsprintf.c:2188 vsnprintf+0x5ac/0x14f0 lib/vsprintf.c:2578 vscnprintf+0x29/0x80 lib/vsprintf.c:2677 vprintk_store+0x40/0x4b0 kernel/printk/printk.c:1942 vprintk_emit+0x139/0x730 kernel/printk/printk.c:2003 vprintk_func+0x79/0x17e kernel/printk/printk_safe.c:385 printk+0xba/0xed kernel/printk/printk.c:2081 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:73 show_trace_log_lvl+0x25f/0x2b5 arch/x86/kernel/dumpstack.c:274 __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:6801 do_user_addr_fault arch/x86/mm/fault.c:1422 [inline] do_page_fault+0x37a/0x13da arch/x86/mm/fault.c:1535 page_fault+0x39/0x40 arch/x86/entry/entry_64.S:1203 RIP: 0010:prepare_exit_to_usermode arch/x86/entry/common.c:206 [inline] RIP: 0010:syscall_return_slowpath arch/x86/entry/common.c:279 [inline] RIP: 0010:do_syscall_64+0x6c0/0x7d0 arch/x86/entry/common.c:305 Code: 86 f6 28 00 66 90 e9 fb fc ff ff e8 5a 77 72 00 44 89 ee 48 89 ef e8 8f ec ff ff e9 a6 fc ff ff e8 45 77 72 00 e8 40 3d 29 00 <00> 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 e9 27 fc ff ff RSP: 0018:ffffc900017e7f28 EFLAGS: 00010086 RAX: 0000000000000000 RBX: 000000008500727b RCX: ffffffff8129f671 RDX: 0000000000000000 RSI: ffffffff8129f67b RDI: ffff8880a85ca340 RBP: 0000000000004000 R08: ffff8880a85ca340 R09: ffffed10150b9469 R10: ffff8880a85ca347 R11: ffffed10150b9468 R12: 0000000000000000 R13: 0000000000004000 R14: 0000000000000000 R15: 0000000000000000 entry_SYSCALL_64 Lost 29 message(s)!