check_preemption_disabled: 33 callbacks suppressed BUG: using __this_cpu_read() in preemptible [00000000] code: syz-executor5/19476 sg_write: data in/out 44282/1 bytes for SCSI command 0xf7-- guessing data in; program syz-executor4 not setting count and/or reply_len properly syz-executor2: vmalloc: allocation failure: 0 bytes, mode:0x24000c2(GFP_KERNEL|__GFP_HIGHMEM) CPU: 0 PID: 19482 Comm: syz-executor2 Not tainted 4.9.79-g71f1469 #25 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801d8e17938 ffffffff81d94829 1ffff1003b1c2f2a ffff8801d6d4b000 ffffffff83ab8ea0 0000000000000001 0000000000400000 ffff8801d8e17a48 ffffffff81451c92 024000c2d8e17988 0000000041b58ab3 ffffffff84195205 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 [] sel_write_load+0x130/0xfd0 security/selinux/selinuxfs.c:514 [] __vfs_write+0x103/0x680 fs/read_write.c:510 [] vfs_write+0x189/0x530 fs/read_write.c:560 [] SYSC_write fs/read_write.c:607 [inline] [] SyS_write+0xd9/0x1b0 fs/read_write.c:599 [] entry_SYSCALL_64_fastpath+0x29/0xe8 Mem-Info: active_anon:48212 inactive_anon:40 isolated_anon:0 active_file:3686 inactive_file:8375 isolated_file:0 unevictable:0 dirty:161 writeback:0 unstable:0 slab_reclaimable:7247 slab_unreclaimable:60417 mapped:24124 shmem:48 pagetables:695 bounce:0 free:1478958 free_pcp:292 free_cma:0 Node 0 active_anon:192848kB inactive_anon:160kB active_file:14744kB inactive_file:33500kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:96496kB dirty:644kB writeback:0kB shmem:192kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 38912kB 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 DMA32 free:2980084kB 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:636kB local_pcp:636kB free_cma:0kB Normal free:2919840kB min:36824kB low:46028kB high:55232kB active_anon:192848kB inactive_anon:160kB active_file:14744kB inactive_file:33500kB unevictable:0kB writepending:644kB present:4718592kB managed:3585212kB mlocked:0kB slab_reclaimable:28988kB slab_unreclaimable:241668kB kernel_stack:6400kB pagetables:2780kB bounce:0kB free_pcp:532kB local_pcp:320kB free_cma:0kB 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 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB 12108 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 syz-executor2: vmalloc: allocation failure: 0 bytes, mode:0x24000c2(GFP_KERNEL|__GFP_HIGHMEM) CPU: 0 PID: 19483 Comm: syz-executor2 Not tainted 4.9.79-g71f1469 #25 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801d31cf938 ffffffff81d94829 1ffff1003a639f2a ffff8801d6d4c800 ffffffff83ab8ea0 0000000000000001 0000000000400000 ffff8801d31cfa48 ffffffff81451c92 024000c2d31cf988 0000000041b58ab3 ffffffff84195205 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 [] sel_write_load+0x130/0xfd0 security/selinux/selinuxfs.c:514 [] __vfs_write+0x103/0x680 fs/read_write.c:510 [] vfs_write+0x189/0x530 fs/read_write.c:560 [] SYSC_write fs/read_write.c:607 [inline] [] SyS_write+0xd9/0x1b0 fs/read_write.c:599 [] entry_SYSCALL_64_fastpath+0x29/0xe8 Mem-Info: active_anon:46167 inactive_anon:40 isolated_anon:0 active_file:3686 inactive_file:8375 isolated_file:0 unevictable:0 dirty:161 writeback:0 unstable:0 slab_reclaimable:7247 slab_unreclaimable:60433 mapped:24137 shmem:48 pagetables:719 bounce:0 free:1480990 free_pcp:293 free_cma:0 Node 0 active_anon:184668kB inactive_anon:160kB active_file:14744kB inactive_file:33500kB unevictable:0kB isolated(anon):0kB isolated(file):0kB mapped:96548kB dirty:644kB writeback:0kB shmem:192kB shmem_thp: 0kB shmem_pmdmapped: 0kB anon_thp: 36864kB 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 DMA32 free:2980084kB 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:636kB local_pcp:636kB free_cma:0kB Normal free:2927968kB min:36824kB low:46028kB high:55232kB active_anon:184668kB inactive_anon:160kB active_file:14744kB inactive_file:33500kB unevictable:0kB writepending:644kB present:4718592kB managed:3585212kB mlocked:0kB slab_reclaimable:28988kB slab_unreclaimable:241732kB kernel_stack:6432kB pagetables:2876kB bounce:0kB free_pcp:536kB local_pcp:324kB free_cma:0kB 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 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB 12108 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: 19506:19513 got transaction with invalid handle, 0 binder: 19506:19513 transaction failed 29201/-22, size 56-8 line 3219 binder_alloc: binder_alloc_mmap_handler: 19506 20000000-20002000 already mapped failed -16 binder: BINDER_SET_CONTEXT_MGR already set binder: 19506:19513 ioctl 40046207 0 returned -16 binder_alloc: 19506: binder_alloc_buf, no vma binder: 19506:19515 transaction failed 29189/-3, size 56-8 line 3127 binder: undelivered TRANSACTION_ERROR: 29189 binder: undelivered TRANSACTION_ERROR: 29201 caller is __this_cpu_preempt_check+0x1c/0x20 lib/smp_processor_id.c:62 CPU: 1 PID: 19476 Comm: syz-executor5 Not tainted 4.9.79-g71f1469 #25 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801d709f6d8 ffffffff81d94829 0000000000000001 ffffffff83c18800 ffffffff83f454c0 ffff8801d71d6000 0000000000000003 ffff8801d709f718 ffffffff81dfbe04 ffff8801d709f730 ffffffff83f454c0 dffffc0000000000 Call Trace: [] __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 audit: type=1400 audit(1517417062.555:67): avc: denied { create } for pid=19643 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 9pnet_virtio: no channels available for device H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H H device lo entered promiscuous mode netlink: 9 bytes leftover after parsing attributes in process `syz-executor0'. netlink: 9 bytes leftover after parsing attributes in process `syz-executor0'. device syz0 entered promiscuous mode BUG: using __this_cpu_read() in preemptible [00000000] code: syz-executor3/19946 caller is __this_cpu_preempt_check+0x1c/0x20 lib/smp_processor_id.c:62 CPU: 1 PID: 19946 Comm: syz-executor3 Not tainted 4.9.79-g71f1469 #25 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801d4adf490 ffffffff81d94829 0000000000000001 ffffffff83c18800 ffffffff83f454c0 ffff8801d3df1800 0000000000000003 ffff8801d4adf4d0 ffffffff81dfbe04 ffff8801d4adf4e8 ffffffff83f454c0 dffffc0000000000 Call Trace: [] __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_state_construct net/xfrm/xfrm_user.c:590 [inline] [] xfrm_add_sa+0x1916/0x2e40 net/xfrm/xfrm_user.c:639 [] xfrm_user_rcv_msg+0x413/0x6a0 net/xfrm/xfrm_user.c:2525 [] netlink_rcv_skb+0x13e/0x370 net/netlink/af_netlink.c:2351 [] xfrm_netlink_rcv+0x6f/0x90 net/xfrm/xfrm_user.c:2533 [] netlink_unicast_kernel net/netlink/af_netlink.c:1275 [inline] [] netlink_unicast+0x511/0x750 net/netlink/af_netlink.c:1301 [] netlink_sendmsg+0x8e8/0xc50 net/netlink/af_netlink.c:1847 [] 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 BUG: using __this_cpu_read() in preemptible [00000000] code: syz-executor3/19969 caller is __this_cpu_preempt_check+0x1c/0x20 lib/smp_processor_id.c:62 CPU: 0 PID: 19969 Comm: syz-executor3 Not tainted 4.9.79-g71f1469 #25 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801d3f27490 ffffffff81d94829 0000000000000000 ffffffff83c18800 ffffffff83f454c0 ffff8801adda3000 0000000000000003 ffff8801d3f274d0 ffffffff81dfbe04 ffff8801d3f274e8 ffffffff83f454c0 dffffc0000000000 Call Trace: [] __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_state_construct net/xfrm/xfrm_user.c:590 [inline] [] xfrm_add_sa+0x1916/0x2e40 net/xfrm/xfrm_user.c:639 [] xfrm_user_rcv_msg+0x413/0x6a0 net/xfrm/xfrm_user.c:2525 [] netlink_rcv_skb+0x13e/0x370 net/netlink/af_netlink.c:2351 [] xfrm_netlink_rcv+0x6f/0x90 net/xfrm/xfrm_user.c:2533 [] netlink_unicast_kernel net/netlink/af_netlink.c:1275 [inline] [] netlink_unicast+0x511/0x750 net/netlink/af_netlink.c:1301 [] netlink_sendmsg+0x8e8/0xc50 net/netlink/af_netlink.c:1847 [] 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 netlink: 72 bytes leftover after parsing attributes in process `syz-executor5'. netlink: 72 bytes leftover after parsing attributes in process `syz-executor5'. audit: type=1400 audit(1517417065.215:68): avc: denied { bind } for pid=20051 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 binder: 20090:20093 ERROR: BC_REGISTER_LOOPER called without request binder_alloc: binder_alloc_mmap_handler: 20090 20000000-20002000 already mapped failed -16 IPv4: Oversized IP packet from 127.0.0.1 SELinux: unrecognized netlink message: protocol=4 nlmsg_type=74 sclass=netlink_tcpdiag_socket pig=20141 comm=syz-executor4 SELinux: unrecognized netlink message: protocol=4 nlmsg_type=74 sclass=netlink_tcpdiag_socket pig=20144 comm=syz-executor4 binder: BINDER_SET_CONTEXT_MGR already set binder: 20090:20111 ioctl 40046207 0 returned -16 binder: 20090:20147 ERROR: BC_REGISTER_LOOPER called without request binder_alloc: 20090: binder_alloc_buf, no vma binder: 20090:20122 transaction failed 29189/-3, size 0-0 line 3127 binder: undelivered TRANSACTION_ERROR: 29189 netlink: 3 bytes leftover after parsing attributes in process `syz-executor7'. tty_warn_deprecated_flags: 'syz-executor5' is using deprecated serial flags (with no effect): 00008700 IPVS: Creating netns size=2536 id=17 netlink: 3 bytes leftover after parsing attributes in process `syz-executor7'. audit: type=1400 audit(1517417065.865:69): avc: denied { getopt } for pid=20213 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_netfilter_socket permissive=1 tty_warn_deprecated_flags: 'syz-executor5' is using deprecated serial flags (with no effect): 00008700 netlink: 3 bytes leftover after parsing attributes in process `syz-executor7'. netlink: 3 bytes leftover after parsing attributes in process `syz-executor7'. 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 kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 1 PID: 20291 Comm: syz-executor2 Not tainted 4.9.79-g71f1469 #25 SELinux: Invalid class 86 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801b8cb8000 task.stack: ffff8801cfd30000 RIP: 0010:[] [] __read_once_size include/linux/compiler.h:243 [inline] RIP: 0010:[] [] atomic_read arch/x86/include/asm/atomic.h:26 [inline] RIP: 0010:[] [] page_ref_count include/linux/page_ref.h:66 [inline] RIP: 0010:[] [] put_page_testzero include/linux/mm.h:450 [inline] RIP: 0010:[] [] __free_pages+0x21/0x80 mm/page_alloc.c:3897 RSP: 0018:ffff8801cfd379b0 EFLAGS: 00010a07 RAX: dffffc0000000000 RBX: dead4ead00000000 RCX: ffffffff82667c6b RDX: 1bd5a9d5a0000003 RSI: 0000000000000006 RDI: dead4ead0000001c RBP: ffff8801cfd379c0 R08: 0000000048000000 R09: 0000000000001e30 R10: 0000000000002100 R11: ffff8801b8cb8000 R12: 0000000000000004 R13: 0000000000000020 R14: ffff8801bc170000 R15: dffffc0000000000 FS: 00007fd5b9b1f700(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000a2f5a8 CR3: 00000001bc4bc000 CR4: 0000000000160670 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: 0000000000000001 ffff8801bc170158 ffff8801cfd37a20 ffffffff82667c91 ffff8801bc170170 ffffed003782e02b ffffed003782e02e ffff8801bc170168 dead4ead00000000 ffff8801bc170140 0000000000000000 0000000000000000 Call Trace: [] sg_remove_scat.isra.19+0x1c1/0x2d0 drivers/scsi/sg.c:1944 [] sg_finish_rem_req+0x2b5/0x340 drivers/scsi/sg.c:1825 [] sg_new_read.isra.20+0x18d/0x3e0 drivers/scsi/sg.c:566 [] sg_read+0x8b7/0x1440 drivers/scsi/sg.c:455 [] do_loop_readv_writev.part.17+0x141/0x1e0 fs/read_write.c:714 [] do_loop_readv_writev fs/read_write.c:880 [inline] [] do_readv_writev+0x520/0x750 fs/read_write.c:874 [] vfs_readv+0x84/0xc0 fs/read_write.c:898 [] do_readv+0xe6/0x250 fs/read_write.c:924 [] SYSC_readv fs/read_write.c:1011 [inline] [] SyS_readv+0x27/0x30 fs/read_write.c:1008 [] entry_SYSCALL_64_fastpath+0x29/0xe8 Code: e9 27 fc ff ff 0f 1f 44 00 00 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 3d RIP [] __read_once_size include/linux/compiler.h:243 [inline] RIP [] atomic_read arch/x86/include/asm/atomic.h:26 [inline] RIP [] page_ref_count include/linux/page_ref.h:66 [inline] RIP [] put_page_testzero include/linux/mm.h:450 [inline] RIP [] __free_pages+0x21/0x80 mm/page_alloc.c:3897 RSP ---[ end trace 7213a30e52e0cf81 ]---