================================================================== BUG: KASAN: wild-memory-access on address ffe7087452b03000 Read of size 4060 by task syz-executor6/5479 CPU: 1 PID: 5479 Comm: syz-executor6 Not tainted 4.9.52-g9b2b081 #55 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801c9027628 ffffffff81d93149 ffe7087452b03000 0000000000000fdc 0000000000000000 ffff8801c8f90ea0 ffe7087452b03000 ffff8801c90276b0 ffffffff8153d08f 0000000000000000 0000000000000000 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 [] kernel_readv fs/splice.c:363 [inline] [] default_file_splice_read+0x43f/0x7a0 fs/splice.c:435 [] do_splice_to+0x10a/0x160 fs/splice.c:899 [] do_splice fs/splice.c:1192 [inline] [] SYSC_splice fs/splice.c:1416 [inline] [] SyS_splice+0xf5f/0x1520 fs/splice.c:1399 [] entry_SYSCALL_64_fastpath+0x23/0xc6 ================================================================== sg_write: data in/out 34319/34 bytes for SCSI command 0xfc-- guessing data in; program syz-executor7 not setting count and/or reply_len properly FAULT_FLAG_ALLOW_RETRY missing 30 CPU: 1 PID: 5500 Comm: syz-executor4 Tainted: G B 4.9.52-g9b2b081 #55 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801d62ff960 ffffffff81d93149 ffff8801d62ffc40[ 57.324542] program syz-executor6 is using a deprecated SCSI ioctl, please convert it to SG_IO 0000000000000000 ffff8801aa991010 ffff8801d62ffb30 ffff8801aa990f00 ffff8801d62ffb58 ffffffff81660dc8 ffff8801d62ffab0[ 57.345939] program syz-executor6 is using a deprecated SCSI ioctl, please convert it to SG_IO 0000000000000000 00000001d854b067 [] __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 program syz-executor6 is using a deprecated SCSI ioctl, please convert it to SG_IO program syz-executor6 is using a deprecated SCSI ioctl, please convert it to SG_IO [] 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 [] key_get_type_from_user.constprop.10+0x24/0xe0 security/keys/keyctl.c:37 [] SYSC_request_key security/keys/keyctl.c:171 [inline] [] SyS_request_key+0x89/0x2d0 security/keys/keyctl.c:158 [] entry_SYSCALL_64_fastpath+0x23/0xc6 sd 0:0:1:0: ioctl_internal_command: ILLEGAL REQUEST asc=0x20 ascq=0x0 sd 0:0:1:0: ioctl_internal_command: ILLEGAL REQUEST asc=0x20 ascq=0x0 sd 0:0:1:0: ioctl_internal_command: ILLEGAL REQUEST asc=0x20 ascq=0x0 sd 0:0:1:0: ioctl_internal_command: ILLEGAL REQUEST asc=0x20 ascq=0x0 FAULT_FLAG_ALLOW_RETRY missing 30 CPU: 1 PID: 5564 Comm: syz-executor4 Tainted: G B 4.9.52-g9b2b081 #55 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801cefe7960 ffffffff81d93149 ffff8801cefe7c40 0000000000000000 ffff8801aa991490 ffff8801cefe7b30 ffff8801aa991380 ffff8801cefe7b58 ffffffff81660dc8 ffff8801cefe7ab0 0000000000000000 00000001d854b067 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 [] key_get_type_from_user.constprop.10+0x24/0xe0 security/keys/keyctl.c:37 [] SYSC_request_key security/keys/keyctl.c:171 [inline] [] SyS_request_key+0x89/0x2d0 security/keys/keyctl.c:158 [] entry_SYSCALL_64_fastpath+0x23/0xc6 binder: 5605:5611 ioctl 8018457f 203fff24 returned -22 device gre0 entered promiscuous mode 9pnet_virtio: no channels available for device ./file0 binder: 5605:5627 ioctl 8018457f 203fff24 returned -22 9pnet_virtio: no channels available for device ./file0 binder: 5635:5643 ioctl 4b3b 81 returned -22 binder: 5635:5659 ioctl 4b3b 81 returned -22 sg_write: data in/out 452821891/51 bytes for SCSI command 0x8f-- guessing data in; program syz-executor0 not setting count and/or reply_len properly device syz1 entered promiscuous mode SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=5713 comm=syz-executor5 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=64285 sclass=netlink_route_socket pig=5725 comm=syz-executor4 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=64285 sclass=netlink_route_socket pig=5729 comm=syz-executor4 devpts: called with bogus options devpts: called with bogus options device gre0 entered promiscuous mode device gre0 entered promiscuous mode device syz1 left promiscuous mode device syz1 entered promiscuous mode device syz1 left promiscuous mode binder: 5860:5862 ioctl 40a85321 20fe5f50 returned -22 binder: 5860:5873 ioctl 40a85321 20fe5f50 returned -22 device syz1 entered promiscuous mode SELinux: unrecognized netlink message: protocol=4 nlmsg_type=770 sclass=netlink_tcpdiag_socket pig=5901 comm=syz-executor3 sg_write: data in/out 93/34 bytes for SCSI command 0xfc-- guessing data in; program syz-executor7 not setting count and/or reply_len properly IPVS: Creating netns size=2536 id=12 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: 6165:6169 ioctl 5473 20777ff8 returned -22 binder: 6165:6169 ioctl 5473 20777ff8 returned -22 IPVS: Creating netns size=2536 id=13 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 9pnet_virtio: no channels available for device ./file0 nla_parse: 27 callbacks suppressed netlink: 1 bytes leftover after parsing attributes in process `syz-executor1'. netlink: 1 bytes leftover after parsing attributes in process `syz-executor1'. 9pnet_virtio: no channels available for device ./file0 device syz5 entered promiscuous mode pktgen: kernel_thread() failed for cpu 0 device syz5 left promiscuous mode 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_nlmsg_perm: 3 callbacks suppressed SELinux: unrecognized netlink message: protocol=0 nlmsg_type=56343 sclass=netlink_route_socket pig=6405 comm=syz-executor6 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=56343 sclass=netlink_route_socket pig=6407 comm=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 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-executor3'. 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-executor3'. binder: 6464:6466 ioctl 8910 20000ff0 returned -22 netlink: 13 bytes leftover after parsing attributes in process `syz-executor4'. netlink: 13 bytes leftover after parsing attributes in process `syz-executor4'. netlink: 11 bytes leftover after parsing attributes in process `syz-executor7'. netlink: 11 bytes leftover after parsing attributes in process `syz-executor7'. device syz6 entered promiscuous mode device syz6 left promiscuous mode device syz6 entered promiscuous mode binder: 6770:6773 ioctl c0106401 20caa000 returned -22 binder: 6776:6784 ioctl 5404 207dcfec returned -22 binder: 6770:6773 ioctl c0106401 20caa000 returned -22 netlink: 1 bytes leftover after parsing attributes in process `syz-executor1'. netlink: 1 bytes leftover after parsing attributes in process `syz-executor1'. binder: 6776:6784 ioctl 5404 207dcfec returned -22 FAULT_FLAG_ALLOW_RETRY missing 30 CPU: 1 PID: 6881 Comm: syz-executor1 Tainted: G B 4.9.52-g9b2b081 #55 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801ac77f740 ffffffff81d93149 ffff8801ac77fa20 0000000000000000 ffff8801aa990590 ffff8801ac77f910 ffff8801aa990480 ffff8801ac77f938 ffffffff81660dc8 ffff8801ac77f890 ffff8801ac77f810 00000001d8c3c067 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 [] vfs_ioctl fs/ioctl.c:43 [inline] [] do_vfs_ioctl+0x1aa/0x10c0 fs/ioctl.c:679 [] SYSC_ioctl fs/ioctl.c:694 [inline] [] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:685 [] entry_SYSCALL_64_fastpath+0x23/0xc6 FAULT_FLAG_ALLOW_RETRY missing 30 CPU: 1 PID: 6864 Comm: syz-executor1 Tainted: G B 4.9.52-g9b2b081 #55 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=1023 sclass=netlink_route_socket pig=6920 comm=syz-executor3 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=1023 sclass=netlink_route_socket pig=6921 comm=syz-executor3 ffff8801a5db78e0 ffffffff81d93149 ffff8801a5db7bc0 0000000000000000 ffff8801aa990590 ffff8801a5db7ab0 ffff8801aa990480 ffff8801a5db7ad8 ffffffff81660dc8 ffff8801d0b29800 0000000000000000 0000000000000000 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 [] do_syscall_64+0x197/0x490 arch/x86/entry/common.c:280 [] entry_SYSCALL64_slow_path+0x25/0x25 IPv6: NLM_F_REPLACE set, but no existing node found! qtaguid: iface_stat: create(lo): no inet dev qtaguid: iface_stat: create6(lo): no inet dev IPv6: ADDRCONF(NETDEV_CHANGE): lo: link becomes ready qtaguid: iface_stat: create6(lo): no inet dev SELinux: unrecognized netlink message: protocol=0 nlmsg_type=65535 sclass=netlink_route_socket pig=6953 comm=syz-executor5 SELinux: unrecognized netlink message: protocol=6 nlmsg_type=55545 sclass=netlink_xfrm_socket pig=6982 comm=syz-executor1 IPv6: ADDRCONF(NETDEV_CHANGE): lo: link becomes ready qtaguid: iface_stat: create6(lo): no inet dev device syz3 entered promiscuous mode IPv6: NLM_F_REPLACE set, but no existing node found! device syz3 left promiscuous mode binder: 7015:7021 ioctl 4b6a 20df7fb3 returned -22 binder: 7015:7021 ioctl 4b6a 20df7fb3 returned -22 device gre0 entered promiscuous mode IPv6: NLM_F_CREATE should be specified when creating new route IPv6: NLM_F_REPLACE set, but no existing node found! IPv6: NLM_F_REPLACE set, but no existing node found! device gre0 entered promiscuous mode sock: process `syz-executor5' is using obsolete setsockopt SO_BSDCOMPAT binder: 7399:7402 ioctl 4b3b 1 returned -22 binder: 7399:7402 ioctl 4b3b 1 returned -22 device lo entered promiscuous mode tc_dump_action: action bad kind tc_dump_action: action bad kind device gre0 entered promiscuous mode IPVS: Creating netns size=2536 id=14 binder: 7541:7549 ioctl c0286404 20fb5000 returned -22 binder: 7541:7571 ioctl c0286404 20fb5000 returned -22 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=27 sclass=netlink_route_socket pig=7582 comm=syz-executor6 loop_reread_partitions: partition scan of loop0 (t?`JzP[ p>TK6C="L l!V #F-') failed (rc=-13) 9pnet_virtio: no channels available for device ./file0 device gre0 entered promiscuous mode nla_parse: 14 callbacks suppressed netlink: 6 bytes leftover after parsing attributes in process `syz-executor5'. 9pnet_virtio: no channels available for device ./file0 netlink: 6 bytes leftover after parsing attributes in process `syz-executor5'. netlink: 1 bytes leftover after parsing attributes in process `syz-executor2'. netlink: 1 bytes leftover after parsing attributes in process `syz-executor2'. netlink: 5 bytes leftover after parsing attributes in process `syz-executor0'. netlink: 5 bytes leftover after parsing attributes in process `syz-executor0'. TCP: request_sock_TCP: Possible SYN flooding on port 20013. Sending cookies. Check SNMP counters. TCP: request_sock_TCP: Possible SYN flooding on port 20013. Sending cookies. Check SNMP counters. FAULT_FLAG_ALLOW_RETRY missing 30 CPU: 0 PID: 7813 Comm: syz-executor4 Tainted: G B 4.9.52-g9b2b081 #55 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 program syz-executor6 is using a deprecated SCSI ioctl, please convert it to SG_IO ffff8801c9d8f9a0 ffffffff81d93149 ffff8801c9d8fc80 0000000000000000 ffff8801ab035190 ffff8801c9d8fb70 ffff8801ab035080 ffff8801c9d8fb98 ffffffff81660dc8 ffff8801c9d8faf0 ffff8801c9d8fbb8 00000001cebac067 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 sd 0:0:1:0: ioctl_internal_command: ILLEGAL REQUEST asc=0x20 ascq=0x0 device syz7 entered promiscuous mode device syz7 left promiscuous mode FAULT_FLAG_ALLOW_RETRY missing 30 CPU: 0 PID: 7813 Comm: syz-executor4 Tainted: G B 4.9.52-g9b2b081 #55 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801c9d8f930 ffffffff81d93149 ffff8801c9d8fc10 0000000000000000 ffff8801ab035310[ 66.639165] program syz-executor6 is using a deprecated SCSI ioctl, please convert it to SG_IO sd 0:0:1:0: ioctl_internal_command: ILLEGAL REQUEST asc=0x20 ascq=0x0 ffff8801c9d8fb00 ffff8801ab035200 ffff8801c9d8fb28 ffffffff81660dc8 ffff8801c9d8fa80 ffffffff8418567c 00000001cebac067 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 device syz7 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