BUG: using __this_cpu_read() in preemptible [00000000] code: syz-executor7/8751 caller is __this_cpu_preempt_check+0x1c/0x20 lib/smp_processor_id.c:62 CPU: 0 PID: 8751 Comm: syz-executor7 Not tainted 4.9.80-g20c8a00 #30 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801c3f976d8 ffffffff81d94b69 0000000000000000 ffffffff83c18800 ffffffff83f454c0 ffff8801d98c6000 0000000000000003 ffff8801c3f97718 ffffffff81dfc144 ffff8801c3f97730[ 50.307652] TCP: request_sock_TCPv6: Possible SYN flooding on port 20018. Sending cookies. Check SNMP counters. ffffffff83f454c0 dffffc0000000000 [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 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/0x930 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:2096 [] xfrm_init_state+0x1a/0x20 net/xfrm/xfrm_state.c:2122 [] pfkey_msg2xfrm_state net/key/af_key.c:1289 [inline] [] pfkey_add+0x1fb9/0x3470 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:635 [inline] [] sock_sendmsg+0xca/0x110 net/socket.c:645 [] ___sys_sendmsg+0x6d1/0x7e0 net/socket.c:1969 [] __sys_sendmsg+0xd6/0x190 net/socket.c:2003 [] SYSC_sendmsg net/socket.c:2014 [inline] [] SyS_sendmsg+0x2d/0x50 net/socket.c:2010 [] entry_SYSCALL_64_fastpath+0x29/0xe8 pktgen: kernel_thread() failed for cpu 1 pktgen: Cannot create thread for cpu 1 (-4) IPVS: Creating netns size=2536 id=12 pktgen: kernel_thread() failed for cpu 0 pktgen: Cannot create thread for cpu 0 (-4) pktgen: kernel_thread() failed for cpu 1 pktgen: Cannot create thread for cpu 1 (-4) pktgen: Initialization failed for all threads syz-executor3: vmalloc: allocation failure: 15157949456 bytes, mode:0x24000c2(GFP_KERNEL|__GFP_HIGHMEM) CPU: 1 PID: 8876 Comm: syz-executor3 Not tainted 4.9.80-g20c8a00 #30 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801d99bf880 ffffffff81d94b69 1ffff1003b337f13 ffff8801c1b43000 ffffffff83ab8ea0 0000000000000001 0000000000400000 ffff8801d99bf990 ffffffff81451ca2 024000c200000003 0000000041b58ab3 ffffffff84195215 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] warn_alloc+0x212/0x240 mm/page_alloc.c:3056 [] __vmalloc_node_range+0x3f5/0x5f0 mm/vmalloc.c:1722 [] __vmalloc_node mm/vmalloc.c:1744 [inline] [] __vmalloc_node_flags mm/vmalloc.c:1758 [inline] [] vmalloc+0x5b/0x70 mm/vmalloc.c:1773 [] xt_alloc_entry_offsets+0x41/0x60 net/netfilter/x_tables.c:722 [] translate_table+0x2da/0x1cd0 net/ipv4/netfilter/arp_tables.c:549 [] do_replace net/ipv4/netfilter/arp_tables.c:986 [inline] [] do_arpt_set_ctl+0x2b7/0x650 net/ipv4/netfilter/arp_tables.c:1465 [] 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:1248 [] tcp_setsockopt+0x82/0xd0 net/ipv4/tcp.c:2740 [] sock_common_setsockopt+0x95/0xd0 net/core/sock.c:2706 [] SYSC_setsockopt net/socket.c:1772 [inline] [] SyS_setsockopt+0x160/0x250 net/socket.c:1751 [] entry_SYSCALL_64_fastpath+0x29/0xe8 Mem-Info: active_anon:58181 inactive_anon:44 isolated_anon:0 active_file:3535 inactive_file:8283 isolated_file:0 unevictable:0 dirty:135 writeback:0 unstable:0 slab_reclaimable:7717 slab_unreclaimable:60504 mapped:24090 shmem:51 pagetables:678 bounce:0 free:1467916 free_pcp:423 free_cma:0 Node 0 active_anon:224408kB inactive_anon:176kB active_file:14140kB inactive_file:33132kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:96332kB dirty:540kB writeback:0kB shmem:204kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 69632kB writeback_tmp:0kB unstable:0kB pages_scanned:0 all_unreclaimable? no DMA free:15908kB min:160kB low:200kB high:240kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:15992kB managed:15908kB mlocked:0kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:0kB local_pcp:0kB free_cma:0kB lowmem_reserve[]: 0 2908 6410 6410 DMA32 free:2979960kB min:30592kB low:38240kB high:45888kB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB present:3129292kB managed:2980720kB mlocked:0kB slab_reclaimable:0kB slab_unreclaimable:0kB kernel_stack:0kB pagetables:0kB bounce:0kB free_pcp:760kB local_pcp:712kB free_cma:0kB lowmem_reserve[]: 0 0 3501 3501 Normal free:2885232kB min:36824kB low:46028kB high:55232kB active_anon:224316kB inactive_anon:176kB active_file:14140kB inactive_file:33132kB unevictable:0kB writepending:540kB present:4718592kB managed:3585212kB mlocked:0kB slab_reclaimable:30868kB slab_unreclaimable:241572kB kernel_stack:5696kB pagetables:2592kB bounce:0kB free_pcp:912kB local_pcp:296kB free_cma:0kB lowmem_reserve[]: 0 0 0 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 DMA32: 2*4kB (M) 2*8kB (M) 2*16kB (M) 2*32kB (M) 2*64kB (M) 3*128kB (M) 2*256kB (M) 4*512kB (M) 1*1024kB (M) 1*2048kB (M) 726*4096kB (M) = 2979960kB Normal: 1868*4kB (UME) 1006*8kB (UM) 238*16kB (UME) 82*32kB (UME) 33*64kB (UM) 19*128kB (UM) 14*256kB (UM) 9*512kB (UME) 2*1024kB (UE) 3*2048kB (UM) 694*4096kB (M) = 2885504kB Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB 11873 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 320509 pages reserved binder: 8906:8908 ioctl c0046209 20001000 returned -22 binder: 8906:8913 ioctl c0046209 20001000 returned -22 audit: type=1400 audit(1518110223.257:34): avc: denied { getopt } for pid=8998 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_netfilter_socket permissive=1 netlink: 3 bytes leftover after parsing attributes in process `syz-executor4'. netlink: 3 bytes leftover after parsing attributes in process `syz-executor4'. netlink: 3 bytes leftover after parsing attributes in process `syz-executor4'. netlink: 3 bytes leftover after parsing attributes in process `syz-executor4'. SELinux: policydb string SE Linux does not match my string SE Linux SELinux: policydb string SE Linux does not match my string SE Linux audit: type=1400 audit(1518110223.457:35): avc: denied { attach_queue } for pid=9057 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=tun_socket permissive=1 binder: 9097:9098 ERROR: BC_REGISTER_LOOPER called without request binder: 9097:9108 ioctl 8004e500 2000cffc returned -22 binder: 9097:9108 got reply transaction with no transaction stack binder: 9097:9108 transaction failed 29201/-71, size 0-8 line 2920 binder: undelivered TRANSACTION_ERROR: 29201 binder: 9097:9098 ERROR: BC_REGISTER_LOOPER called without request binder: 9097:9098 ioctl 8004e500 2000cffc returned -22 binder: 9097:9098 got reply transaction with no transaction stack binder: 9097:9098 transaction failed 29201/-71, size 0-8 line 2920 binder: undelivered TRANSACTION_ERROR: 29201 device lo entered promiscuous mode audit: type=1400 audit(1518110223.927:36): avc: denied { setpcap } for pid=9179 comm="syz-executor2" capability=8 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=cap_userns permissive=1 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=9239 comm=syz-executor7 SELinux: ebitmap: truncated map SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=9239 comm=syz-executor7 9pnet_virtio: no channels available for device ./file0 9pnet_virtio: no channels available for device ./file0 sg_write: data in/out 12746717/81 bytes for SCSI command 0x0-- guessing data in; program syz-executor5 not setting count and/or reply_len properly audit: type=1400 audit(1518110225.777:37): avc: denied { read } for pid=9715 comm="syz-executor2" 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(1518110225.807:38): avc: denied { setopt } for pid=9715 comm="syz-executor2" 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(1518110225.947:39): avc: denied { ioctl } for pid=9745 comm="syz-executor4" path="socket:[23729]" dev="sockfs" ino=23729 ioctlcmd=0x0 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(1518110226.257:40): avc: denied { getattr } for pid=9822 comm="syz-executor1" path="socket:[23771]" dev="sockfs" ino=23771 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(1518110226.727:41): avc: denied { sys_admin } for pid=9981 comm="syz-executor1" capability=21 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=cap_userns permissive=1 audit: type=1400 audit(1518110226.737:42): avc: denied { dac_override } for pid=9986 comm="syz-executor3" capability=1 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=cap_userns permissive=1 audit: type=1400 audit(1518110226.787:43): avc: denied { net_admin } for pid=3675 comm="syz-executor7" capability=12 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=cap_userns permissive=1 audit: type=1400 audit(1518110226.847:44): avc: denied { sys_admin } for pid=9981 comm="syz-executor1" capability=21 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=cap_userns permissive=1 audit: type=1400 audit(1518110226.857:45): avc: denied { net_admin } for pid=3691 comm="syz-executor4" capability=12 scontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tcontext=unconfined_u:system_r:insmod_t:s0-s0:c0.c1023 tclass=cap_userns permissive=1 audit: type=1400 audit(1518110227.017:46): avc: denied { set_context_mgr } for pid=10042 comm="syz-executor0" 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: 10042:10043 BC_CLEAR_DEATH_NOTIFICATION death notification not active binder: BINDER_SET_CONTEXT_MGR already set binder: 10042:10053 ioctl 40046207 0 returned -16 binder: 10042:10053 BC_CLEAR_DEATH_NOTIFICATION death notification not active device gre0 entered promiscuous mode binder: 10243:10246 got transaction with invalid offset (0, min 0 max 0) or object. binder: 10243:10246 transaction failed 29201/-22, size 0-72 line 3190 binder: BINDER_SET_CONTEXT_MGR already set binder: 10243:10256 ioctl 40046207 0 returned -16 binder_alloc: 10243: binder_alloc_buf, no vma binder: 10243:10263 got reply transaction with no transaction stack binder: 10243:10263 transaction failed 29201/-71, size 0-0 line 2920 binder: 10243:10264 BC_FREE_BUFFER u0000000020000000 no match binder: 10243:10256 transaction failed 29189/-3, size 0-0 line 3127 binder_alloc: 10243: binder_alloc_buf, no vma binder: 10243:10264 transaction failed 29189/-3, size 0-72 line 3127 binder: undelivered TRANSACTION_ERROR: 29189 binder: undelivered TRANSACTION_ERROR: 29201 binder: undelivered TRANSACTION_COMPLETE binder: undelivered transaction 47, process died. Can not set IPV6_FL_F_REFLECT if flowlabel_consistency sysctl is enable Can not set IPV6_FL_F_REFLECT if flowlabel_consistency sysctl is enable SELinux: unrecognized netlink message: protocol=0 nlmsg_type=50164 sclass=netlink_route_socket pig=10393 comm=syz-executor2 binder_alloc: 10385: binder_alloc_buf size -3905771724567224040 failed, no address space binder_alloc: allocated: 0 (num: 0 largest: 0), free: 8192 (num: 1 largest: 8192) binder: 10385:10397 transaction failed 29201/-28, size 0-2900458605457182720 line 3127 binder: BINDER_SET_CONTEXT_MGR already set binder: 10385:10407 ioctl 40046207 0 returned -16 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=50164 sclass=netlink_route_socket pig=10406 comm=syz-executor2 binder: undelivered TRANSACTION_ERROR: 29201 binder: 10442:10448 ERROR: BC_REGISTER_LOOPER called without request IPVS: Creating netns size=2536 id=13 pktgen: kernel_thread() failed for cpu 0 binder: BINDER_SET_CONTEXT_MGR already set binder: 10442:10472 ioctl 40046207 0 returned -16 binder: 10442:10448 ERROR: BC_REGISTER_LOOPER called without request binder_alloc: 10442: binder_alloc_buf, no vma binder: 10442:10448 transaction failed 29189/-3, size 0-0 line 3127 binder: undelivered TRANSACTION_ERROR: 29189 binder: release 10442:10448 transaction 55 out, still active binder: undelivered TRANSACTION_COMPLETE binder: send failed reply for transaction 55, target dead pktgen: Cannot create thread for cpu 0 (-4) pktgen: kernel_thread() failed for cpu 1 pktgen: Cannot create thread for cpu 1 (-4) pktgen: Initialization failed for all threads binder: 10512:10519 DecRefs 0 refcount change on invalid ref 2 ret -22 SELinux: unknown mount option binder: undelivered death notification, 0000000000000000 SELinux: unknown mount option binder: undelivered death notification, 0000000000000000 SELinux: unrecognized netlink message: protocol=4 nlmsg_type=30 sclass=netlink_tcpdiag_socket pig=10683 comm=syz-executor2 SELinux: unrecognized netlink message: protocol=4 nlmsg_type=30 sclass=netlink_tcpdiag_socket pig=10707 comm=syz-executor2 IPVS: Creating netns size=2536 id=14 pktgen: kernel_thread() failed for cpu 1 pktgen: Cannot create thread for cpu 1 (-4) IPVS: Creating netns size=2536 id=15 audit_printk_skb: 39 callbacks suppressed audit: type=1400 audit(1518110231.117:60): avc: denied { create } for pid=10834 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_crypto_socket permissive=1 FAULT_FLAG_ALLOW_RETRY missing 30 FAULT_FLAG_ALLOW_RETRY missing 30 CPU: 0 PID: 10847 Comm: syz-executor4 Not tainted 4.9.80-g20c8a00 #30 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801cbeef860 ffffffff81d94b69 ffff8801cbeefb40 0000000000000000 ffff8801d01f2890 ffff8801cbeefa30 ffff8801d01f2780 ffff8801cbeefa58 ffffffff816624ba 0000000000002a2e ffff8801cc3fe8f0 ffff8801cc3fe8a0 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] handle_userfault+0xa3a/0x1310 fs/userfaultfd.c:323 [] do_anonymous_page mm/memory.c:2747 [inline] [] handle_pte_fault mm/memory.c:3488 [inline] [] __handle_mm_fault mm/memory.c:3577 [inline] [] handle_mm_fault+0x1fd1/0x2530 mm/memory.c:3614 [] __do_page_fault+0x5c2/0xd40 arch/x86/mm/fault.c:1407 [] do_page_fault+0x27/0x30 arch/x86/mm/fault.c:1470 [] page_fault+0x28/0x30 arch/x86/entry/entry_64.S:1055 [] SyS_rt_sigtimedwait+0x2d/0x40 kernel/signal.c:2821 [] entry_SYSCALL_64_fastpath+0x29/0xe8 CPU: 0 PID: 10853 Comm: syz-executor4 Not tainted 4.9.80-g20c8a00 #30 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801cbcef8d0 ffffffff81d94b69 ffff8801cbcefbb0 0000000000000000 ffff8801d01f2890 ffff8801cbcefaa0 ffff8801d01f2780 ffff8801cbcefac8 ffffffff816624ba 0000000000002a2e ffff8801cde568f0 ffff8801cde568a0 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] handle_userfault+0xa3a/0x1310 fs/userfaultfd.c:323 [] do_anonymous_page mm/memory.c:2747 [inline] [] handle_pte_fault mm/memory.c:3488 [inline] [] __handle_mm_fault mm/memory.c:3577 [inline] [] handle_mm_fault+0x1fd1/0x2530 mm/memory.c:3614 [] __do_page_fault+0x5c2/0xd40 arch/x86/mm/fault.c:1407 [] do_page_fault+0x27/0x30 arch/x86/mm/fault.c:1470 [] page_fault+0x28/0x30 arch/x86/entry/entry_64.S:1055 [] entry_SYSCALL_64_fastpath+0x29/0xe8 FAULT_FLAG_ALLOW_RETRY missing 30 CPU: 0 PID: 10847 Comm: syz-executor4 Not tainted 4.9.80-g20c8a00 #30 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801cbeef860 ffffffff81d94b69 ffff8801cbeefb40 0000000000000000 ffff8801d40b6410 ffff8801cbeefa30 ffff8801d40b6300 ffff8801cbeefa58 ffffffff816624ba 0000000000002a2e ffff8801cc3fe8f0 ffff8801cc3fe8a0 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] handle_userfault+0xa3a/0x1310 fs/userfaultfd.c:323 [] do_anonymous_page mm/memory.c:2747 [inline] [] handle_pte_fault mm/memory.c:3488 [inline] [] __handle_mm_fault mm/memory.c:3577 [inline] [] handle_mm_fault+0x1fd1/0x2530 mm/memory.c:3614 [] __do_page_fault+0x5c2/0xd40 arch/x86/mm/fault.c:1407 [] do_page_fault+0x27/0x30 arch/x86/mm/fault.c:1470 [] page_fault+0x28/0x30 arch/x86/entry/entry_64.S:1055