BUG: sleeping function called from invalid context at arch/x86/mm/fault.c:1253 in_atomic(): 0, irqs_disabled(): 1, non_block: 0, pid: 16560, name: syz-executor.3 INFO: lockdep is turned off. irq event stamp: 2986 hardirqs last enabled at (2985): [] __call_rcu kernel/rcu/tree.c:2911 [inline] hardirqs last enabled at (2985): [] call_rcu+0x509/0x840 kernel/rcu/tree.c:2952 hardirqs last disabled at (2986): [] __syscall_return_slowpath+0x52/0x180 arch/x86/entry/common.c:328 softirqs last enabled at (2870): [] asm_call_on_stack+0xf/0x20 arch/x86/entry/entry_64.S:711 softirqs last disabled at (2849): [] asm_call_on_stack+0xf/0x20 arch/x86/entry/entry_64.S:711 CPU: 0 PID: 16560 Comm: syz-executor.3 Not tainted 5.8.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+0x1f0/0x31e lib/dump_stack.c:118 ___might_sleep+0x3c0/0x570 kernel/sched/core.c:6899 do_user_addr_fault+0x377/0xba0 arch/x86/mm/fault.c:1253 handle_page_fault arch/x86/mm/fault.c:1365 [inline] exc_page_fault+0x124/0x1f0 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+0x53/0x1e0 arch/x86/entry/common.c:240 Code: 50 15 00 00 0f 85 8f 01 00 00 f0 41 80 64 24 03 7f 83 3d 9f e9 6c 08 00 74 23 41 83 bc 24 cc 08 00 00 00 75 18 41 83 77 00 00 <00> 70 07 00 00 77 00 70 07 00 00 70 07 00 70 07 00 70 07 00 00 70 RSP: 0018:ffffc90003e1ff10 EFLAGS: 00010006 RAX: 0000000000004000 RBX: 000000000000000a RCX: ffff888053812380 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffc90003e1ff58 RBP: 0000000000000000 R08: ffffffff817a2250 R09: ffffed1015195ad8 R10: ffffed1015195ad8 R11: 0000000000000000 R12: ffff888053812380 R13: 0000000000000000 R14: ffffc90003e1ff58 R15: ffffc90003e1ff58 do_syscall_64+0x7f/0xe0 arch/x86/entry/common.c:368 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45cc27 Code: Bad RIP value. RSP: 002b:00007ffd0d63f408 EFLAGS: 00000246 ORIG_RAX: 000000000000000a RAX: 0000000000000000 RBX: 0000000000020000 RCX: 000000000045cc27 RDX: 0000000000000000 RSI: 0000000000001000 RDI: 00007f87bf751000 RBP: 00007ffd0d63f4f0 R08: 00000000007447e0 R09: 00000000007447e0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffd0d63f5f0 R13: 00007f87bf771700 R14: 00007f87bf7719c0 R15: 000000000078bf0c BUG: unable to handle page fault for address: 0000000000004007 #PF: supervisor write access in kernel mode #PF: error_code(0x0002) - not-present page PGD 2139b5067 P4D 2139b5067 PUD 217811067 PMD 0 Oops: 0002 [#2] PREEMPT SMP KASAN CPU: 0 PID: 16560 Comm: syz-executor.3 Tainted: G D W 5.8.0-rc3-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__prepare_exit_to_usermode+0x53/0x1e0 arch/x86/entry/common.c:240 Code: 50 15 00 00 0f 85 8f 01 00 00 f0 41 80 64 24 03 7f 83 3d 9f e9 6c 08 00 74 23 41 83 bc 24 cc 08 00 00 00 75 18 41 83 77 00 00 <00> 70 07 00 00 77 00 70 07 00 00 70 07 00 70 07 00 70 07 00 00 70 RSP: 0018:ffffc90003e1ff10 EFLAGS: 00010006 RAX: 0000000000004000 RBX: 000000000000000a RCX: ffff888053812380 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffc90003e1ff58 RBP: 0000000000000000 R08: ffffffff817a2250 R09: ffffed1015195ad8 R10: ffffed1015195ad8 R11: 0000000000000000 R12: ffff888053812380 R13: 0000000000000000 R14: ffffc90003e1ff58 R15: ffffc90003e1ff58 FS: 0000000001570940(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000004007 CR3: 0000000218553000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: do_syscall_64+0x7f/0xe0 arch/x86/entry/common.c:368 entry_SYSCALL_64_after_hwframe+0x44/0xa9 RIP: 0033:0x45cc27 Code: Bad RIP value. RSP: 002b:00007ffd0d63f408 EFLAGS: 00000246 ORIG_RAX: 000000000000000a RAX: 0000000000000000 RBX: 0000000000020000 RCX: 000000000045cc27 RDX: 0000000000000000 RSI: 0000000000001000 RDI: 00007f87bf751000 RBP: 00007ffd0d63f4f0 R08: 00000000007447e0 R09: 00000000007447e0 R10: 0000000000000000 R11: 0000000000000246 R12: 00007ffd0d63f5f0 R13: 00007f87bf771700 R14: 00007f87bf7719c0 R15: 000000000078bf0c Modules linked in: CR2: 0000000000004007 ---[ end trace 11bedb3d8352dcb9 ]--- RIP: 0010:__prepare_exit_to_usermode+0x53/0x1e0 arch/x86/entry/common.c:240 Code: 50 15 00 00 0f 85 8f 01 00 00 f0 41 80 64 24 03 7f 83 3d 9f e9 6c 08 00 74 23 41 83 bc 24 cc 08 00 00 00 75 18 41 83 77 00 00 <00> 70 07 00 00 77 00 70 07 00 00 70 07 00 70 07 00 70 07 00 00 70 RSP: 0018:ffffc90007daff10 EFLAGS: 00010006 RAX: 0000000000004000 RBX: 0000000000000023 RCX: ffff88804be00300 RDX: 0000000000000000 RSI: 0000000000000000 RDI: ffffc90007daff58 RBP: 0000000000000000 R08: ffffffff817a2250 R09: ffffed1015d26cf4 R10: ffffed1015d26cf4 R11: 0000000000000000 R12: ffff88804be00300 R13: 0000000000000000 R14: ffffc90007daff58 R15: ffffc90007daff58 FS: 0000000001570940(0000) GS:ffff8880ae800000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000004007 CR3: 0000000218553000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400