vmalloc: allocation failure: 0 bytes syz-executor2: page allocation failure: order:0, mode:0x24000c2 CPU: 1 PID: 6368 Comm: syz-executor2 Not tainted 4.4.120-gd63fdf6 #29 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 0000000000000000 41f4354955d718c7[ 51.289551] BUG: using __this_cpu_read() in preemptible [00000000] code: syz-executor5/6379 caller is __this_cpu_preempt_check+0x1c/0x20 lib/smp_processor_id.c:62 ffff8801d88df898 ffffffff81d0408d 1ffff1003b11bf16 ffff8801d892c800 00000000024000c2 0000000000000000 0000000000000001 ffff8801d88df9a8 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_pwrite64 fs/read_write.c:627 [inline] [] SyS_pwrite64+0x13f/0x170 fs/read_write.c:614 [] sys32_pwrite+0x39/0x50 arch/x86/ia32/sys_ia32.c:186 [] 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 CPU: 0 PID: 6379 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 379750f0ca54bb61 ffff8800a9287638 ffffffff81d0408d 0000000000000000 ffffffff839fe5a0 ffffffff83d0be20 ffff8800ba781800 0000000000000003 ffff8800a9287678 ffffffff81d63fe4 ffff8800a9287690 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 [] ipcomp6_init_state+0xb5/0x820 net/ipv6/ipcomp6.c:165 [] __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 Mem-Info: active_anon:53164 inactive_anon:45 isolated_anon:0 active_file:3522 inactive_file:8441 isolated_file:0 unevictable:0 dirty:6525 writeback:0 unstable:0 slab_reclaimable:5395 slab_unreclaimable:59489 mapped:23841 shmem:51 pagetables:656 bounce:0 free:1475074 free_pcp:491 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:2669872kB min:30608kB low:38260kB high:45912kB active_anon:99516kB inactive_anon:80kB active_file:7104kB inactive_file:13996kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:3129292kB managed:2982732kB mlocked:0kB dirty:10556kB writeback:0kB mapped:43096kB shmem:92kB slab_reclaimable:10524kB slab_unreclaimable:107904kB kernel_stack:3040kB pagetables:1056kB unstable:0kB bounce:0kB free_pcp:1184kB local_pcp:484kB free_cma:0kB writeback_tmp:0kB pages_scanned:0 all_unreclaimable? no lowmem_reserve[]: 0 0 3500 3500 Normal free:3221172kB min:36808kB low:46008kB high:55212kB active_anon:108956kB inactive_anon:100kB active_file:7012kB inactive_file:19764kB unevictable:0kB isolated(anon):0kB isolated(file):0kB present:4718592kB managed:3584660kB mlocked:0kB dirty:15568kB writeback:0kB mapped:52124kB shmem:112kB slab_reclaimable:11088kB slab_unreclaimable:129896kB kernel_stack:2816kB pagetables:1416kB unstable:0kB bounce:0kB free_pcp:844kB local_pcp:700kB 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: 418*4kB (UME) 120*8kB (UME) 117*16kB (UME) 59*32kB (UME) 26*64kB (UM) 12*128kB (M) 10*256kB (UME) 9*512kB (UME) 31*1024kB (UM) 4*2048kB (UM) 638*4096kB (M) = 2669944kB Normal: 567*4kB (ME) 205*8kB (UM) 161*16kB (UM) 115*32kB (UME) 50*64kB (UM) 34*128kB (UM) 10*256kB (ME) 10*512kB (ME) 43*1024kB (UM) 3*2048kB (M) 768*4096kB (M) = 3221300kB Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB 12020 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 audit: type=1400 audit(1521841935.742:14): avc: denied { ioctl } for pid=6392 comm="syz-executor6" path="socket:[14233]" dev="sockfs" ino=14233 ioctlcmd=2406 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=1401 audit(1521841935.952:15): op=fscreate invalid_context=73797374656D5F753A6F626A6563745F723A6E65746C6162656C5F6D676D745F657865635F743A733000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000audit: type=1401 audit(1521841936.062:16): op=fscreate invalid_context=73797374656D5F753A6F626A6563745F723A6E65746C6162656C5F6D676D745F657865635F743A73300000000000000000000000000000000000000000000000FEFFFFFF00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004001002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000[ 52.656573] SELinux: policydb string length -50 does not match expected length 8 SELinux: policydb string length -50 does not match expected length 8 netlink: 12 bytes leftover after parsing attributes in process `syz-executor5'. netlink: 12 bytes leftover after parsing attributes in process `syz-executor5'. TCP: request_sock_TCPv6: Possible SYN flooding on port 20002. Sending cookies. Check SNMP counters. sg_write: data in/out 9964/11 bytes for SCSI command 0x0-- guessing data in; program syz-executor1 not setting count and/or reply_len properly netlink: 12 bytes leftover after parsing attributes in process `syz-executor0'. binder: 6971:6978 unknown command -1211010270 binder: 6971:6978 ioctl c0306201 20008fd0 returned -22 binder: 6971:6978 BC_DEAD_BINDER_DONE 0000000000000003 not found binder: 6971:6978 unknown command -1211010270 binder: 6971:6978 ioctl c0306201 20008fd0 returned -22 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=8225 sclass=netlink_route_socket audit: type=1400 audit(1521841938.902:17): avc: denied { create } for pid=7065 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_crypto_socket permissive=1 mmap: syz-executor4 (7098) uses deprecated remap_file_pages() syscall. See Documentation/vm/remap_file_pages.txt. audit: type=1400 audit(1521841939.162:18): avc: denied { create } for pid=7155 comm="syz-executor7" scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=netlink_iscsi_socket permissive=1 binder: 7196:7198 ioctl c0306201 20008fd0 returned -14 binder: 7196:7198 unknown command 1258291204 binder: 7196:7198 ioctl c0306201 20007000 returned -22 binder_alloc: binder_alloc_mmap_handler: 7196 20000000-20002000 already mapped failed -16 binder: BINDER_SET_CONTEXT_MGR already set binder: 7196:7211 ioctl 40046207 0 returned -16 binder: 7196:7211 ioctl c0306201 20008fd0 returned -14 keychord: invalid keycode count 0 keychord: invalid keycode count 0 keychord: invalid keycode count 0 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=224 sclass=netlink_route_socket SELinux: unrecognized netlink message: protocol=0 nlmsg_type=224 sclass=netlink_route_socket BUG: using __this_cpu_read() in preemptible [00000000] code: syz-executor5/7455 caller is __this_cpu_preempt_check+0x1c/0x20 lib/smp_processor_id.c:62 CPU: 1 PID: 7455 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 0d497ef1a5445a40 ffff8801d345f648 ffffffff81d0408d 0000000000000001 ffffffff839fe5a0 ffffffff83d0be20 ffff8801d4293000 0000000000000003 ffff8801d345f688 ffffffff81d63fe4 ffff8801d345f6a0 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 binder: binder_mmap: 7609 20000000-20001000 bad vm_flags failed -1 audit: type=1400 audit(1521841941.602:19): avc: denied { getopt } for pid=7619 comm="syz-executor5" 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 binder: binder_mmap: 7609 20000000-20001000 bad vm_flags failed -1 BUG: using __this_cpu_read() in preemptible [00000000] code: syz-executor6/7742 caller is __this_cpu_preempt_check+0x1c/0x20 lib/smp_processor_id.c:62 CPU: 0 PID: 7742 Comm: syz-executor6 Not tainted 4.4.120-gd63fdf6 #29 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 0000000000000000 cfd56c3689c41de7 ffff8800b6f3f638 ffffffff81d0408d 0000000000000000 ffffffff839fe5a0 ffffffff83d0be20 ffff8800b59f4800 0000000000000003 ffff8800b6f3f678 ffffffff81d63fe4 ffff8800b6f3f690 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 [] ipcomp6_init_state+0xb5/0x820 net/ipv6/ipcomp6.c:165 [] __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 audit: type=1401 audit(1521841942.662:20): op=fscreate invalid_context=73797374656D5F753A6F626A6563745F723A6E65746C6162656C5F6D676D745F657865635F743A733000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000800000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000audit: type=1401 audit(1521841942.762:21): op=fscreate invalid_context=73797374656D5F753A6F626A6563745F723A6E65746C6162656C5F6D676D745F657865635F743A733000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000800000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004001002000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000[ 59.360159] TCP: request_sock_TCPv6: Possible SYN flooding on port 20002. Sending cookies. Check SNMP counters. kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access[ 60.352224] BUG: spinlock bad magic on CPU#1, syz-executor5/8106 lock: 0xffff8801d308c218, .magic: dead4eac, .owner: /-1, .owner_cpu: -1 CPU: 1 PID: 8106 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[ 60.384782] general protection fault: 0000 [#1] PREEMPT SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 0 PID: 8105 Comm: syz-executor0 Not tainted 4.4.120-gd63fdf6 #29 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801d29de000 task.stack: ffff8801d1c70000 RIP: 0010:[] [] __read_once_size include/linux/compiler.h:218 [inline] RIP: 0010:[] [] atomic_read arch/x86/include/asm/atomic.h:27 [inline] RIP: 0010:[] [] put_page_testzero include/linux/mm.h:357 [inline] RIP: 0010:[] [] __free_pages+0x21/0x90 mm/page_alloc.c:3365 RSP: 0018:ffff8801d1c77970 EFLAGS: 00010a07 RAX: dffffc0000000000 RBX: dead4ead00000000 RCX: ffffffff825b85eb RDX: 1bd5a9d5a0000003 RSI: 0000000000000006 RDI: dead4ead0000001c RBP: ffff8801d1c77980 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000004 R13: 0000000000000020 R14: ffff8801d74f0000 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8801db200000(0063) knlGS:00000000f6f48b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 00000000f6f1fdb0 CR3: 00000000b5eac000 CR4: 0000000000160670 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: 0000000000000000 ffff8801d74f0158 ffff8801d1c779e0 ffffffff825b8611 ffff8801d74f0170 ffffed003ae9e02b ffffed003ae9e02e ffff8801d74f0168 dead4ead00000000 ffff8801d74f0140 0000000000000000 0000000000000000 Call Trace: [] sg_remove_scat.isra.17+0x1c1/0x2d0 drivers/scsi/sg.c:1954 [] sg_finish_rem_req+0x2b5/0x340 drivers/scsi/sg.c:1835 [] sg_new_read.isra.18+0x39/0x3c0 drivers/scsi/sg.c:577 [] sg_read+0x8bc/0x1490 drivers/scsi/sg.c:466 [] do_loop_readv_writev+0x141/0x1e0 fs/read_write.c:680 [] compat_do_readv_writev+0x5df/0x6e0 fs/read_write.c:984 [] compat_readv+0xd9/0x140 fs/read_write.c:1013 [] C_SYSC_readv fs/read_write.c:1033 [inline] [] compat_SyS_readv+0xd8/0x1b0 fs/read_write.c:1022 [] 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 Code: c6 a0 0c 00 e9 78 fd ff ff 90 48 b8 00 00 00 00 00 fc ff df 55 48 89 e5 53 48 89 fb 48 83 c7 1c 48 89 fa 48 83 ec 08 48 c1 ea 03 <0f> b6 14 02 48 89 f8 83 e0 07 83 c0 03 38 d0 7c 04 84 d2 75 49 RIP [] __read_once_size include/linux/compiler.h:218 [inline] RIP [] atomic_read arch/x86/include/asm/atomic.h:27 [inline] RIP [] put_page_testzero include/linux/mm.h:357 [inline] RIP [] __free_pages+0x21/0x90 mm/page_alloc.c:3365 RSP ---[ end trace 7ed659f74248c36f ]---