binder: 18046:18048 ioctl 4b44 20ad2000 returned -22 ================================================================== BUG: KASAN: use-after-free in __read_once_size include/linux/compiler.h:243 [inline] at addr ffff8801cee35528 BUG: KASAN: use-after-free in atomic_read arch/x86/include/asm/atomic.h:26 [inline] at addr ffff8801cee35528 BUG: KASAN: use-after-free in static_key_count include/linux/jump_label.h:174 [inline] at addr ffff8801cee35528 BUG: KASAN: use-after-free in static_key_false include/linux/jump_label.h:184 [inline] at addr ffff8801cee35528 BUG: KASAN: use-after-free in perf_sw_event include/linux/perf_event.h:1039 [inline] at addr ffff8801cee35528 BUG: KASAN: use-after-free in __do_page_fault+0xc80/0xd70 arch/x86/mm/fault.c:1438 at addr ffff8801cee35528 Read of size 8 by task syz-executor2/18052 CPU: 1 PID: 18052 Comm: syz-executor2 Not tainted 4.9.64-gfbb7468 #94 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801cb627d88 ffffffff81d90429 ffff8801da155140 ffff8801cee354d8 ffff8801cee35590 ffffed0039dc6aa5 ffff8801cee35528 ffff8801cb627db0 ffffffff8153a3ac ffffed0039dc6aa5 ffff8801da155140 0000000000000000[ 107.873154] program syz-executor0 is using a deprecated SCSI ioctl, please convert it to SG_IO program syz-executor0 is using a deprecated SCSI ioctl, please convert it to SG_IO 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 ffff8801cee354d8, in cache vm_area_struct size: 184 Allocated: PID = 18052 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 = 18069 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: ffff8801cee35400: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ffff8801cee35480: fb fb fb fc fc fc fc fc fc fc fc fb fb fb fb fb >ffff8801cee35500: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ^ ffff8801cee35580: fb fb fc fc fc fc fc fc fc fc fb fb fb fb fb fb ffff8801cee35600: fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb fb ================================================================== device lo entered promiscuous mode device lo left promiscuous mode device lo entered promiscuous mode FAULT_FLAG_ALLOW_RETRY missing 30 CPU: 0 PID: 18187 Comm: syz-executor7 Tainted: G B 4.9.64-gfbb7468 #94 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801ab1bf8b0 ffffffff81d90429 ffff8801ab1bfb90 0000000000000000 ffff8801cb644a10 ffff8801ab1bfa80 ffff8801cb644900 ffff8801ab1bfaa8 ffffffff8165e3c7 ffffffff83897fe3 ffff8801ab1bfa00 00000001c689f067 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] handle_userfault+0xa37/0x1300 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+0x5b7/0xd70 arch/x86/mm/fault.c:1396 [] do_page_fault+0x27/0x30 arch/x86/mm/fault.c:1460 [] page_fault+0x28/0x30 arch/x86/entry/entry_64.S:1012 [] entry_SYSCALL_64_fastpath+0x23/0xc6 device lo left promiscuous mode PF_BRIDGE: RTM_SETLINK with unknown ifindex binder: 18251:18254 ioctl 5402 20f52000 returned -22 PF_BRIDGE: RTM_SETLINK with unknown ifindex binder: 18251:18254 ioctl 4b36 0 returned -22 binder: 18251:18254 ioctl 5402 20f52000 returned -22 binder: 18251:18265 ioctl 4b36 0 returned -22 binder: 18279:18280 ioctl 8905 20a31ffc returned -22 binder: 18279:18280 ioctl 8915 205d7000 returned -22 binder: 18279:18280 ioctl 8905 20a31ffc returned -22 binder: 18279:18296 ioctl 8915 205d7000 returned -22 Can not set IPV6_FL_F_REFLECT if flowlabel_consistency sysctl is enable IPVS: Creating netns size=2536 id=37 Can not set IPV6_FL_F_REFLECT if flowlabel_consistency sysctl is enable SELinux: unrecognized netlink message: protocol=0 nlmsg_type=59136 sclass=netlink_route_socket pig=18367 comm=syz-executor0 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=59136 sclass=netlink_route_socket pig=18367 comm=syz-executor0 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 netlink: 8 bytes leftover after parsing attributes in process `syz-executor2'. netlink: 8 bytes leftover after parsing attributes in process `syz-executor2'. binder: 18467:18476 ioctl 5423 20000000 returned -22 device gre0 entered promiscuous mode IPVS: Creating netns size=2536 id=38 device lo left promiscuous mode netlink: 1 bytes leftover after parsing attributes in process `syz-executor7'. netlink: 2 bytes leftover after parsing attributes in process `syz-executor1'. device lo entered promiscuous mode device lo left promiscuous mode netlink: 1 bytes leftover after parsing attributes in process `syz-executor7'. netlink: 2 bytes leftover after parsing attributes in process `syz-executor1'. TCP: request_sock_TCP: Possible SYN flooding on port 20030. Sending cookies. Check SNMP counters. 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 binder: 18643:18645 ioctl 40284504 20c32000 returned -22 binder: 18643:18645 ioctl 2401 fffffefffffffffd returned -22 binder: 18643:18645 ioctl 40284504 20c32000 returned -22 binder: 18643:18645 ioctl 2401 fffffefffffffffd returned -22 IPVS: Creating netns size=2536 id=39 TCP: request_sock_TCP: Possible SYN flooding on port 20030. Sending cookies. Check SNMP counters. device gre0 entered promiscuous mode 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 netlink: 1 bytes leftover after parsing attributes in process `syz-executor7'. binder: 18796:18799 ioctl 5402 20052000 returned -22 binder: 18796:18799 ioctl 4b36 0 returned -22 binder: 18796:18799 ioctl 5402 20052000 returned -22 binder: 18796:18804 ioctl 4b36 0 returned -22 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=770 sclass=netlink_route_socket pig=18850 comm=syz-executor6 netlink: 2 bytes leftover after parsing attributes in process `syz-executor7'. binder: 18848:18852 ioctl 5609 208daffa returned -22 Option 'Þ¾š„'' to dns_resolver key: bad/missing value SELinux: unrecognized netlink message: protocol=0 nlmsg_type=770 sclass=netlink_route_socket pig=18850 comm=syz-executor6 device gre0 entered promiscuous mode Option 'Þ¾š„'' to dns_resolver key: bad/missing value binder: 18848:18858 ioctl 5609 208daffa returned -22 netlink: 2 bytes leftover after parsing attributes in process `syz-executor7'. FAULT_FLAG_ALLOW_RETRY missing 30 CPU: 0 PID: 18859 Comm: syz-executor2 Tainted: G B 4.9.64-gfbb7468 #94 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801a9e774e0 ffffffff81d90429 ffff8801a9e777c0 0000000000000000 ffff8801cb644110 ffff8801a9e776b0 ffff8801cb644000 ffff8801a9e776d8 ffffffff8165e3c7 ffff880102408040 ffff8801a9e77630 00000001ccd06067 Call Trace: device lo entered promiscuous mode [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] handle_userfault+0xa37/0x1300 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+0x5b7/0xd70 arch/x86/mm/fault.c:1396 [] do_page_fault+0x27/0x30 arch/x86/mm/fault.c:1460 [] page_fault+0x28/0x30 arch/x86/entry/entry_64.S:1012 [] generic_perform_write+0x1dc/0x500 mm/filemap.c:2731 [] __generic_file_write_iter+0x348/0x570 mm/filemap.c:2866 [] generic_file_write_iter+0x2d5/0x600 mm/filemap.c:2894 [] new_sync_write fs/read_write.c:499 [inline] [] __vfs_write+0x4bf/0x680 fs/read_write.c:512 [] 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+0x23/0xc6 device lo left promiscuous mode FAULT_FLAG_ALLOW_RETRY missing 30 CPU: 1 PID: 18874 Comm: syz-executor2 Tainted: G B 4.9.64-gfbb7468 #94 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801cfb8f4e0 ffffffff81d90429 ffff8801cfb8f7c0 0000000000000000 ffff8801ad164710 ffff8801cfb8f6b0 ffff8801ad164600 ffff8801cfb8f6d8 ffffffff8165e3c7 0000000000000000 ffff8801cfb8f630 00000001cd954067 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] handle_userfault+0xa37/0x1300 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+0x5b7/0xd70 arch/x86/mm/fault.c:1396 [] do_page_fault+0x27/0x30 arch/x86/mm/fault.c:1460 [] page_fault+0x28/0x30 arch/x86/entry/entry_64.S:1012 [] generic_perform_write+0x1dc/0x500 mm/filemap.c:2731 [] __generic_file_write_iter+0x348/0x570 mm/filemap.c:2866 [] generic_file_write_iter+0x2d5/0x600 mm/filemap.c:2894 [] new_sync_write fs/read_write.c:499 [inline] [] __vfs_write+0x4bf/0x680 fs/read_write.c:512 [] 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+0x23/0xc6 binder: 18911:18914 ioctl 4b45 20306000 returned -22 binder: 18911:18914 ioctl 4b45 20306000 returned -22 IPVS: Creating netns size=2536 id=40 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 ?: renamed from tunl0 device eql entered promiscuous mode device gre0 entered promiscuous mode netlink: 5 bytes leftover after parsing attributes in process `syz-executor7'. netlink: 5 bytes leftover after parsing attributes in process `syz-executor7'. binder: 19284:19285 ioctl 5411 20826ffc returned -22 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=770 sclass=netlink_route_socket pig=19442 comm=syz-executor6 Option 'Þ¾š„'' to dns_resolver key: bad/missing value device gre0 entered promiscuous mode device gre0 left promiscuous mode binder: 19438:19480 ioctl 40082404 20000ff8 returned -22 binder: 19438:19480 ioctl 4b48 20000000 returned -22 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=770 sclass=netlink_route_socket pig=19480 comm=syz-executor6 Option 'Þ¾š„'' to dns_resolver key: bad/missing value device gre0 entered promiscuous mode device gre0 left promiscuous mode binder: 19438:19442 ioctl 40082404 20000ff8 returned -22 binder: 19438:19480 ioctl 4b48 20000000 returned -22 device gre0 entered promiscuous mode binder: 19682:19686 ioctl 8903 20af0ffc returned -22 binder: 19682:19686 ioctl 4b6a 20d85f53 returned -22 binder: 19682:19686 ioctl 8903 20af0ffc returned -22 binder: 19682:19686 ioctl 4b6a 20d85f53 returned -22 netlink: 3 bytes leftover after parsing attributes in process `syz-executor4'. binder: 19701:19702 ioctl 8903 20af0ffc returned -22 binder: 19701:19702 ioctl 4b6a 20d85f53 returned -22 binder: 19701:19702 ioctl 8903 20af0ffc returned -22 binder: 19701:19702 ioctl 4b6a 20d85f53 returned -22 netlink: 3 bytes leftover after parsing attributes in process `syz-executor4'. SELinux: unrecognized netlink message: protocol=0 nlmsg_type=59136 sclass=netlink_route_socket pig=19763 comm=syz-executor2 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=59136 sclass=netlink_route_socket pig=19763 comm=syz-executor2 binder: 19799:19801 ioctl 5402 20f52000 returned -22 binder: 19799:19801 ioctl 4b36 0 returned -22 binder: 19799:19822 ioctl 5402 20f52000 returned -22 binder: 19799:19822 ioctl 4b36 0 returned -22 netlink: 3 bytes leftover after parsing attributes in process `syz-executor6'. device lo entered promiscuous mode netlink: 3 bytes leftover after parsing attributes in process `syz-executor1'. netlink: 3 bytes leftover after parsing attributes in process `syz-executor1'. nla_parse: 3 callbacks suppressed netlink: 5 bytes leftover after parsing attributes in process `syz-executor4'. keychord: Insufficient bytes present for keycount 42 keychord: Insufficient bytes present for keycount 42 device gre0 entered promiscuous mode netlink: 5 bytes leftover after parsing attributes in process `syz-executor4'. netlink: 13 bytes leftover after parsing attributes in process `syz-executor6'. netlink: 3 bytes leftover after parsing attributes in process `syz-executor3'. netlink: 3 bytes leftover after parsing attributes in process `syz-executor3'. netlink: 13 bytes leftover after parsing attributes in process `syz-executor6'. netlink: 4 bytes leftover after parsing attributes in process `syz-executor0'. netlink: 4 bytes leftover after parsing attributes in process `syz-executor0'.