vmalloc: allocation failure: 0 bytes BUG: using __this_cpu_read() in preemptible [00000000] code: syz-executor3/10258 caller is __this_cpu_preempt_check+0x1c/0x20 lib/smp_processor_id.c:62 syz-executor5: page allocation failure: order:0, mode:0x24000c2 CPU: 1 PID: 10262 Comm: syz-executor5 Not tainted 4.4.120-gd63fdf6 #29 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 0000000000000000 0f642b6b4ff09b6d ffff8801c32af8c0 ffffffff81d0408d 1ffff10038655f1b ffff8801d669c800 00000000024000c2 0000000000000000 0000000000000001 ffff8801c32af9d0 ffffffff81431059 ffffffff838ac620 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x124 lib/dump_stack.c:51 [] warn_alloc_failed+0x1d9/0x240 mm/page_alloc.c:2757 [] __vmalloc_node_range+0x41d/0x630 mm/vmalloc.c:1692 [] __vmalloc_node mm/vmalloc.c:1715 [inline] [] __vmalloc_node_flags mm/vmalloc.c:1729 [inline] [] vmalloc+0x5b/0x70 mm/vmalloc.c:1744 [] sel_write_load+0x130/0xff0 security/selinux/selinuxfs.c:527 [] __vfs_write+0x103/0x450 fs/read_write.c:489 [] vfs_write+0x18a/0x530 fs/read_write.c:538 [] SYSC_write fs/read_write.c:585 [inline] [] SyS_write+0xd9/0x1b0 fs/read_write.c:577 [] do_syscall_32_irqs_on arch/x86/entry/common.c:392 [inline] [] do_fast_syscall_32+0x321/0x8a0 arch/x86/entry/common.c:459 [] sysenter_flags_fixed+0xd/0x17 Mem-Info: active_anon:55785 inactive_anon:45 isolated_anon:0 active_file:3712 inactive_file:8313 isolated_file:0 unevictable:0 dirty:81 writeback:0 unstable:0 slab_reclaimable:5994 slab_unreclaimable:59280 mapped:23853 shmem:51 pagetables:678 bounce:0 free:1471852 free_pcp:356 free_cma:0 DMA free:15904kB min:160kB low:200kB high:240kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:15992kB managed:15904kB mlocked:0kB dirty:0kB writeback:0kB mapped:0kB shmem:0kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:0kB unstable:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? yes lowmem_reserve[]: 0 2911 6411 6411 DMA32 free:2676092kB min:30608kB low:38260kB high:45912kB active_anon:102160kB inactive_anon:116kB active_file:5596kB inactive_file:12832kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:3129292kB managed:2982732kB mlocked:0kB dirty:200kB writeback:0kB mapped:40552kB shmem:124kB slab_reclaimable:10808kB slab_unreclaimable:106996kB kernel_stack:1952kB pagetables:1056kB unstable:0kB bounce:0kB free_pcp:1104kB local_pcp:584kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no lowmem_reserve[]: 0 0 3500 3500 Normal free:3197468kB min:36808kB low:46008kB high:55212kB active_anon:120920kB inactive_anon:64kB active_file:9252kB inactive_file:20420kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:4718592kB managed:3584660kB mlocked:0kB dirty:124kB writeback:0kB mapped:54860kB shmem:80kB slab_reclaimable:13168kB slab_unreclaimable:130124kB kernel_stack:3776kB pagetables:1656kB unstable:0kB bounce:0kB free_pcp:396kB local_pcp:132kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no lowmem_reserve[]: 0 0 0 0 DMA: 0*4kB 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) = 15904kB DMA32: 555*4kB (UME) 170*8kB (UME) 114*16kB (UME) 77*32kB (UME) 149*64kB (UM) 87*128kB (UME) 56*256kB (UME) 33*512kB (UME) 59*1024kB (M) 4*2048kB (M) 622*4096kB (M) = 2676092kB Normal: 181*4kB (UME) 137*8kB (UME) 96*16kB (UME) 56*32kB (ME) 27*64kB (ME) 23*128kB (UME) 23*256kB (UME) 40*512kB (M) 47*1024kB (UM) 2*2048kB (ME) 759*4096kB (M) = 3197276kB Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB 12075 total pagecache pages 0 pages in swap cache Swap cache stats: add 0, delete 0, find 0/0 Free swap = 0kB Total swap = 0kB 1965969 pages RAM 0 pages HighMem/MovableOnly 320145 pages reserved vmalloc: allocation failure: 0 bytes syz-executor5: page allocation failure: order:0, mode:0x24000c2 CPU: 1 PID: 10262 Comm: syz-executor5 Not tainted 4.4.120-gd63fdf6 #29 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 0000000000000000 0f642b6b4ff09b6d ffff8801c32af8c0 ffffffff81d0408d 1ffff10038655f1b ffff8801d669c800 00000000024000c2 0000000000000000 0000000000000001 ffff8801c32af9d0 ffffffff81431059 ffffffff838ac620 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x124 lib/dump_stack.c:51 [] warn_alloc_failed+0x1d9/0x240 mm/page_alloc.c:2757 [] __vmalloc_node_range+0x41d/0x630 mm/vmalloc.c:1692 [] __vmalloc_node mm/vmalloc.c:1715 [inline] [] __vmalloc_node_flags mm/vmalloc.c:1729 [inline] [] vmalloc+0x5b/0x70 mm/vmalloc.c:1744 [] sel_write_load+0x130/0xff0 security/selinux/selinuxfs.c:527 [] __vfs_write+0x103/0x450 fs/read_write.c:489 [] vfs_write+0x18a/0x530 fs/read_write.c:538 [] SYSC_write fs/read_write.c:585 [inline] [] SyS_write+0xd9/0x1b0 fs/read_write.c:577 [] do_syscall_32_irqs_on arch/x86/entry/common.c:392 [inline] [] do_fast_syscall_32+0x321/0x8a0 arch/x86/entry/common.c:459 [] sysenter_flags_fixed+0xd/0x17 Mem-Info: active_anon:55795 inactive_anon:45 isolated_anon:0 active_file:3712 inactive_file:8313 isolated_file:0 unevictable:0 dirty:81 writeback:0 unstable:0 slab_reclaimable:5994 slab_unreclaimable:59280 mapped:23853 shmem:51 pagetables:678 bounce:0 free:1471670 free_pcp:396 free_cma:0 DMA free:15904kB min:160kB low:200kB high:240kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:15992kB managed:15904kB mlocked:0kB dirty:0kB writeback:0kB mapped:0kB shmem:0kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:0kB unstable:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? yes lowmem_reserve[]: 0 2911 6411 6411 DMA32 free:2676092kB min:30608kB low:38260kB high:45912kB active_anon:102160kB inactive_anon:116kB active_file:5596kB inactive_file:12832kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:3129292kB managed:2982732kB mlocked:0kB dirty:200kB writeback:0kB mapped:40552kB shmem:124kB slab_reclaimable:10808kB slab_unreclaimable:106996kB kernel_stack:1952kB pagetables:1056kB unstable:0kB bounce:0kB free_pcp:1164kB local_pcp:644kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no lowmem_reserve[]: 0 0 3500 3500 Normal free:3194684kB min:36808kB low:46008kB high:55212kB active_anon:121020kB inactive_anon:64kB active_file:9252kB inactive_file:20420kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:4718592kB managed:3584660kB mlocked:0kB dirty:124kB writeback:0kB mapped:54860kB shmem:80kB slab_reclaimable:13168kB slab_unreclaimable:130124kB kernel_stack:3776kB pagetables:1656kB unstable:0kB bounce:0kB free_pcp:420kB local_pcp:156kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no lowmem_reserve[]: 0 0 0 0 DMA: 0*4kB 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) = 15904kB DMA32: 555*4kB (UME) 171*8kB (UME) 114*16kB (UME) 77*32kB (UME) 149*64kB (UM) 87*128kB (UME) 56*256kB (UME) 33*512kB (UME) 59*1024kB (M) 4*2048kB (M) 622*4096kB (M) = 2676100kB Normal: 119*4kB (UME) 136*8kB (UME) 94*16kB (UME) 56*32kB (ME) 28*64kB (UME) 23*128kB (UME) 23*256kB (UME) 41*512kB (UM) 46*1024kB (M) 1*2048kB (E) 759*4096kB (M) = 3194492kB Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB 12075 total pagecache pages 0 pages in swap cache Swap cache stats: add 0, delete 0, find 0/0 Free swap = 0kB Total swap = 0kB 1965969 pages RAM 0 pages HighMem/MovableOnly 320145 pages reserved CPU: 0 PID: 10258 Comm: syz-executor3 Not tainted 4.4.120-gd63fdf6 #29 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 0000000000000000 23de07530eb7fb98 ffff8801c37a7648 ffffffff81d0408d 0000000000000000 ffffffff839fe5a0 ffffffff83d0be20 ffff8801d669e000 0000000000000003 ffff8801c37a7688 ffffffff81d63fe4 ffff8801c37a76a0 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x124 lib/dump_stack.c:51 [] check_preemption_disabled+0x1d4/0x200 lib/smp_processor_id.c:46 [] __this_cpu_preempt_check+0x1c/0x20 lib/smp_processor_id.c:62 [] ipcomp_alloc_tfms net/xfrm/xfrm_ipcomp.c:286 [inline] [] ipcomp_init_state+0x188/0x980 net/xfrm/xfrm_ipcomp.c:363 [] ipcomp4_init_state+0xb0/0x7d0 net/ipv4/ipcomp.c:137 [] __xfrm_init_state+0x3e7/0xb30 net/xfrm/xfrm_state.c:2058 [] xfrm_init_state+0x1a/0x20 net/xfrm/xfrm_state.c:2084 [] pfkey_msg2xfrm_state net/key/af_key.c:1289 [inline] [] pfkey_add+0x1fbb/0x3490 net/key/af_key.c:1506 [] pfkey_process+0x68b/0x750 net/key/af_key.c:2834 [] pfkey_sendmsg+0x3a9/0x760 net/key/af_key.c:3678 [] sock_sendmsg_nosec net/socket.c:625 [inline] [] sock_sendmsg+0xca/0x110 net/socket.c:635 [] ___sys_sendmsg+0x6c1/0x7c0 net/socket.c:1962 [] __sys_sendmsg+0xd3/0x190 net/socket.c:1996 [] C_SYSC_sendmsg net/compat.c:720 [inline] [] compat_SyS_sendmsg+0x2a/0x40 net/compat.c:718 [] do_syscall_32_irqs_on arch/x86/entry/common.c:392 [inline] [] do_fast_syscall_32+0x321/0x8a0 arch/x86/entry/common.c:459 [] sysenter_flags_fixed+0xd/0x17 sg_write: data in/out 2020961861/197 bytes for SCSI command 0x0-- guessing data in; program syz-executor1 not setting count and/or reply_len properly binder_alloc: binder_alloc_mmap_handler: 10329 20000000-20002000 already mapped failed -16 FAULT_FLAG_ALLOW_RETRY missing 30 CPU: 1 PID: 10359 Comm: syz-executor5 Not tainted 4.4.120-gd63fdf6 #29 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 0000000000000000 38dde0aa258cb83b ffff8801d615f940 ffffffff81d0408d ffff8801c7372f00 1ffff1003ac2bf35 ffff8801d615fac8 0000000000000000 0000000000000000 ffff8801d615faf0 ffffffff81607305 ffffffff81237410 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x124 lib/dump_stack.c:51 [] handle_userfault+0x715/0xf50 fs/userfaultfd.c:316 [] do_anonymous_page mm/memory.c:2731 [inline] [] handle_pte_fault mm/memory.c:3295 [inline] [] __handle_mm_fault mm/memory.c:3426 [inline] [] handle_mm_fault+0x2938/0x3190 mm/memory.c:3455 [] __do_page_fault+0x35b/0xa00 arch/x86/mm/fault.c:1245 [] do_page_fault+0x27/0x30 arch/x86/mm/fault.c:1308 [] page_fault+0x28/0x30 arch/x86/entry/entry_64.S:1033 [] compat_get_timespec+0xb6/0xe0 kernel/compat.c:180 [] C_SYSC_clock_nanosleep kernel/compat.c:847 [inline] [] compat_SyS_clock_nanosleep+0xa7/0x2c0 kernel/compat.c:838 [] do_syscall_32_irqs_on arch/x86/entry/common.c:392 [inline] [] do_fast_syscall_32+0x321/0x8a0 arch/x86/entry/common.c:459 [] sysenter_flags_fixed+0xd/0x17 binder: 10427:10431 ioctl c018620b 200001c0 returned -14 binder: 10427:10446 ioctl c0306201 20000380 returned -14 binder: 10427:10431 ioctl c0306201 20000200 returned -14 binder: 10427:10440 ioctl c018620b 200001c0 returned -14 binder: 10427:10440 ioctl c0306201 20000380 returned -14 audit: type=1400 audit(1520897869.946:189): avc: denied { create } for pid=10457 comm="syz-executor4" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_generic_socket permissive=1 audit: type=1400 audit(1520897870.026:190): avc: denied { create } for pid=10457 comm="syz-executor4" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_generic_socket permissive=1 audit: type=1400 audit(1520897870.046:191): avc: denied { write } for pid=10457 comm="syz-executor4" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_generic_socket permissive=1 audit: type=1400 audit(1520897870.486:192): avc: denied { create } for pid=10529 comm="syz-executor6" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_netfilter_socket permissive=1 TCP: request_sock_TCPv6: Possible SYN flooding on port 20002. Sending cookies. Check SNMP counters. audit_printk_skb: 9 callbacks suppressed audit: type=1400 audit(1520897871.776:196): avc: denied { create } for pid=10758 comm="syz-executor1" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_netfilter_socket permissive=1 audit: type=1400 audit(1520897871.836:197): avc: denied { create } for pid=10758 comm="syz-executor1" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_netfilter_socket permissive=1 audit: type=1400 audit(1520897871.866:198): avc: denied { bind } for pid=10758 comm="syz-executor1" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_netfilter_socket permissive=1 SELinux: unrecognized netlink message: protocol=4 nlmsg_type=53470 sclass=netlink_tcpdiag_socket SELinux: unrecognized netlink message: protocol=4 nlmsg_type=53470 sclass=netlink_tcpdiag_socket audit: type=1400 audit(1520897872.536:199): avc: denied { create } for pid=10835 comm="syz-executor6" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_crypto_socket permissive=1 audit: type=1400 audit(1520897872.606:200): avc: denied { create } for pid=10835 comm="syz-executor6" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_crypto_socket permissive=1 audit: type=1400 audit(1520897873.176:201): avc: denied { set_context_mgr } for pid=10915 comm="syz-executor1" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=binder permissive=1 binder: 10915:10929 Acquire 1 refcount change on invalid ref 71 ret -22 binder: 10915:10929 BC_REQUEST_DEATH_NOTIFICATION invalid ref 0 binder: 10915:10929 BC_CLEAR_DEATH_NOTIFICATION invalid ref 0 audit: type=1400 audit(1520897873.316:202): avc: denied { set_context_mgr } for pid=10915 comm="syz-executor1" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=binder permissive=1 binder: 10915:10931 Acquire 1 refcount change on invalid ref 71 ret -22 binder: 10915:10930 BC_CLEAR_DEATH_NOTIFICATION invalid ref 0 binder: 10915:10918 BC_REQUEST_DEATH_NOTIFICATION invalid ref 0 audit: type=1400 audit(1520897873.446:203): avc: denied { create } for pid=10934 comm="syz-executor3" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_netfilter_socket permissive=1 audit: type=1400 audit(1520897873.486:204): avc: denied { write } for pid=10934 comm="syz-executor3" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_netfilter_socket permissive=1 audit: type=1400 audit(1520897873.536:205): avc: denied { create } for pid=10934 comm="syz-executor3" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_netfilter_socket permissive=1 netlink: 3 bytes leftover after parsing attributes in process `syz-executor3'. netlink: 3 bytes leftover after parsing attributes in process `syz-executor2'. netlink: 3 bytes leftover after parsing attributes in process `syz-executor2'.