sg_write: data in/out 34319/34 bytes for SCSI command 0xfc-- guessing data in; program syz-executor3 not setting count and/or reply_len properly ================================================================== BUG: KASAN: wild-memory-access on address ffe708746d1dd000 Read of size 28 by task syz-executor3/30252 CPU: 1 PID: 30252 Comm: syz-executor3 Not tainted 4.9.52-g9b2b081 #55 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801ac1ef9e8 ffffffff81d93149 ffe708746d1dd000 000000000000001c 0000000000000000 ffff8801d9923660 ffe708746d1dd000 ffff8801ac1efa70 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 ================================================================== binder: 30290:30291 ioctl 8904 209beffc returned -22 sock: process `syz-executor6' is using obsolete setsockopt SO_BSDCOMPAT binder: 30290:30301 ioctl 8904 209beffc returned -22 SELinux: unrecognized netlink message: protocol=0 nlmsg_type=51 sclass=netlink_route_socket pig=30342 comm=syz-executor0 netlink: 13 bytes leftover after parsing attributes in process `syz-executor5'. netlink: 13 bytes leftover after parsing attributes in process `syz-executor5'. SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=30351 comm=syz-executor0 netlink: 1 bytes leftover after parsing attributes in process `syz-executor4'. device gre0 entered promiscuous mode netlink: 1 bytes leftover after parsing attributes in process `syz-executor4'. binder: 30444:30446 ioctl 80605414 20fcc000 returned -22 binder: 30444:30454 ioctl 80605414 20fcc000 returned -22 selinux_nlmsg_perm: 4 callbacks suppressed SELinux: unrecognized netlink message: protocol=0 nlmsg_type=0 sclass=netlink_route_socket pig=30463 comm=syz-executor5