BUG: KASAN: use-after-free in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801d88c0620 BUG: KASAN: use-after-free in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801d88c0620 BUG: KASAN: use-after-free in static_key_count include/linux/jump_label.h:174 [inline] at addr ffff8801d88c0620 BUG: KASAN: use-after-free in static_key_false include/linux/jump_label.h:184 [inline] at addr ffff8801d88c0620 BUG: KASAN: use-after-free in perf_sw_event include/linux/perf_event.h:1039 [inline] at addr ffff8801d88c0620 BUG: KASAN: use-after-free in __do_page_fault+0xc80/0xd70 arch/x86/mm/fault.c:1438 at addr ffff8801d88c0620 Read of size 8 by task syz-executor3/6467 CPU: 1 PID: 6467 Comm: syz-executor3 Not tainted 4.9.64-gfbb7468 #94 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801d96b7d88 ffffffff81d90429 ffff8801da155140 ffff8801d88c05d0 ffff8801d88c0688 ffffed003b1180c4 ffff8801d88c0620 ffff8801d96b7db0 ffffffff8153a3ac ffffed003b1180c4 ffff8801da155140 0000000000000000 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] kasan_object_err+0x1c/0x70 mm/kasan/report.c:160 [] print_address_description mm/kasan/report.c:198 [inline] [] kasan_report_error mm/kasan/report.c:287 [inline] [] kasan_report.part.1+0x21c/0x500 mm/kasan/report.c:309 [] kasan_report mm/kasan/report.c:330 [inline] [] __asan_report_load8_noabort+0x29/0x30 mm/kasan/report.c:330 [] __read_once_size include/linux/compiler.h:243 [inline] [] atomic_read arch/x86/include/asm/atomic.h:26 [inline] [] static_key_count include/linux/jump_label.h:174 [inline] [] static_key_false include/linux/jump_label.h:184 [inline] [] perf_sw_event include/linux/perf_event.h:1039 [inline] [] __do_page_fault+0xc80/0xd70 arch/x86/mm/fault.c:1438 [] do_page_fault+0x27/0x30 arch/x86/mm/fault.c:1460 [] page_fault+0x28/0x30 arch/x86/entry/entry_64.S:1012 Object at ffff8801d88c05d0, in cache vm_area_struct size: 184 Allocated: PID = 6467 save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 set_track mm/kasan/kasan.c:507 [inline] kasan_kmalloc+0xad/0xe0 mm/kasan/kasan.c:598 kasan_slab_alloc+0x12/0x20 mm/kasan/kasan.c:537 slab_post_alloc_hook mm/slab.h:417 [inline] slab_alloc_node mm/slub.c:2715 [inline] slab_alloc mm/slub.c:2723 [inline] kmem_cache_alloc+0xba/0x290 mm/slub.c:2728 kmem_cache_zalloc include/linux/slab.h:626 [inline] mmap_region+0x587/0xfd0 mm/mmap.c:1662 do_mmap+0x57b/0xbe0 mm/mmap.c:1473 do_mmap_pgoff include/linux/mm.h:2018 [inline] vm_mmap_pgoff+0x16b/0x1b0 mm/util.c:305 SYSC_mmap_pgoff mm/mmap.c:1523 [inline] SyS_mmap_pgoff+0xd0/0x560 mm/mmap.c:1481 SYSC_mmap arch/x86/kernel/sys_x86_64.c:95 [inline] SyS_mmap+0x16/0x20 arch/x86/kernel/sys_x86_64.c:86 entry_SYSCALL_64_fastpath+0x23/0xc6 Freed: PID = 6476 save_stack_trace+0x16/0x20 arch/x86/kernel/stacktrace.c:57 save_stack+0x43/0xd0 mm/kasan/kasan.c:495 set_track mm/kasan/kasan.c:507 [inline] kasan_slab_free+0x73/0xc0 mm/kasan/kasan.c:571 slab_free_hook mm/slub.c:1355 [inline] slab_free_freelist_hook mm/slub.c:1377 [inline] slab_free mm/slub.c:2958 [inline] kmem_cache_free+0xb2/0x2e0 mm/slub.c:2980 remove_vma+0x11d/0x160 mm/mmap.c:175 remove_vma_list mm/mmap.c:2482 [inline] do_munmap+0x7ff/0xeb0 mm/mmap.c:2705 mmap_region+0x14d/0xfd0 mm/mmap.c:1635 do_mmap+0x57b/0xbe0 mm/mmap.c:1473 do_mmap_pgoff include/linux/mm.h:2018 [inline] vm_mmap_pgoff+0x16b/0x1b0 mm/util.c:305 SYSC_mmap_pgoff mm/mmap.c:1523 [inline] SyS_mmap_pgoff+0xd0/0x560 mm/mmap.c:1481 SYSC_mmap arch/x86/kernel/sys_x86_64.c:95 [inline] SyS_mmap+0x16/0x20 arch/x86/kernel/sys_x86_64.c:86 entry_SYSCALL_64_fastpath+0x23/0xc6 Memory state around the buggy address: ffff8801d88c0500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff8801d88c0580: fb fb fc fc fc fc fc fc fc fc fb fb fb fb fb fb >ffff8801d88c0600: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff8801d88c0680: fb fc fc fc fc fc fc fc fc 00 00 00 00 00 00 00 ffff8801d88c0700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ================================================================== ALSA: seq fatal error: cannot create timer (-19) binder: 6506:6507 ioctl 4b6a 204fd000 returned -22 binder: 6506:6507 ioctl 5411 20e27000 returned -22 binder: 6506:6507 ioctl 4c01 0 returned -22 binder: 6506:6513 ioctl 4b6a 204fd000 returned -22 binder: 6506:6511 ioctl 5411 20e27000 returned -22 binder: 6506:6513 ioctl 4c01 0 returned -22 ALSA: seq fatal error: cannot create timer (-19) netlink: 1 bytes leftover after parsing attributes in process `syz-executor6'. IPv6: NLM_F_CREATE should be specified when creating new route 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 IPVS: Creating netns size=2536 id=16 SELinux: unrecognized netlink message: protocol=6 nlmsg_type=257 sclass=netlink_xfrm_socket pig=6574 comm=syz-executor5 SELinux: unrecognized netlink message: protocol=6 nlmsg_type=257 sclass=netlink_xfrm_socket pig=6615 comm=syz-executor5 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 device gre0 entered promiscuous mode device gre0 entered promiscuous mode device gre0 entered promiscuous mode binder: 6725:6727 ioctl 8927 20c56fd8 returned -22 binder: 6725:6727 ioctl 4028641b 209affd8 returned -22 sg_write: data in/out 822404280/197 bytes for SCSI command 0x12-- guessing data in; program syz-executor3 not setting count and/or reply_len properly binder: 6725:6727 ioctl 89e0 208dd000 returned -22 binder: 6725:6727 ioctl 8927 20c56fd8 returned -22 binder: 6725:6782 ioctl 4028641b 209affd8 returned -22 binder: 6725:6727 ioctl 89e0 208dd000 returned -22 netlink: 5 bytes leftover after parsing attributes in process `syz-executor5'. binder: 6819:6831 ioctl 8927 20c56fd8 returned -22 binder: 6828:6834 ioctl 8927 20c56fd8 returned -22 binder: 6819:6831 ioctl 4028641b 209affd8 returned -22 binder: 6828:6834 ioctl 4028641b 209affd8 returned -22 binder: 6828:6834 ioctl 89e0 208dd000 returned -22 binder: 6819:6856 ioctl 89e0 208dd000 returned -22 SELinux: unrecognized netlink message: protocol=4 nlmsg_type=0 sclass=netlink_tcpdiag_socket pig=6853 comm=syz-executor0 binder: 6828:6834 ioctl 8927 20c56fd8 returned -22 netlink: 5 bytes leftover after parsing attributes in process `syz-executor5'. binder: 6828:6854 ioctl 4028641b 209affd8 returned -22 binder: 6828:6834 ioctl 89e0 208dd000 returned -22 binder: 6819:6831 ioctl 8927 20c56fd8 returned -22 SELinux: unrecognized netlink message: protocol=4 nlmsg_type=0 sclass=netlink_tcpdiag_socket pig=6861 comm=syz-executor0 binder: 6819:6868 ioctl 4028641b 209affd8 returned -22 binder: 6819:6856 ioctl 89e0 208dd000 returned -22 SELinux: unrecognized netlink message: protocol=4 nlmsg_type=0 sclass=netlink_tcpdiag_socket pig=6888 comm=syz-executor0 binder: 6930:6932 ioctl 8927 20c56fd8 returned -22 binder: 6930:6932 ioctl 4028641b 209affd8 returned -22 binder: 6930:6932 ioctl 89e0 208dd000 returned -22 binder: 6930:6932 ioctl 8927 20c56fd8 returned -22 binder: 6930:6980 ioctl 4028641b 209affd8 returned -22 binder: 6930:6932 ioctl 89e0 208dd000 returned -22 device gre0 entered promiscuous mode device gre0 left promiscuous mode device gre0 entered promiscuous mode device gre0 entered promiscuous mode binder: 7023:7028 ioctl 8927 20c56fd8 returned -22 binder: 7023:7028 ioctl 4028641b 209affd8 returned -22 binder: 7023:7028 ioctl 89e0 208dd000 returned -22 binder: 7023:7028 ioctl 8927 20c56fd8 returned -22 binder: 7023:7054 ioctl 4028641b 209affd8 returned -22 binder: 7023:7028 ioctl 89e0 208dd000 returned -22 device gre0 entered promiscuous mode binder: 7100:7103 ioctl 8927 20c56fd8 returned -22 netlink: 2 bytes leftover after parsing attributes in process `syz-executor2'. binder: 7100:7103 ioctl 4028641b 209affd8 returned -22 binder: 7100:7103 ioctl 89e0 208dd000 returned -22 binder: 7100:7103 ioctl 8927 20c56fd8 returned -22 netlink: 2 bytes leftover after parsing attributes in process `syz-executor2'. binder: 7100:7132 ioctl 4028641b 209affd8 returned -22 binder: 7100:7103 ioctl 89e0 208dd000 returned -22 binder: 7210:7215 ioctl 8927 20c56fd8 returned -22 binder: 7210:7215 ioctl 4028641b 209affd8 returned -22 binder: 7210:7215 ioctl 89e0 208dd000 returned -22 binder: 7210:7215 ioctl 8927 20c56fd8 returned -22 binder: 7210:7225 ioctl 4028641b 209affd8 returned -22 binder: 7210:7215 ioctl 89e0 208dd000 returned -22 device gre0 entered promiscuous mode binder: 7235:7243 ioctl 8927 20c56fd8 returned -22 binder: 7235:7243 ioctl 4028641b 209affd8 returned -22 binder: 7235:7243 ioctl 89e0 208dd000 returned -22 binder: 7235:7243 ioctl 8927 20c56fd8 returned -22 binder: 7235:7270 ioctl 4028641b 209affd8 returned -22 binder: 7235:7243 ioctl 89e0 208dd000 returned -22 binder: 7291:7293 ioctl 8927 20c56fd8 returned -22 binder: 7291:7293 ioctl 4028641b 209affd8 returned -22 binder: 7291:7293 ioctl 89e0 208dd000 returned -22 binder: 7291:7293 ioctl 8927 20c56fd8 returned -22 binder: 7291:7305 ioctl 4028641b 209affd8 returned -22 binder: 7291:7293 ioctl 89e0 208dd000 returned -22 binder: 7319:7321 ioctl 40284504 205a0fd8 returned -22 binder: 7319:7326 ioctl 40284504 205a0fd8 returned -22 binder: 7335:7336 ioctl 8927 20c56fd8 returned -22 binder: 7335:7336 ioctl 4028641b 209affd8 returned -22 binder: 7345:7349 ioctl 8927 20c56fd8 returned -22 binder: 7345:7349 ioctl 4028641b 209affd8 returned -22 binder: 7345:7349 ioctl 89e0 208dd000 returned -22 binder: 7333:7339 ioctl 8927 20c56fd8 returned -22 binder: 7333:7339 ioctl 4028641b 209affd8 returned -22 binder: 7333:7339 ioctl 89e0 208dd000 returned -22 binder: 7335:7365 ioctl 89e0 208dd000 returned -22 binder: 7345:7349 ioctl 8927 20c56fd8 returned -22 binder: 7333:7339 ioctl 8927 20c56fd8 returned -22 binder: 7345:7359 ioctl 4028641b 209affd8 returned -22 binder: 7345:7349 ioctl 89e0 208dd000 returned -22 binder: 7333:7358 ioctl 4028641b 209affd8 returned -22 binder: 7333:7339 ioctl 89e0 208dd000 returned -22 binder: 7335:7365 ioctl 8927 20c56fd8 returned -22 binder: 7335:7372 ioctl 4028641b 209affd8 returned -22 binder: 7335:7365 ioctl 89e0 208dd000 returned -22 binder: 7389:7390 ioctl 8927 20c56fd8 returned -22 binder: 7389:7390 ioctl 4028641b 209affd8 returned -22 binder: 7389:7390 ioctl 89e0 208dd000 returned -22 binder: 7389:7390 ioctl 8927 20c56fd8 returned -22 binder: 7389:7403 ioctl 4028641b 209affd8 returned -22 binder: 7418:7421 ioctl 8927 20c56fd8 returned -22 9pnet_virtio: no channels available for device ./file0 binder: 7418:7421 ioctl 4028641b 209affd8 returned -22 9pnet_virtio: no channels available for device ./file0 binder: 7418:7421 ioctl 89e0 208dd000 returned -22 binder: 7418:7421 ioctl 8927 20c56fd8 returned -22 binder: 7418:7436 ioctl 4028641b 209affd8 returned -22 binder: 7418:7421 ioctl 89e0 208dd000 returned -22 binder: 7432:7435 ioctl 8927 20c56fd8 returned -22 binder: 7432:7435 ioctl 4028641b 209affd8 returned -22 device gre0 entered promiscuous mode binder: 7432:7435 ioctl 8927 20c56fd8 returned -22 binder: 7432:7448 ioctl 4028641b 209affd8 returned -22 binder: 7470:7471 ioctl 8927 20c56fd8 returned -22 binder: 7477:7478 ioctl 8927 20c56fd8 returned -22 binder: 7477:7478 ioctl 4028641b 209affd8 returned -22 binder: 7470:7471 ioctl 8927 20c56fd8 returned -22 binder: 7482:7491 ioctl 8927 20c56fd8 returned -22 binder: 7482:7491 ioctl 4028641b 209affd8 returned -22 binder: 7482:7491 ioctl 89e0 208dd000 returned -22 binder: 7482:7491 ioctl 8927 20c56fd8 returned -22 binder: 7477:7478 ioctl 8927 20c56fd8 returned -22 binder: 7482:7497 ioctl 4028641b 209affd8 returned -22 binder: 7482:7491 ioctl 89e0 208dd000 returned -22 binder: 7477:7500 ioctl 4028641b 209affd8 returned -22 binder: 7517:7520 ioctl 8927 20c56fd8 returned -22 binder: 7517:7520 ioctl 8927 20c56fd8 returned -22 binder: 7558:7559 ioctl 8927 20c56fd8 returned -22 binder: 7558:7559 ioctl 8927 20c56fd8 returned -22 binder: 7571:7573 ioctl 8927 20c56fd8 returned -22 binder: 7571:7573 ioctl 4028641b 209affd8 returned -22 binder: 7571:7573 ioctl 89e0 208dd000 returned -22 binder: 7571:7573 ioctl 8927 20c56fd8 returned -22 binder: 7571:7606 ioctl 4028641b 209affd8 returned -22 binder: 7571:7573 ioctl 89e0 208dd000 returned -22 binder: 7613:7620 ioctl 8927 20c56fd8 returned -22 binder: 7613:7620 ioctl 8927 20c56fd8 returned -22 binder: 7670:7673 ioctl 8927 20c56fd8 returned -22 binder: 7670:7673 ioctl 4028641b 209affd8 returned -22 binder: 7670:7673 ioctl 89e0 208dd000 returned -22 binder: 7670:7673 ioctl 8927 20c56fd8 returned -22 binder: 7670:7679 ioctl 4028641b 209affd8 returned -22 binder: 7670:7673 ioctl 89e0 208dd000 returned -22 binder: 7689:7690 ioctl 8927 20c56fd8 returned -22 binder: 7689:7690 ioctl 8927 20c56fd8 returned -22 binder: 7754:7758 ioctl 8927 20c56fd8 returned -22 binder: 7754:7758 ioctl 4028641b 209affd8 returned -22 binder: 7754:7758 ioctl 89e0 208dd000 returned -22 binder: 7754:7758 ioctl 8927 20c56fd8 returned -22 binder: 7754:7772 ioctl 4028641b 209affd8 returned -22 binder: 7754:7758 ioctl 89e0 208dd000 returned -22 binder: 7786:7794 ioctl 8927 20c56fd8 returned -22 binder: 7802:7803 ioctl 8927 20c56fd8 returned -22 binder: 7802:7803 ioctl 4028641b 209affd8 returned -22 binder: 7786:7794 ioctl 8927 20c56fd8 returned -22 binder: 7802:7803 ioctl 89e0 208dd000 returned -22 binder: 7802:7803 ioctl 8927 20c56fd8 returned -22 binder: 7802:7813 ioctl 4028641b 209affd8 returned -22 binder: 7837:7838 ioctl 8927 20c56fd8 returned -22 binder: 7837:7838 ioctl 8927 20c56fd8 returned -22 binder: 7878:7890 ioctl 8927 20c56fd8 returned -22 binder: 7888:7896 ioctl 8927 20c56fd8 returned -22 binder: 7878:7890 ioctl 4028641b 209affd8 returned -22 binder: 7888:7896 ioctl 8927 20c56fd8 returned -22 binder: 7916:7917 ioctl 8927 20c56fd8 returned -22 binder: 7878:7890 ioctl 8927 20c56fd8 returned -22 binder: 7878:7926 ioctl 4028641b 209affd8 returned -22 binder: 7916:7917 ioctl 8927 20c56fd8 returned -22 binder: 7984:7986 ioctl 8927 20c56fd8 returned -22 binder: 7987:7990 ioctl 8927 20c56fd8 returned -22 binder: 7987:7990 ioctl 8927 20c56fd8 returned -22 binder: 7984:7986 ioctl 8927 20c56fd8 returned -22 binder: 8036:8037 ioctl 8927 20c56fd8 returned -22 binder: 8036:8037 ioctl 8927 20c56fd8 returned -22 binder: 8084:8089 ioctl 8927 20c56fd8 returned -22 binder: 8084:8089 ioctl 8927 20c56fd8 returned -22 binder: 8169:8176 ioctl 8927 20c56fd8 returned -22 binder: 8169:8176 ioctl 8927 20c56fd8 returned -22 binder: 8257:8258 ioctl 8927 20c56fd8 returned -22 binder: 8257:8258 ioctl 8927 20c56fd8 returned -22 binder: 8316:8317 ioctl 8927 20c56fd8 returned -22 binder: 8316:8317 ioctl 8927 20c56fd8 returned -22 binder: 8370:8373 ioctl 8927 20c56fd8 returned -22 binder: 8370:8373 ioctl 8927 20c56fd8 returned -22 binder: 8441:8442 ioctl 8927 20c56fd8 returned -22 binder: 8441:8442 ioctl 8927 20c56fd8 returned -22 binder: 8480:8485 ioctl 8927 20c56fd8 returned -22 binder: 8480:8485 ioctl 8927 20c56fd8 returned -22 binder: 8533:8539 ioctl 8927 20c56fd8 returned -22 binder: 8533:8539 ioctl 8927 20c56fd8 returned -22 binder: 8575:8576 ioctl 8927 20c56fd8 returned -22 binder: 8575:8576 ioctl 8927 20c56fd8 returned -22 binder: 8602:8606 ioctl 8927 20c56fd8 returned -22 binder: 8602:8606 ioctl 4028641b 209affd8 returned -22 binder: 8619:8621 ioctl 8927 20c56fd8 returned -22 binder: 8602:8636 ioctl 89e0 208dd000 returned -22 binder: 8619:8621 ioctl 8927 20c56fd8 returned -22 binder: 8602:8606 ioctl 8927 20c56fd8 returned -22 binder: 8602:8636 ioctl 4028641b 209affd8 returned -22 binder: 8602:8606 ioctl 89e0 208dd000 returned -22 binder: 8661:8664 ioctl 8927 20c56fd8 returned -22 binder: 8661:8664 ioctl 8927 20c56fd8 returned -22 binder: 8714:8715 ioctl 8927 20c56fd8 returned -22 binder: 8714:8715 ioctl 8927 20c56fd8 returned -22 binder: 8764:8765 ioctl 8927 20c56fd8 returned -22 binder: 8764:8765 ioctl 8927 20c56fd8 returned -22 binder: 8829:8830 ioctl 8927 20c56fd8 returned -22 binder: 8829:8830 ioctl 8927 20c56fd8 returned -22 binder: 8908:8909 ioctl 8927 20c56fd8 returned -22 binder: 8908:8909 ioctl 8927 20c56fd8 returned -22 binder: 8962:8963 ioctl 8927 20c56fd8 returned -22 binder: 8962:8963 ioctl 8927 20c56fd8 returned -22 binder: 8977:8981 ioctl 8927 20c56fd8 returned -22 binder: 8977:8981 ioctl 8927 20c56fd8 returned -22 binder: 9581:9594 ioctl 40086424 20b25000 returned -22 binder: 9581:9615 ioctl 40086424 20b25000 returned -22