BUG: sleeping function called from invalid context at ./include/linux/uaccess.h:71 in_atomic(): 1, irqs_disabled(): 0, pid: 9908, name: syz-executor3 INFO: lockdep is turned off. CPU: 2 PID: 9908 Comm: syz-executor3 Not tainted 4.13.0-rc5-next-20170817+ #5 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:0x446749 RSP: 002b:00007f3d16d53c08 EFLAGS: 00000282 ORIG_RAX: 0000000000000010 RAX: ffffffffffffffda RBX: 0000000000000019 RCX: 0000000000446749 RDX: 0000000000000000 RSI: 000000000000ae80 RDI: 0000000000000019 RBP: 000000002007a800 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000282 R12: 0000000000009120 R13: 000000002aaaaaab R14: 00000000006e76a0 R15: 0000000000000019 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=9958 comm=syz-executor2 nla_parse: 25 callbacks suppressed netlink: 9 bytes leftover after parsing attributes in process `syz-executor6'. A link change request failed with some changes committed already. Interface lo may have been left with an inconsistent configuration, please check. netlink: 9 bytes leftover after parsing attributes in process `syz-executor6'. A link change request failed with some changes committed already. Interface lo may have been left with an inconsistent configuration, please check. device lo left promiscuous mode IPv6: ADDRCONF(NETDEV_CHANGE): lo: link becomes ready TCP: request_sock_TCPv6: Possible SYN flooding on port 20001. Sending cookies. Check SNMP counters. FAULT_FLAG_ALLOW_RETRY missing 70 CPU: 1 PID: 10121 Comm: syz-executor0 Tainted: G W 4.13.0-rc5-next-20170817+ #5 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 handle_userfault+0x11ec/0x2380 fs/userfaultfd.c:409 do_anonymous_page mm/memory.c:2993 [inline] handle_pte_fault mm/memory.c:3794 [inline] __handle_mm_fault+0x2c1d/0x3980 mm/memory.c:3921 handle_mm_fault+0x3bb/0x940 mm/memory.c:3958 __do_page_fault+0x4f6/0xb60 arch/x86/mm/fault.c:1445 trace_do_page_fault+0x141/0x730 arch/x86/mm/fault.c:1538 do_async_page_fault+0x72/0xc0 arch/x86/kernel/kvm.c:266 async_page_fault+0x22/0x30 arch/x86/entry/entry_64.S:1093 RIP: 0033:0x4301cf RSP: 002b:00007faf219d87c0 EFLAGS: 00010206 RAX: 0000000000000000 RBX: 00007faf219d87f0 RCX: 00007faf219d87ef RDX: 0000000000000400 RSI: 0000000020012ff7 RDI: 00007faf219d87f0 RBP: 0000000000708000 R08: 0000000000000000 R09: 0000000000000100 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000005700 R14: 00000000006e77c0 R15: 000020000000a5ae rpcbind: RPC call returned error 22 rpcbind: RPC call returned error 22 kvm [10179]: vcpu0, guest rIP: 0xfff0 disabled perfctr wrmsr: 0x186 data 0x8 Disabled LAPIC found during irq injection kvm [10179]: vcpu0, guest rIP: 0xfff0 disabled perfctr wrmsr: 0x186 data 0x8 netlink: 7 bytes leftover after parsing attributes in process `syz-executor5'. PF_BRIDGE: br_mdb_parse() with unknown ifindex SELinux: unrecognized netlink message: protocol=0 nlmsg_type=1025 sclass=netlink_route_socket pig=10311 comm=syz-executor6 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=10308 comm=syz-executor5 sg_write: data in/out 1524244164/69 bytes for SCSI command 0x87-- guessing data in; program syz-executor7 not setting count and/or reply_len properly SELinux: unrecognized netlink message: protocol=0 nlmsg_type=123 sclass=netlink_route_socket pig=10429 comm=syz-executor6 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=10429 comm=syz-executor6 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=123 sclass=netlink_route_socket pig=10429 comm=syz-executor6 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=10461 comm=syz-executor6 netlink: 11 bytes leftover after parsing attributes in process `syz-executor3'. netlink: 11 bytes leftover after parsing attributes in process `syz-executor3'. QAT: Invalid ioctl QAT: Invalid ioctl QAT: Invalid ioctl QAT: Invalid ioctl QAT: Invalid ioctl QAT: Invalid ioctl sctp: [Deprecated]: syz-executor3 (pid 10603) Use of int in maxseg socket option. Use struct sctp_assoc_value instead sctp: [Deprecated]: syz-executor3 (pid 10636) Use of int in maxseg socket option. Use struct sctp_assoc_value instead TCP: request_sock_TCPv6: Possible SYN flooding on port 20001. Sending cookies. Check SNMP counters. netlink: 8 bytes leftover after parsing attributes in process `syz-executor4'. netlink: 8 bytes leftover after parsing attributes in process `syz-executor4'. kvm: pic: non byte read kvm: pic: level sensitive irq not supported kvm: pic: level sensitive irq not supported kvm: pic: level sensitive irq not supported kvm: pic: level sensitive irq not supported kvm: pic: level sensitive irq not supported kvm: pic: level sensitive irq not supported kvm: pic: level sensitive irq not supported kvm: pic: level sensitive irq not supported kvm: pic: level sensitive irq not supported kvm: pic: level sensitive irq not supported Disabled LAPIC found during irq injection Disabled LAPIC found during irq injection xprt_adjust_timeout: rq_timeout = 0! xprt_adjust_timeout: rq_timeout = 0! device syz4 entered promiscuous mode device syz4 left promiscuous mode device syz4 entered promiscuous mode device syz4 left promiscuous mode netlink: 3 bytes leftover after parsing attributes in process `syz-executor1'. netlink: 3 bytes leftover after parsing attributes in process `syz-executor1'. netlink: 5 bytes leftover after parsing attributes in process `syz-executor3'. rpcbind: RPC call returned error 22 kvm: MWAIT instruction emulated as NOP! device lo entered promiscuous mode sctp: [Deprecated]: syz-executor3 (pid 11265) Use of int in maxseg socket option. Use struct sctp_assoc_value instead sctp: [Deprecated]: syz-executor3 (pid 11265) Use of int in max_burst socket option deprecated. Use struct sctp_assoc_value instead sctp: [Deprecated]: syz-executor3 (pid 11265) Use of int in maxseg socket option. Use struct sctp_assoc_value instead loop_reread_partitions: partition scan of loop0 (-\t@r9hxGQ:[il L*@R-Tr-x) failed (rc=-13) sctp: [Deprecated]: syz-executor3 (pid 11286) Use of int in max_burst socket option deprecated. Use struct sctp_assoc_value instead device  entered promiscuous mode device  left promiscuous mode device  entered promiscuous mode device  left promiscuous mode QAT: Invalid ioctl *** Guest State *** CR0: actual=0x0000000000000030, shadow=0x0000000060000010, gh_mask=fffffffffffffff7 CR4: actual=0x0000000000002050, shadow=0x0000000000000000, gh_mask=fffffffffffff871 CR3 = 0x00000000fffbc000 RSP = 0x0000000000000000 RIP = 0x000000000000fff0 RFLAGS=0x00010100 DR7 = 0x0000000000000400 Sysenter RSP=0000000000000000 CS:RIP=0000:0000000000000000 CS: sel=0xf000, attr=0x0009b, limit=0x0000ffff, base=0x00000000ffff0000 DS: sel=0x0000, attr=0x00093, limit=0x0000ffff, base=0x0000000000000000 SS: sel=0x0000, attr=0x00093, limit=0x0000ffff, base=0x0000000000000000 ES: sel=0x0000, attr=0x00093, limit=0x0000ffff, base=0x0000000000000000 FS: sel=0x0000, attr=0x00093, limit=0x0000ffff, base=0x0000000000000000 GS: sel=0x0000, attr=0x00093, limit=0x0000ffff, base=0x0000000000000000 GDTR: limit=0x0000ffff, base=0x0000000000000000 LDTR: sel=0x0000, attr=0x00082, limit=0x0000ffff, base=0x0000000000000000 IDTR: limit=0x0000ffff, base=0x0000000000000000 TR: sel=0x0000, attr=0x0008b, limit=0x0000ffff, base=0x0000000000000000 EFER = 0x0000000000000000 PAT = 0x0007040600070406 DebugCtl = 0x0000000000000000 DebugExceptions = 0x0000000000000000 BndCfgS = 0x0000000000000000 Interruptibility = 00000000 ActivityState = 00000000 *** Host State *** RIP = 0xffffffff811b6397 RSP = 0xffff88004d1c74c8 CS=0010 SS=0018 DS=0000 ES=0000 FS=0000 GS=0000 TR=0040 FSBase=00007f9b43bcd700 GSBase=ffff88003ed00000 TRBase=ffff88003ed22d40 GDTBase=ffffffffff576000 IDTBase=ffffffffff57b000 CR0=0000000080050033 CR3=000000006cc98000 CR4=00000000000026e0 Sysenter RSP=0000000000000000 CS:RIP=0010:ffffffff84d74d30 EFER = 0x0000000000000d01 PAT = 0x0007040600070406 *** Control State *** PinBased=0000003f CPUBased=b6a1edfa SecondaryExec=001000e3 EntryControls=0001d1ff ExitControls=00afefff ExceptionBitmap=0006004a PFECmask=00000000 PFECmatch=00000000 VMEntry: intr_info=00000000 errcode=00000000 ilen=00000000 VMExit: intr_info=00000000 errcode=00000000 ilen=00000000 reason=80000021 qualification=0000000000000000 IDTVectoring: info=00000000 errcode=00000000 TSC Offset = 0xffffffbe114a45a2 TPR Threshold = 0x00 EPT pointer = 0x000000003db5d01e Virtual processor ID = 0x0178 syz-executor4: vmalloc: allocation failure: 4833356120 bytes, mode:0x14080c0(GFP_KERNEL|__GFP_ZERO), nodemask=(null) syz-executor4 cpuset=/ mems_allowed=0-1 CPU: 2 PID: 11580 Comm: syz-executor4 Tainted: G W 4.13.0-rc5-next-20170817+ #5 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 SELinux: unrecognized netlink message: protocol=4 nlmsg_type=5955 sclass=netlink_tcpdiag_socket pig=11582 comm=syz-executor2 warn_alloc+0x1c2/0x2f0 mm/page_alloc.c:3234 __vmalloc_node_range+0x57b/0x710 mm/vmalloc.c:1778 __vmalloc_node mm/vmalloc.c:1807 [inline] __vmalloc_node_flags_caller+0x50/0x60 mm/vmalloc.c:1829 kvmalloc_node+0x82/0xd0 mm/util.c:406 kvmalloc include/linux/mm.h:524 [inline] kvmalloc_array include/linux/mm.h:540 [inline] xt_alloc_entry_offsets+0x21/0x30 net/netfilter/x_tables.c:774 translate_table+0x235/0x1610 net/ipv4/netfilter/ip_tables.c:692 do_replace net/ipv4/netfilter/ip_tables.c:1135 [inline] do_ipt_set_ctl+0x345/0x5c0 net/ipv4/netfilter/ip_tables.c:1669 nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] nf_setsockopt+0x67/0xc0 net/netfilter/nf_sockopt.c:114 ip_setsockopt+0xa1/0xb0 net/ipv4/ip_sockglue.c:1251 tcp_setsockopt+0x82/0xd0 net/ipv4/tcp.c:2735 sock_common_setsockopt+0x95/0xd0 net/core/sock.c:2973 SYSC_setsockopt net/socket.c:1852 [inline] SyS_setsockopt+0x189/0x360 net/socket.c:1831 entry_SYSCALL_64_fastpath+0x1f/0xbe RIP: 0033:0x446749 RSP: 002b:00007f86eb1c2c08 EFLAGS: 00000296 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 0000000000000017 RCX: 0000000000446749 RDX: 0000000000000040 RSI: 0000000000000000 RDI: 0000000000000017 RBP: 0000000000708000 R08: 0000000000000056 R09: 0000000000000000 R10: 0000000020006000 R11: 0000000000000296 R12: 00000000ffffffff R13: 00000000000037d0 R14: 00000000006e5890 R15: 0000000000fff000 warn_alloc_show_mem: 1 callbacks suppressed Mem-Info: active_anon:88105 inactive_anon:44 isolated_anon:0 active_file:3557 inactive_file:4815 isolated_file:0 unevictable:0 dirty:82 writeback:0 unstable:0 slab_reclaimable:6143 slab_unreclaimable:31532 mapped:20783 shmem:182 pagetables:841 bounce:0 free:257042 free_pcp:1091 free_cma:0 Node 0 active_anon:75264kB inactive_anon:68kB active_file:5296kB inactive_file:5316kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:36516kB dirty:208kB writeback:0kB shmem:600kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 34816kB writeback_tmp:0kB unstable:0kB all_unreclaimable? no Node 1 active_anon:277156kB inactive_anon:108kB active_file:8932kB inactive_file:13944kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:46616kB dirty:120kB writeback:0kB shmem:128kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 6144kB writeback_tmp:0kB unstable:0kB all_unreclaimable? no Node 0 DMA free:15908kB min:640kB low:800kB high:960kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:15992kB managed:15908kB mlocked:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB lowmem_reserve[]: 0 884 884 884 Node 0 DMA32 free:693720kB min:36500kB low:45624kB high:54748kB active_anon:75264kB inactive_anon:68kB active_file:5296kB inactive_file:5316kB unevictable:0kB writepending:208kB present:1032192kB managed:907900kB mlocked:0kB kernel_stack:2496kB pagetables:1372kB bounce:0kB free_pcp:2192kB local_pcp:676kB free_cma:0kB lowmem_reserve[]: 0 0 0 0 Node 1 DMA32 free:318540kB min:30440kB low:38048kB high:45656kB active_anon:277156kB inactive_anon:108kB active_file:8932kB inactive_file:13944kB unevictable:0kB writepending:120kB present:1048560kB managed:755224kB mlocked:0kB kernel_stack:2880kB pagetables:1992kB bounce:0kB free_pcp:2168kB local_pcp:384kB free_cma:0kB lowmem_reserve[]: 0 0 0 0 Node 0 DMA: 1*4kB (U) 0*8kB 0*16kB 1*32kB (U) 2*64kB (U) 1*128kB (U) 1*256kB (U) 0*512kB 1*1024kB (U) 1*2048kB (M) 3*4096kB (M) = 15908kB Node 0 DMA32: 406*4kB (UME) 1106*8kB (ME) 1093*16kB (UME) 388*32kB (UME) 147*64kB (UME) 51*128kB (UME) 34*256kB (UME) 28*512kB (UME) 16*1024kB (UME) 6*2048kB (UME) 143*4096kB (UM) = 693752kB Node 1 DMA32: 1453*4kB (UME) 1977*8kB (M) 956*16kB (UME) 820*32kB (UME) 600*64kB (UME) 301*128kB (UM) 93*256kB (UM) 10*512kB (UME) 6*1024kB (UME) 2*2048kB (M) 34*4096kB (M) = 318524kB Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB Node 1 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB 8553 total pagecache pages 0 pages in swap cache Swap cache stats: add 0, delete 0, find 0/0 Free swap = 0kB Total swap = 0kB 524186 pages RAM 0 pages HighMem/MovableOnly 104428 pages reserved syz-executor4: vmalloc: allocation failure: 4833356120 bytes, mode:0x14080c0(GFP_KERNEL|__GFP_ZERO), nodemask=(null) syz-executor4 cpuset=/ mems_allowed=0-1 CPU: 3 PID: 11580 Comm: syz-executor4 Tainted: G W 4.13.0-rc5-next-20170817+ #5 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 warn_alloc+0x1c2/0x2f0 mm/page_alloc.c:3234 __vmalloc_node_range+0x57b/0x710 mm/vmalloc.c:1778 __vmalloc_node mm/vmalloc.c:1807 [inline] __vmalloc_node_flags_caller+0x50/0x60 mm/vmalloc.c:1829 kvmalloc_node+0x82/0xd0 mm/util.c:406 kvmalloc include/linux/mm.h:524 [inline] kvmalloc_array include/linux/mm.h:540 [inline] xt_alloc_entry_offsets+0x21/0x30 net/netfilter/x_tables.c:774 translate_table+0x235/0x1610 net/ipv4/netfilter/ip_tables.c:692 do_replace net/ipv4/netfilter/ip_tables.c:1135 [inline] do_ipt_set_ctl+0x345/0x5c0 net/ipv4/netfilter/ip_tables.c:1669 nf_sockopt net/netfilter/nf_sockopt.c:105 [inline] nf_setsockopt+0x67/0xc0 net/netfilter/nf_sockopt.c:114 ip_setsockopt+0xa1/0xb0 net/ipv4/ip_sockglue.c:1251 tcp_setsockopt+0x82/0xd0 net/ipv4/tcp.c:2735 sock_common_setsockopt+0x95/0xd0 net/core/sock.c:2973 SYSC_setsockopt net/socket.c:1852 [inline] SyS_setsockopt+0x189/0x360 net/socket.c:1831 entry_SYSCALL_64_fastpath+0x1f/0xbe RIP: 0033:0x446749 RSP: 002b:00007f86eb1c2c08 EFLAGS: 00000296 ORIG_RAX: 0000000000000036 RAX: ffffffffffffffda RBX: 000000000000001d RCX: 0000000000446749 RDX: 0000000000000040 RSI: 0000000000000000 RDI: 000000000000001d RBP: 0000000000708000 R08: 0000000000000056 R09: 0000000000000000 R10: 0000000020006000 R11: 0000000000000296 R12: 00000000ffffffff R13: 00000000000015c0 R14: 00000000006e3680 R15: 00007f86eb1c3700 SELinux: unrecognized netlink message: protocol=4 nlmsg_type=5955 sclass=netlink_tcpdiag_socket pig=11597 comm=syz-executor2 QAT: Invalid ioctl QAT: Invalid ioctl QAT: Invalid ioctl QAT: Invalid ioctl