BUG: sleeping function called from invalid context at ./include/linux/uaccess.h:71 in_atomic(): 1, irqs_disabled(): 0, pid: 4504, name: syz-executor0 INFO: lockdep is turned off. CPU: 0 PID: 4504 Comm: syz-executor0 Not tainted 4.13.0-rc5-next-20170816+ #4 Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS Bochs 01/01/2011 Call Trace: __dump_stack lib/dump_stack.c:16 [inline] dump_stack+0x194/0x257 lib/dump_stack.c:52 ___might_sleep+0x2b2/0x470 kernel/sched/core.c:6013 __might_sleep+0x95/0x190 kernel/sched/core.c:5966 __might_fault+0xab/0x1d0 mm/memory.c:4383 __copy_from_user include/linux/uaccess.h:71 [inline] paging32_walk_addr_generic+0x428/0x1e00 arch/x86/kvm/paging_tmpl.h:369 paging32_walk_addr arch/x86/kvm/paging_tmpl.h:475 [inline] paging32_gva_to_gpa+0xa5/0x230 arch/x86/kvm/paging_tmpl.h:913 kvm_read_guest_virt_helper+0xd8/0x140 arch/x86/kvm/x86.c:4399 kvm_read_guest_virt_system+0x3c/0x50 arch/x86/kvm/x86.c:4466 segmented_read_std+0x10c/0x180 arch/x86/kvm/emulate.c:819 em_fxrstor+0x27b/0x410 arch/x86/kvm/emulate.c:4022 x86_emulate_insn+0x55d/0x3c50 arch/x86/kvm/emulate.c:5471 x86_emulate_instruction+0x411/0x1ca0 arch/x86/kvm/x86.c:5705 kvm_mmu_page_fault+0x18b/0x2c0 arch/x86/kvm/mmu.c:4852 handle_ept_violation+0x1d1/0x5a0 arch/x86/kvm/vmx.c:6399 vmx_handle_exit+0x281/0x1aa0 arch/x86/kvm/vmx.c:8716 vcpu_enter_guest arch/x86/kvm/x86.c:7006 [inline] vcpu_run arch/x86/kvm/x86.c:7068 [inline] kvm_arch_vcpu_ioctl_run+0x1cee/0x58b0 arch/x86/kvm/x86.c:7229 kvm_vcpu_ioctl+0x64c/0x1010 arch/x86/kvm/../../../virt/kvm/kvm_main.c:2591 vfs_ioctl fs/ioctl.c:45 [inline] do_vfs_ioctl+0x1b1/0x1520 fs/ioctl.c:685 SYSC_ioctl fs/ioctl.c:700 [inline] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:691 entry_SYSCALL_64_fastpath+0x1f/0xbe RIP: 0033:0x446739 RSP: 002b:00007fa8c3743c08 EFLAGS: 00000282 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000019 RCX: 0000000000446739 RDX: 0000000000000000 RSI: 000000000000ae80 RDI: 0000000000000019 RBP: 000000002007a800 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000282 R12: 0000000000009120 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=42732 sclass=netlink_route_socket pig=4523 comm=syz-executor7 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=42732 sclass=netlink_route_socket pig=4523 comm=syz-executor7 R13: 000000002aaaaaab R14: 00000000006e76a0 R15: 0000000000000019 loop_reread_partitions: partition scan of loop0 (-\t@r9hxGQ:[il L*@R-Tr-x) failed (rc=-13) sctp: [Deprecated]: syz-executor5 (pid 4696) Use of int in maxseg socket option. Use struct sctp_assoc_value instead sctp: [Deprecated]: syz-executor5 (pid 4702) Use of int in maxseg socket option. Use struct sctp_assoc_value instead QAT: Invalid ioctl QAT: Invalid ioctl kvm [4732]: vcpu0, guest rIP: 0x910f Hyper-V uhandled wrmsr: 0x4000008f data 0x75 kvm [4732]: vcpu0, guest rIP: 0x910f Hyper-V uhandled wrmsr: 0x4000008e data 0x76 kvm [4732]: vcpu0, guest rIP: 0x910f Hyper-V uhandled wrmsr: 0x4000008d data 0x77 kvm [4732]: vcpu0, guest rIP: 0x910f Hyper-V uhandled wrmsr: 0x4000008c data 0x78 kvm [4732]: vcpu0, guest rIP: 0x910f Hyper-V uhandled wrmsr: 0x4000008b data 0x79 kvm [4732]: vcpu0, guest rIP: 0x910f Hyper-V uhandled wrmsr: 0x4000008a data 0x7a kvm [4732]: vcpu0, guest rIP: 0x910f Hyper-V uhandled wrmsr: 0x40000089 data 0x7b kvm [4732]: vcpu0, guest rIP: 0x910f Hyper-V uhandled wrmsr: 0x40000088 data 0x7c kvm [4732]: vcpu0, guest rIP: 0x910f Hyper-V uhandled wrmsr: 0x40000087 data 0x7d kvm [4732]: vcpu0, guest rIP: 0x910f Hyper-V uhandled wrmsr: 0x40000086 data 0x7e QAT: Invalid ioctl QAT: Invalid ioctl QAT: Invalid ioctl QAT: Invalid ioctl TCP: request_sock_TCP: Possible SYN flooding on port 20016. Sending cookies. Check SNMP counters. SELinux: unrecognized netlink message: protocol=0 nlmsg_type=123 sclass=netlink_route_socket pig=4901 comm=syz-executor2 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=4901 comm=syz-executor2 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=123 sclass=netlink_route_socket pig=4901 comm=syz-executor2 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=4901 comm=syz-executor2 APIC base relocation is unsupported by KVM QAT: Invalid ioctl device lo entered promiscuous mode device lo left promiscuous mode device lo entered promiscuous mode device lo left promiscuous mode