================================================================== BUG: KASAN: wild-memory-access on address ffe708746f5c9000 Read of size 4060 by task syz-executor1/6789 CPU: 1 PID: 6789 Comm: syz-executor1 Not tainted 4.9.52-g291d968 #56 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801aa27f628 ffffffff81d93149 ffe708746f5c9000 0000000000000fdc 0000000000000000 ffff8801ad07aea0 ffe708746f5c9000 ffff8801aa27f6b0 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 ================================================================== keychord: invalid keycode count 0 keychord: invalid keycode count 0 device gre0 entered promiscuous mode keychord: keycode 29282 out of range device gre0 entered promiscuous mode keychord: keycode 29282 out of range netlink: 29 bytes leftover after parsing attributes in process `syz-executor2'. netlink: 1 bytes leftover after parsing attributes in process `syz-executor2'. netlink: 29 bytes leftover after parsing attributes in process `syz-executor2'. netlink: 1 bytes leftover after parsing attributes in process `syz-executor2'. netlink: 11 bytes leftover after parsing attributes in process `syz-executor3'. netlink: 11 bytes leftover after parsing attributes in process `syz-executor3'. device lo entered promiscuous mode device lo left 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 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=4 sclass=netlink_route_socket pig=7121 comm=syz-executor0 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=4 sclass=netlink_route_socket pig=7140 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 keychord: using input dev AT Translated Set 2 keyboard for fevent keychord: invalid keycode count 0 keychord: Insufficient bytes present for keycount 18 keychord: using input dev AT Translated Set 2 keyboard for fevent keychord: invalid keycode count 0 binder: 7420:7432 ioctl 4b45 20306000 returned -22 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=7430 comm=syz-executor4 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=51 sclass=netlink_route_socket pig=7430 comm=syz-executor4 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=7430 comm=syz-executor4 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=51 sclass=netlink_route_socket pig=7434 comm=syz-executor4 binder: 7420:7451 ioctl 5607 0 returned -22 binder: 7420:7432 ioctl 4b45 20306000 returned -22 binder: 7420:7451 ioctl 5607 0 returned -22 binder: 7530:7557 ioctl 8915 20ff1fe0 returned -22 binder: 7530:7557 ioctl 8915 20ff1fe0 returned -22 device gre0 entered promiscuous mode device syz7 entered promiscuous mode SELinux: unrecognized netlink message: protocol=0 nlmsg_type=257 sclass=netlink_route_socket pig=7648 comm=syz-executor5 binder: 7646:7648 ioctl 40485404 20185000 returned -22 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=257 sclass=netlink_route_socket pig=7648 comm=syz-executor5 binder: 7646:7648 ioctl 40485404 20185000 returned -22 IPVS: length: 24 != 3489684232 IPVS: length: 24 != 3489684232 nla_parse: 9 callbacks suppressed binder: 7845:7853 ioctl 40284504 20002000 returned -22 keychord: invalid keycode count 0 keychord: invalid keycode count 0 binder: 7845:7853 ioctl 40284504 20002000 returned -22 netlink: 4 bytes leftover after parsing attributes in process `syz-executor6'. netlink: 4 bytes leftover after parsing attributes in process `syz-executor6'. device lo entered promiscuous mode FAULT_FLAG_ALLOW_RETRY missing 30 CPU: 0 PID: 7905 Comm: syz-executor5 Tainted: G B 4.9.52-g291d968 #56 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801ac4df6a0 ffffffff81d93149 ffff8801ac4df980 0000000000000000 ffff8801ad39bd90 ffff8801ac4df870 ffff8801ad39bc80 ffff8801ac4df898 ffffffff81660dc8 ffff8801ac4df7f0 00000000000000ac 00000001cd75a067 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 [] inet6_ioctl+0x133/0x1e0 net/ipv6/af_inet6.c:533 [] sock_do_ioctl+0x65/0xb0 net/socket.c:892 [] sock_ioctl+0x2e0/0x3d0 net/socket.c:978 [] 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 device lo entered promiscuous mode device gre0 entered promiscuous mode sock: process `syz-executor5' is using obsolete setsockopt SO_BSDCOMPAT selinux_nlmsg_perm: 2 callbacks suppressed SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=8036 comm=syz-executor4 IPVS: Creating netns size=2536 id=18 netlink: 8 bytes leftover after parsing attributes in process `syz-executor6'. netlink: 8 bytes leftover after parsing attributes in process `syz-executor6'. IPVS: Creating netns size=2536 id=19 PF_BRIDGE: RTM_SETLINK with unknown ifindex device gre0 entered promiscuous mode PF_BRIDGE: RTM_SETLINK with unknown ifindex netlink: 4 bytes leftover after parsing attributes in process `syz-executor2'. netlink: 4 bytes leftover after parsing attributes in process `syz-executor2'. device gre0 entered promiscuous mode program syz-executor1 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 program syz-executor1 is using a deprecated SCSI ioctl, please convert it to SG_IO netlink: 8 bytes leftover after parsing attributes in process `syz-executor0'. sd 0:0:1:0: ioctl_internal_command: ILLEGAL REQUEST asc=0x20 ascq=0x0 netlink: 8 bytes leftover after parsing attributes in process `syz-executor0'. program syz-executor1 is using a deprecated SCSI ioctl, please convert it to SG_IO program syz-executor1 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 sd 0:0:1:0: ioctl_internal_command: ILLEGAL REQUEST asc=0x20 ascq=0x0 device lo entered promiscuous mode netlink: 5 bytes leftover after parsing attributes in process `syz-executor6'. netlink: 5 bytes leftover after parsing attributes in process `syz-executor6'. device lo left promiscuous mode device gre0 entered promiscuous mode binder: 8386:8390 ioctl 8946 20003000 returned -22 binder: 8386:8402 ioctl 8946 20003000 returned -22 FAULT_FLAG_ALLOW_RETRY missing 30 FAULT_FLAG_ALLOW_RETRY missing 30 CPU: 0 PID: 8491 Comm: syz-executor7 Tainted: G B 4.9.52-g291d968 #56 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801ade8f9b0 ffffffff81d93149 ffff8801ade8fc90 0000000000000000 ffff8801acb19910 ffff8801ade8fb80 ffff8801acb19800 ffff8801ade8fba8 ffffffff81660dc8 ffff8801ade8fb00 ffff8801ade8fbe0 00000001c7dde067 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 FAULT_FLAG_ALLOW_RETRY missing 30 CPU: 0 PID: 8475 Comm: syz-executor7 Tainted: G B 4.9.52-g291d968 #56 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801c8dc78c0 ffffffff81d93149 ffff8801c8dc7ba0 0000000000000000 ffff8801acb19910 ffff8801c8dc7a90 ffff8801acb19800 ffff8801c8dc7ab8 ffffffff81660dc8 ffff8801c8dc7a10 ffff8801d984e100 00000001c7dde067 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_fcntl fs/fcntl.c:284 [inline] [] SYSC_fcntl fs/fcntl.c:372 [inline] [] SyS_fcntl+0x81c/0xc70 fs/fcntl.c:357 [] entry_SYSCALL_64_fastpath+0x23/0xc6 binder: 8559:8561 ioctl 8905 20245000 returned -22 binder: 8559:8561 ioctl 5607 0 returned -22 binder: 8559:8561 ioctl 40104593 207edff0 returned -22 binder: 8559:8561 ioctl 4b37 0 returned -22 binder: 8559:8563 ioctl 8905 20245000 returned -22 binder: 8559:8563 ioctl 5607 0 returned -22 binder: 8559:8563 ioctl 40104593 207edff0 returned -22 device gre0 entered promiscuous mode CPU: 1 PID: 8518 Comm: syz-executor7 Tainted: G B 4.9.52-g291d968 #56 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801cec3f780 ffffffff81d93149 ffff8801cec3fa60 0000000000000000 ffff8801acb19910 ffff8801cec3f950 ffff8801acb19800 ffff8801cec3f978 ffffffff81660dc8 ffff8801cec3f8d0 0000000000000000 00000001c7dde067 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 keychord: invalid keycode count 0 keychord: invalid keycode count 0 device lo entered promiscuous mode device syz7 left promiscuous mode binder: 8692:8695 ioctl 80404509 20951fa7 returned -22 binder: 8745:8747 ioctl 80084504 207ba000 returned -22 binder: 8745:8752 ioctl 80084504 207ba000 returned -22 binder: 8692:8709 ioctl 80404509 20951fa7 returned -22 9pnet_virtio: no channels available for device ./file0 sock: sock_set_timeout: `syz-executor0' (pid 8803) tries to set negative timeout 9pnet_virtio: no channels available for device ./file0 binder_alloc: binder_alloc_mmap_handler: 8853 20000000-20400000 already mapped failed -16 IPVS: Creating netns size=2536 id=20 device gre0 entered promiscuous mode devpts: called with bogus options devpts: called with bogus options FAULT_FLAG_ALLOW_RETRY missing 30 CPU: 0 PID: 8942 Comm: syz-executor1 Tainted: G B 4.9.52-g291d968 #56 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801d151f960 ffffffff81d93149 ffff8801d151fc40 0000000000000000 ffff8801ad39a290 ffff8801d151fb30 ffff8801ad39a180 ffff8801d151fb58 ffffffff81660dc8 ffff8801d151fab0 0000000000000000 00000001c8b5d067 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: 8954:8961 ioctl 5424 20603ffc returned -22 binder: 8954:8971 ioctl 5424 20603ffc returned -22 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 nla_parse: 8 callbacks suppressed netlink: 29 bytes leftover after parsing attributes in process `syz-executor6'. netlink: 1 bytes leftover after parsing attributes in process `syz-executor6'. blk_update_request: I/O error, dev loop0, sector 0 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=9024 comm=syz-executor2 netlink: 29 bytes leftover after parsing attributes in process `syz-executor6'. netlink: 1 bytes leftover after parsing attributes in process `syz-executor6'. blk_update_request: I/O error, dev loop0, sector 0 IPVS: Creating netns size=2536 id=21 IPVS: Creating netns size=2536 id=22 binder: 9087:9091 ioctl 4c07 0 returned -22 binder: 9087:9091 ioctl 4b60 205baf8c returned -22 binder: 9087:9091 ioctl 4c07 0 returned -22 binder: 9087:9127 ioctl 4b60 205baf8c returned -22 netlink: 1 bytes leftover after parsing attributes in process `syz-executor4'. netlink: 1 bytes leftover after parsing attributes in process `syz-executor4'. netlink: 13 bytes leftover after parsing attributes in process `syz-executor1'. netlink: 13 bytes leftover after parsing attributes in process `syz-executor1'. device gre0 entered promiscuous mode