BUG: sleeping function called from invalid context at arch/x86/mm/fault.c:1339 in_atomic(): 0, irqs_disabled(): 1, pid: 8920, name: syz-executor3 1 lock held by syz-executor3/8920: #0: 0000000055c2e801 (&mm->mmap_sem){++++}, at: __do_page_fault+0x389/0xe50 arch/x86/mm/fault.c:1325 irq event stamp: 6036 hardirqs last enabled at (6035): [] slab_alloc mm/slab.c:3385 [inline] hardirqs last enabled at (6035): [] kmem_cache_alloc+0x26f/0x760 mm/slab.c:3552 hardirqs last disabled at (6036): [] slab_alloc mm/slab.c:3383 [inline] hardirqs last disabled at (6036): [] kmem_cache_alloc_trace+0xa0/0x780 mm/slab.c:3618 softirqs last enabled at (5906): [] __do_softirq+0x780/0xb17 kernel/softirq.c:314 softirqs last disabled at (5877): [] invoke_softirq kernel/softirq.c:368 [inline] softirqs last disabled at (5877): [] irq_exit+0x1d1/0x200 kernel/softirq.c:408 CPU: 0 PID: 8920 Comm: syz-executor3 Not tainted 4.18.0-rc3+ #133 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+0x1c9/0x2b4 lib/dump_stack.c:113 ___might_sleep.cold.85+0x11f/0x13a kernel/sched/core.c:6190 __might_sleep+0x95/0x190 kernel/sched/core.c:6143 __do_page_fault+0x3b6/0xe50 arch/x86/mm/fault.c:1339 do_page_fault+0xf6/0x8c0 arch/x86/mm/fault.c:1471 page_fault+0x1e/0x30 arch/x86/entry/entry_64.S:1160 RIP: 0010:vmx_vcpu_run+0x124a/0x2600 arch/x86/kvm/vmx.c:10022 Code: a9 68 03 00 00 4c 8b b1 70 03 00 00 4c 8b b9 78 03 00 00 48 8b 89 08 03 00 00 75 05 0f 01 c2 eb 03 0f 01 c3 48 89 4c 24 08 59 <0f> 96 81 88 56 00 00 48 89 81 00 03 00 00 48 89 99 18 03 00 00 8f RSP: 0018:ffff88019a8e7358 EFLAGS: 00010002 RAX: 0000000000000000 RBX: 00000000007080c0 RCX: 0000000041b58ab3 RDX: ffffe8ffffca5d98 RSI: 0000000000000000 RDI: ffff8801b50aef3c RBP: ffff88019a8e7b00 R08: 000060fe24ea5d98 R09: ffffed003b5c46d6 R10: 0000000000000003 R11: 0000000000000000 R12: 0000000000200000 R13: ffff8801ae3b3640 R14: ffff8801da800940 R15: 00000000007080c0 kmalloc include/linux/slab.h:513 [inline] kzalloc include/linux/slab.h:707 [inline] alloc_pipe_info+0x175/0x5a0 fs/pipe.c:633 get_pipe_inode fs/pipe.c:712 [inline] create_pipe_files+0xd3/0x950 fs/pipe.c:745 __do_pipe_flags+0x45/0x250 fs/pipe.c:802 do_pipe2+0x9d/0x310 fs/pipe.c:850 __do_sys_pipe2 fs/pipe.c:868 [inline] __se_sys_pipe2 fs/pipe.c:866 [inline] __x64_sys_pipe2+0x54/0x80 fs/pipe.c:866 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x455ba9 Code: 1d ba fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 eb b9 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f6e2509ac68 EFLAGS: 00000246 ORIG_RAX: 0000000000000125 RAX: ffffffffffffffda RBX: 00007f6e2509b6d4 RCX: 0000000000455ba9 RDX: 0000000000000000 RSI: 0000000000004000 RDI: 0000000020000080 RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004c08b7 R14: 00000000004d0488 R15: 0000000000000000 BUG: unable to handle kernel paging request at 0000000041b5e13b PGD 1af5d5067 P4D 1af5d5067 PUD 0 Oops: 0002 [#1] SMP KASAN CPU: 0 PID: 8920 Comm: syz-executor3 Tainted: G W 4.18.0-rc3+ #133 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:vmx_vcpu_run+0x124a/0x2600 arch/x86/kvm/vmx.c:10022 Code: a9 68 03 00 00 4c 8b b1 70 03 00 00 4c 8b b9 78 03 00 00 48 8b 89 08 03 00 00 75 05 0f 01 c2 eb 03 0f 01 c3 48 89 4c 24 08 59 <0f> 96 81 88 56 00 00 48 89 81 00 03 00 00 48 89 99 18 03 00 00 8f RSP: 0018:ffff88019a8e7358 EFLAGS: 00010002 RAX: 0000000000000000 RBX: 00000000007080c0 RCX: 0000000041b58ab3 RDX: ffffe8ffffca5d98 RSI: 0000000000000000 RDI: ffff8801b50aef3c RBP: ffff88019a8e7b00 R08: 000060fe24ea5d98 R09: ffffed003b5c46d6 R10: 0000000000000003 R11: 0000000000000000 R12: 0000000000200000 R13: ffff8801ae3b3640 R14: ffff8801da800940 R15: 00000000007080c0 FS: 00007f6e2509b700(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000041b5e13b CR3: 00000001cd13f000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: kmalloc include/linux/slab.h:513 [inline] kzalloc include/linux/slab.h:707 [inline] alloc_pipe_info+0x175/0x5a0 fs/pipe.c:633 get_pipe_inode fs/pipe.c:712 [inline] create_pipe_files+0xd3/0x950 fs/pipe.c:745 __do_pipe_flags+0x45/0x250 fs/pipe.c:802 do_pipe2+0x9d/0x310 fs/pipe.c:850 __do_sys_pipe2 fs/pipe.c:868 [inline] __se_sys_pipe2 fs/pipe.c:866 [inline] __x64_sys_pipe2+0x54/0x80 fs/pipe.c:866 do_syscall_64+0x1b9/0x820 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x455ba9 Code: 1d ba fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 0f 83 eb b9 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f6e2509ac68 EFLAGS: 00000246 ORIG_RAX: 0000000000000125 RAX: ffffffffffffffda RBX: 00007f6e2509b6d4 RCX: 0000000000455ba9 RDX: 0000000000000000 RSI: 0000000000004000 RDI: 0000000020000080 RBP: 000000000072bea0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 00000000004c08b7 R14: 00000000004d0488 R15: 0000000000000000 Modules linked in: Dumping ftrace buffer: (ftrace buffer empty) CR2: 0000000041b5e13b ---[ end trace 7f386f6d48c68af3 ]--- RIP: 0010:vmx_vcpu_run+0x124a/0x2600 arch/x86/kvm/vmx.c:10022 Code: a9 68 03 00 00 4c 8b b1 70 03 00 00 4c 8b b9 78 03 00 00 48 8b 89 08 03 00 00 75 05 0f 01 c2 eb 03 0f 01 c3 48 89 4c 24 08 59 <0f> 96 81 88 56 00 00 48 89 81 00 03 00 00 48 89 99 18 03 00 00 8f RSP: 0018:ffff88019a8e7358 EFLAGS: 00010002 RAX: 0000000000000000 RBX: 00000000007080c0 RCX: 0000000041b58ab3 RDX: ffffe8ffffca5d98 RSI: 0000000000000000 RDI: ffff8801b50aef3c RBP: ffff88019a8e7b00 R08: 000060fe24ea5d98 R09: ffffed003b5c46d6 R10: 0000000000000003 R11: 0000000000000000 R12: 0000000000200000 R13: ffff8801ae3b3640 R14: ffff8801da800940 R15: 00000000007080c0 FS: 00007f6e2509b700(0000) GS:ffff8801dae00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000041b5e13b CR3: 00000001cd13f000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400