IPVS: Creating netns size=2536 id=1 sg_write: data in/out 36090/16 bytes for SCSI command 0x67-- guessing data in; program syzkaller974908 not setting count and/or reply_len properly ================================================================== BUG: KASAN: wild-memory-access in __copy_to_user arch/x86/include/asm/uaccess_64.h:182 [inline] BUG: KASAN: wild-memory-access in sg_read_oxfer drivers/scsi/sg.c:1978 [inline] BUG: KASAN: wild-memory-access in sg_read+0x1296/0x1440 drivers/scsi/sg.c:520 Read of size 26 at addr ffe708746dee7000 by task syzkaller974908/3346 CPU: 1 PID: 3346 Comm: syzkaller974908 Not tainted 4.9.70-gc14c7b3 #110 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801c8917a38 ffffffff81d90c49 ffe708746dee7000 000000000000001a 0000000000000000 ffff8801da35cc60 ffff8801c9388140 ffff8801c8917a80 ffffffff8153aafe ffffffff82662d46 0000000000000282 486fcccf563ea3fd 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:349 [inline] [] kasan_report+0x15e/0x360 mm/kasan/report.c:408 [] check_memory_region_inline mm/kasan/kasan.c:318 [inline] [] check_memory_region+0x137/0x190 mm/kasan/kasan.c:325 [] kasan_check_read+0x11/0x20 mm/kasan/kasan.c:330 [] __copy_to_user arch/x86/include/asm/uaccess_64.h:182 [inline] [] sg_read_oxfer drivers/scsi/sg.c:1978 [inline] [] sg_read+0x1296/0x1440 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 ================================================================== Kernel panic - not syncing: panic_on_warn set ... CPU: 1 PID: 3346 Comm: syzkaller974908 Tainted: G B 4.9.70-gc14c7b3 #110 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 ffff8801c8917958 ffffffff81d90c49 ffffffff84193817 ffff8801c8917a30 0000000000000000 ffff8801da35cc60 ffff8801c9388140 ffff8801c8917a20 ffffffff8142c481 0000000041b58ab3 ffffffff84187288 ffffffff8142c2c5 Call Trace: [] __dump_stack lib/dump_stack.c:15 [inline] [] dump_stack+0xc1/0x128 lib/dump_stack.c:51 [] panic+0x1bc/0x3a8 kernel/panic.c:179 [] kasan_end_report+0x50/0x50 mm/kasan/report.c:176 [] kasan_report_error mm/kasan/report.c:356 [inline] [] kasan_report+0x167/0x360 mm/kasan/report.c:408 [] check_memory_region_inline mm/kasan/kasan.c:318 [inline] [] check_memory_region+0x137/0x190 mm/kasan/kasan.c:325 [] kasan_check_read+0x11/0x20 mm/kasan/kasan.c:330 [] __copy_to_user arch/x86/include/asm/uaccess_64.h:182 [inline] [] sg_read_oxfer drivers/scsi/sg.c:1978 [inline] [] sg_read+0x1296/0x1440 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 Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: disabled Rebooting in 86400 seconds..