program syz-executor6 not setting count and/or reply_len properly binder: 9015:9019 ioctl 80404532 200f2f20 returned -22 ================================================================== BUG: KASAN: wild-memory-access on address ffe7087335200000 Read of size 136 by task syz-executor6/9064 CPU: 0 PID: 9064 Comm: syz-executor6 Not tainted 4.9.52-g9b2b081 #55 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801d6c779e8 ffffffff81d93149 ffe7087335200000 0000000000000088 0000000000000000 ffff8801a95953c0 ffe7087335200000 ffff8801d6c77a70 ffffffff8153d08f 0000000000000000 0000000000000001 ffffffff826648db Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] kasan_report_error mm/kasan/report.c:284 [inline] [] kasan_report.part.1+0x40f/0x500 mm/kasan/report.c:309 [] kasan_report+0x20/0x30 mm/kasan/report.c:296 [] check_memory_region_inline mm/kasan/kasan.c:308 [inline] [] check_memory_region+0x137/0x190 mm/kasan/kasan.c:315 [] kasan_check_read+0x11/0x20 mm/kasan/kasan.c:320 [] __copy_to_user arch/x86/include/asm/uaccess_64.h:182 [inline] [] sg_read_oxfer drivers/scsi/sg.c:1978 [inline] [] sg_read+0x124b/0x1400 drivers/scsi/sg.c:520 [] 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+0x23/0xc6 ================================================================== SELinux: unrecognized netlink message: protocol=9 nlmsg_type=770 sclass=netlink_audit_socket pig=9069 comm=syz-executor5 binder: 9218:9230 ioctl 5204 20375000 returned -22 binder: 9218:9237 ioctl 5204 20375000 returned -22 nla_parse: 5 callbacks suppressed netlink: 4 bytes leftover after parsing attributes in process `syz-executor2'. netlink: 4 bytes leftover after parsing attributes in process `syz-executor2'. netlink: 6 bytes leftover after parsing attributes in process `::'. netlink: 13 bytes leftover after parsing attributes in process `syz-executor2'. netlink: 13 bytes leftover after parsing attributes in process `syz-executor2'. binder: 9394:9405 ioctl 5422 0 returned -22 device lo left promiscuous mode binder: 9394:9412 ioctl 5422 0 returned -22 device lo entered promiscuous mode device lo left promiscuous mode netlink: 3 bytes leftover after parsing attributes in process `syz-executor6'. SELinux: unrecognized netlink message: protocol=0 nlmsg_type=63196 sclass=netlink_route_socket pig=9554 comm=syz-executor4 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=63196 sclass=netlink_route_socket pig=9554 comm=syz-executor4 FAULT_FLAG_ALLOW_RETRY missing 30 FAULT_FLAG_ALLOW_RETRY missing 30 CPU: 1 PID: 9577 Comm: syz-executor5 Tainted: G B 4.9.52-g9b2b081 #55 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801cec77780 ffffffff81d93149 ffff8801cec77a60 0000000000000000 ffff8801c7d05010 ffff8801cec77950 ffff8801c7d04f00 ffff8801cec77978 ffffffff81660dc8 ffff8801cec778d0 0000000000000000 00000001cacbf067 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] handle_userfault+0xa48/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+0x4eb/0xbd0 arch/x86/mm/fault.c:1397 [] do_page_fault+0x27/0x30 arch/x86/mm/fault.c:1460 [] page_fault+0x28/0x30 arch/x86/entry/entry_64.S:1012 [] SYSC_select fs/select.c:652 [inline] [] SyS_select+0x158/0x1e0 fs/select.c:634 [] entry_SYSCALL_64_fastpath+0x23/0xc6 FAULT_FLAG_ALLOW_RETRY missing 30 CPU: 1 PID: 9550 Comm: syz-executor5 Tainted: G B 4.9.52-g9b2b081 #55 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801d09e79a0 ffffffff81d93149 ffff8801d09e7c80 0000000000000000 ffff8801c7d05010 ffff8801d09e7b70 ffff8801c7d04f00 ffff8801d09e7b98 ffffffff81660dc8 ffff8801d09e7af0 ffff8801a76407f8 00000001cacbf067 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] handle_userfault+0xa48/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+0x4eb/0xbd0 arch/x86/mm/fault.c:1397 [] 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 IPVS: Creating netns size=2536 id=21 binder: 9618:9619 ioctl 4b44 20001ff8 returned -22 binder: 9618:9619 ioctl 4b44 20001ff8 returned -22 binder: 9641:9644 ioctl 2403 7fff returned -22 netlink: 4 bytes leftover after parsing attributes in process `syz-executor3'. binder: 9641:9647 ioctl 2403 7fff returned -22 netlink: 4 bytes leftover after parsing attributes in process `syz-executor3'. CPU: 0 PID: 9567 Comm: syz-executor5 Tainted: G B 4.9.52-g9b2b081 #55 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801d5427960 ffffffff81d93149 ffff8801d5427c40 0000000000000000 ffff8801c7d05010 ffff8801d5427b30 ffff8801c7d04f00 ffff8801d5427b58 ffffffff81660dc8 ffff8801d5427ab0 0000000000000000 00000001cacbf067 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] handle_userfault+0xa48/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+0x4eb/0xbd0 arch/x86/mm/fault.c:1397 [] do_page_fault+0x27/0x30 arch/x86/mm/fault.c:1460 [] page_fault+0x28/0x30 arch/x86/entry/entry_64.S:1012 [] SyS_rt_sigqueueinfo+0x24/0x30 kernel/signal.c:2967 [] entry_SYSCALL_64_fastpath+0x23/0xc6 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 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) binder: 9665:9671 ioctl 40605346 20000fa4 returned -22 pktgen: Initialization failed for all threads SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=9690 comm=syz-executor4 binder: 9665:9671 ioctl 40605346 20000fa4 returned -22 devpts: called with bogus options devpts: called with bogus options 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 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=9727 comm=syz-executor5 netlink: 11 bytes leftover after parsing attributes in process `syz-executor3'. binder_alloc: binder_alloc_mmap_handler: 9721 20000000-20400000 already mapped failed -16 netlink: 1 bytes leftover after parsing attributes in process `syz-executor1'. device lo entered promiscuous mode 9pnet_virtio: no channels available for device ./file0 9pnet_virtio: no channels available for device ./file0 9pnet_virtio: no channels available for device ./file0 9pnet_virtio: no channels available for device ./file0 device syz5 entered promiscuous mode device syz5 left promiscuous mode device syz5 entered promiscuous mode loop_reread_partitions: partition scan of loop5 () failed (rc=-13) SELinux: unrecognized netlink message: protocol=0 nlmsg_type=10 sclass=netlink_route_socket pig=10183 comm=syz-executor5 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=10 sclass=netlink_route_socket pig=10195 comm=syz-executor5 IPVS: set_ctl: invalid protocol: 31912 1.136.255.255:39483 F IPVS: set_ctl: invalid protocol: 31912 1.136.255.255:39483 F device lo entered promiscuous mode SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=10381 comm=syz-executor0 IPv6: ADDRCONF(NETDEV_CHANGE): lo: link becomes ready A link change request failed with some changes committed already. Interface lo may have been left with an inconsistent configuration, please check. IPv6: ADDRCONF(NETDEV_CHANGE): lo: link becomes ready A link change request failed with some changes committed already. Interface lo may have been left with an inconsistent configuration, please check. binder: 10416:10417 ioctl 4b3b 81 returned -22 binder: 10416:10443 ioctl 4b3b 81 returned -22