================================================================== BUG: KASAN: use-after-free in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801c62ed338 BUG: KASAN: use-after-free in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801c62ed338 BUG: KASAN: use-after-free in static_key_count include/linux/jump_label.h:174 [inline] at addr ffff8801c62ed338 BUG: KASAN: use-after-free in static_key_false include/linux/jump_label.h:184 [inline] at addr ffff8801c62ed338 BUG: KASAN: use-after-free in perf_sw_event include/linux/perf_event.h:1039 [inline] at addr ffff8801c62ed338 BUG: KASAN: use-after-free in __do_page_fault+0xc80/0xd70 arch/x86/mm/fault.c:1438 at addr ffff8801c62ed338 Read of size 8 by task syz-executor4/7125 CPU: 0 PID: 7125 Comm: syz-executor4 Not tainted 4.9.64-gfbb7468 #94 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801cfa67d88 ffffffff81d90429 ffff8801da155140 ffff8801c62ed2e8 ffff8801c62ed3a0 ffffed0038c5da67 ffff8801c62ed338 ffff8801cfa67db0 ffffffff8153a3ac ffffed0038c5da67 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 ffff8801c62ed2e8, in cache vm_area_struct size: 184 Allocated: PID = 7125 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 = 7130 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: ffff8801c62ed200: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff8801c62ed280: fb fb fb fb fb fc fc fc fc fc fc fc fc fb fb fb >ffff8801c62ed300: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff8801c62ed380: fb fb fb fb fc fc fc fc fc fc fc fc fb fb fb fb ffff8801c62ed400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ================================================================== ================================================================== BUG: KASAN: use-after-free in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801d8c0eaf8 BUG: KASAN: use-after-free in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801d8c0eaf8 BUG: KASAN: use-after-free in static_key_count include/linux/jump_label.h:174 [inline] at addr ffff8801d8c0eaf8 BUG: KASAN: use-after-free in static_key_false include/linux/jump_label.h:184 [inline] at addr ffff8801d8c0eaf8 BUG: KASAN: use-after-free in perf_sw_event include/linux/perf_event.h:1039 [inline] at addr ffff8801d8c0eaf8 BUG: KASAN: use-after-free in __do_page_fault+0xc80/0xd70 arch/x86/mm/fault.c:1438 at addr ffff8801d8c0eaf8 Read of size 8 by task syz-executor4/7125 CPU: 0 PID: 7125 Comm: syz-executor4 Tainted: G B 4.9.64-gfbb7468 #94 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801cfa67d88 ffffffff81d90429 ffff8801da155140 ffff8801d8c0eaa8 ffff8801d8c0eb60 ffffed003b181d5f ffff8801d8c0eaf8 ffff8801cfa67db0 ffffffff8153a3ac ffffed003b181d5f 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 ffff8801d8c0eaa8, in cache vm_area_struct size: 184 Allocated: PID = 7130 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 = 7130 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: ffff8801d8c0e980: fc fc fc fc fc fc fb fb fb fb fb fb fb fb fb fb ffff8801d8c0ea00: fb fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc >ffff8801d8c0ea80: fc fc fc fc fc fb fb fb fb fb fb fb fb fb fb fb ^ ffff8801d8c0eb00: fb fb fb fb fb fb fb fb fb fb fb fb fc fc fc fc ffff8801d8c0eb80: fc fc fc fc 00 00 00 00 00 00 00 00 00 00 00 00 ================================================================== Can not set IPV6_FL_F_REFLECT if flowlabel_consistency sysctl is enable binder: 7199:7202 ioctl 541c 20ed7fd8 returned -22 binder: 7199:7202 ioctl 541c 20ed7fd8 returned -22 Can not set IPV6_FL_F_REFLECT if flowlabel_consistency sysctl is enable device lo entered promiscuous mode sg_write: data in/out 262364/161 bytes for SCSI command 0xff-- guessing data in; program syz-executor5 not setting count and/or reply_len properly binder: 7280:7288 ioctl c0106426 20435ff0 returned -22 device lo left promiscuous mode binder: 7280:7300 ioctl c0106426 20435ff0 returned -22 device lo entered promiscuous mode device lo left promiscuous mode binder: 7337:7341 ioctl c0106426 20435ff0 returned -22 binder: 7337:7353 ioctl c0106426 20435ff0 returned -22 loop_reread_partitions: partition scan of loop0 (-\t@r9hxGQ:[il L*@R-Tr-x) failed (rc=-13) binder: 7389:7390 ioctl c0106426 20435ff0 returned -22 IPv6: Can't replace route, no match found binder: 7389:7409 ioctl c0106426 20435ff0 returned -22 binder: 7427:7431 ioctl 8927 204dcfd8 returned -22 binder: 7427:7431 ioctl 4028641b 209affd8 returned -22 binder: 7427:7431 ioctl 89e0 208dd000 returned -22 binder: 7427:7431 ioctl 8927 204dcfd8 returned -22 device gre0 entered promiscuous mode binder: 7448:7449 ioctl c0106426 20435ff0 returned -22 binder: 7427:7442 ioctl 4028641b 209affd8 returned -22 binder: 7427:7431 ioctl 89e0 208dd000 returned -22 loop_reread_partitions: partition scan of loop0 () failed (rc=-13) binder: 7448:7463 ioctl c0106426 20435ff0 returned -22 binder: 7482:7483 ioctl c0106426 20435ff0 returned -22 binder: 7482:7483 ioctl c0106426 20435ff0 returned -22 netlink: 8 bytes leftover after parsing attributes in process `syz-executor2'. netlink: 8 bytes leftover after parsing attributes in process `syz-executor2'. SELinux: unrecognized netlink message: protocol=9 nlmsg_type=0 sclass=netlink_audit_socket pig=7531 comm=syz-executor1 SELinux: unrecognized netlink message: protocol=9 nlmsg_type=0 sclass=netlink_audit_socket pig=7531 comm=syz-executor1 SELinux: unrecognized netlink message: protocol=9 nlmsg_type=0 sclass=netlink_audit_socket pig=7531 comm=syz-executor1 SELinux: unrecognized netlink message: protocol=9 nlmsg_type=0 sclass=netlink_audit_socket pig=7531 comm=syz-executor1 SELinux: unrecognized netlink message: protocol=9 nlmsg_type=0 sclass=netlink_audit_socket pig=7531 comm=syz-executor1 SELinux: unrecognized netlink message: protocol=9 nlmsg_type=0 sclass=netlink_audit_socket pig=7531 comm=syz-executor1 SELinux: unrecognized netlink message: protocol=9 nlmsg_type=0 sclass=netlink_audit_socket pig=7531 comm=syz-executor1 SELinux: unrecognized netlink message: protocol=9 nlmsg_type=0 sclass=netlink_audit_socket pig=7531 comm=syz-executor1 SELinux: unrecognized netlink message: protocol=9 nlmsg_type=0 sclass=netlink_audit_socket pig=7531 comm=syz-executor1 SELinux: unrecognized netlink message: protocol=9 nlmsg_type=0 sclass=netlink_audit_socket pig=7531 comm=syz-executor1 binder: 7527:7543 ioctl c0106426 20435ff0 returned -22 binder: 7527:7535 ioctl c0106426 20435ff0 returned -22 device gre0 entered promiscuous mode binder: 7586:7587 ioctl c0106426 20435ff0 returned -22 binder: 7586:7587 ioctl c0106426 20435ff0 returned -22 IPVS: Creating netns size=2536 id=14 binder: 7642:7646 ioctl c0106426 20435ff0 returned -22 binder: 7642:7646 ioctl c0106426 20435ff0 returned -22 netlink: 1 bytes leftover after parsing attributes in process `syz-executor6'. netlink: 1 bytes leftover after parsing attributes in process `syz-executor6'. 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 sg_write: data in/out 262364/161 bytes for SCSI command 0xff-- guessing data in; program syz-executor1 not setting count and/or reply_len properly sg_write: data in/out 262364/161 bytes for SCSI command 0xff-- guessing data in; program syz-executor2 not setting count and/or reply_len properly binder: 7688:7689 ioctl c0106426 20435ff0 returned -22 binder: 7694:7701 ioctl c0106426 20435ff0 returned -22 netlink: 11 bytes leftover after parsing attributes in process `syz-executor0'. binder: 7693:7710 ioctl c0106426 20435ff0 returned -22 sg_write: data in/out 262364/161 bytes for SCSI command 0xff-- guessing data in; program syz-executor5 not setting count and/or reply_len properly binder: 7694:7701 ioctl c0106426 20435ff0 returned -22 binder: 7688:7689 ioctl c0106426 20435ff0 returned -22 sg_write: data in/out 262364/161 bytes for SCSI command 0xff-- guessing data in; program syz-executor1 not setting count and/or reply_len properly netlink: 11 bytes leftover after parsing attributes in process `syz-executor0'. binder: 7693:7710 ioctl c0106426 20435ff0 returned -22 sg_write: data in/out 262364/161 bytes for SCSI command 0xff-- guessing data in; program syz-executor5 not setting count and/or reply_len properly binder: 7733:7734 ioctl c0106426 20435ff0 returned -22 sg_write: data in/out 262364/161 bytes for SCSI command 0xff-- guessing data in; program syz-executor2 not setting count and/or reply_len properly binder: 7733:7734 ioctl c0106426 20435ff0 returned -22 binder: 7740:7744 ioctl c0106426 20435ff0 returned -22 sg_write: data in/out 262364/161 bytes for SCSI command 0xff-- guessing data in; program syz-executor5 not setting count and/or reply_len properly binder: 7756:7759 ioctl c0106426 20435ff0 returned -22 sg_write: data in/out 262364/161 bytes for SCSI command 0xff-- guessing data in; program syz-executor2 not setting count and/or reply_len properly binder: 7756:7759 ioctl c0106426 20435ff0 returned -22 binder: 7740:7744 ioctl c0106426 20435ff0 returned -22 binder: 7789:7792 ioctl c0106426 20435ff0 returned -22 binder: 7789:7792 ioctl c0106426 20435ff0 returned -22 binder: 7802:7807 ioctl c0106426 20435ff0 returned -22 binder: 7802:7807 ioctl c0106426 20435ff0 returned -22 binder: 7828:7831 ioctl c0106426 20435ff0 returned -22 binder: 7828:7831 ioctl c0106426 20435ff0 returned -22 sg_write: 19 callbacks suppressed sg_write: data in/out 262364/161 bytes for SCSI command 0xff-- guessing data in; program syz-executor2 not setting count and/or reply_len properly sg_write: data in/out 262364/161 bytes for SCSI command 0xff-- guessing data in; program syz-executor5 not setting count and/or reply_len properly binder: 7886:7887 ioctl c0106426 20435ff0 returned -22 sg_write: data in/out 262364/161 bytes for SCSI command 0xff-- guessing data in; program syz-executor2 not setting count and/or reply_len properly sg_write: data in/out 262364/161 bytes for SCSI command 0xff-- guessing data in; program syz-executor5 not setting count and/or reply_len properly binder: 7886:7887 ioctl c0106426 20435ff0 returned -22 sg_write: data in/out 262364/161 bytes for SCSI command 0xff-- guessing data in; program syz-executor2 not setting count and/or reply_len properly sg_write: data in/out 262364/161 bytes for SCSI command 0xff-- guessing data in; program syz-executor3 not setting count and/or reply_len properly binder: 7948:7949 ioctl c0106426 20435ff0 returned -22 binder: 7948:7949 ioctl c0106426 20435ff0 returned -22 sg_write: data in/out 262364/161 bytes for SCSI command 0xff-- guessing data in; program syz-executor3 not setting count and/or reply_len properly binder: 7988:7990 ioctl c0106426 20435ff0 returned -22 sg_write: data in/out 262364/161 bytes for SCSI command 0xff-- guessing data in; program syz-executor2 not setting count and/or reply_len properly binder: 7988:7990 ioctl c0106426 20435ff0 returned -22 sg_write: data in/out 262364/161 bytes for SCSI command 0xff-- guessing data in; program syz-executor2 not setting count and/or reply_len properly netlink: 5 bytes leftover after parsing attributes in process `syz-executor3'. netlink: 5 bytes leftover after parsing attributes in process `syz-executor3'. sg_write: data in/out 262364/161 bytes for SCSI command 0xff-- guessing data in; program syz-executor3 not setting count and/or reply_len properly netlink: 44 bytes leftover after parsing attributes in process `syz-executor5'. netlink: 44 bytes leftover after parsing attributes in process `syz-executor5'. netlink: 44 bytes leftover after parsing attributes in process `syz-executor5'. 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 netlink: 44 bytes leftover after parsing attributes in process `syz-executor2'. netlink: 44 bytes leftover after parsing attributes in process `syz-executor2'. netlink: 44 bytes leftover after parsing attributes in process `syz-executor2'. 9pnet_virtio: no channels available for device ./file0 9pnet_virtio: no channels available for device ./file0 device gre0 entered promiscuous mode 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 netlink: 8 bytes leftover after parsing attributes in process `syz-executor3'. netlink: 8 bytes leftover after parsing attributes in process `syz-executor3'. selinux_nlmsg_perm: 252 callbacks suppressed SELinux: unrecognized netlink message: protocol=4 nlmsg_type=6 sclass=netlink_tcpdiag_socket pig=9495 comm=syz-executor2 SELinux: unrecognized netlink message: protocol=4 nlmsg_type=6 sclass=netlink_tcpdiag_socket pig=9515 comm=syz-executor2 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 netlink: 41 bytes leftover after parsing attributes in process `syz-executor2'. netlink: 41 bytes leftover after parsing attributes in process `syz-executor2'. binder: 9816:9819 ioctl 400454d9 20ff4fd8 returned -22 binder: 9816:9819 ioctl 400454d9 20ff4fd8 returned -22 netlink: 57 bytes leftover after parsing attributes in process `syz-executor2'. netlink: 57 bytes leftover after parsing attributes in process `syz-executor2'. netlink: 41 bytes leftover after parsing attributes in process `syz-executor2'. netlink: 41 bytes leftover after parsing attributes in process `syz-executor2'. netlink: 41 bytes leftover after parsing attributes in process `syz-executor2'. netlink: 41 bytes leftover after parsing attributes in process `syz-executor2'. SELinux: unrecognized netlink message: protocol=4 nlmsg_type=2 sclass=netlink_tcpdiag_socket pig=10173 comm=syz-executor2 binder: 10195:10199 ioctl 4c82 0 returned -22 SELinux: unrecognized netlink message: protocol=4 nlmsg_type=5 sclass=netlink_tcpdiag_socket pig=10191 comm=syz-executor2 binder: 10195:10199 ioctl 4c82 0 returned -22 SELinux: unrecognized netlink message: protocol=4 nlmsg_type=5 sclass=netlink_tcpdiag_socket pig=10217 comm=syz-executor2 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