kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#1] PREEMPT SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 0 PID: 6149 Comm: syz-executor3 Not tainted 4.9.54-g9add7c4 #63 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801c477e000 task.stack: ffff8801cac10000 RIP: 0010:[] [] sg_start_req drivers/scsi/sg.c:1691 [inline] RIP: 0010:[] [] sg_common_write.isra.24+0x382/0x18d0 drivers/scsi/sg.c:777 RSP: 0018:ffff8801cac17800 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffc900018bf000 RDX: 0000000000000002 RSI: ffff8801c8f1819c RDI: ffff8801c8f1819a RBP: ffff8801cac17998 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: ffffed0039582f4c R12: 1ffff10039582f0e R13: ffff8801c8f18000 R14: ffff8801cac17a60 R15: ffff8801c8f18158 FS: 00007f885d81f700(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020005fbc CR3: 00000001ce46e000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffff8801c477e000 ffff8801c8f181e0 000000007ed24329 0000000000000010 ffff8801c8f1819c 0000000000000000 ffff880100001770 000000007ed24329 0000000000000000 ffff8801c8f18000 0000000020049f00 ffff8801fffffffc Call Trace: [] sg_write+0x6a1/0xaf0 drivers/scsi/sg.c:680 [] 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_writev+0x87/0xc0 fs/read_write.c:911 [] do_writev+0xe6/0x250 fs/read_write.c:944 [] SYSC_writev fs/read_write.c:1017 [inline] [] SyS_writev+0x27/0x30 fs/read_write.c:1014 [] entry_SYSCALL_64_fastpath+0x23/0xc6 Code: 42 66 89 85 90 fe ff ff 48 8b 85 c8 fe ff ff 48 83 c0 10 48 89 c2 48 89 85 80 fe ff ff 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 1b 15 00 00 48 8b 85 c8 fe ff ff 48 8b 58 10 RIP [] sg_start_req drivers/scsi/sg.c:1691 [inline] RIP [] sg_common_write.isra.24+0x382/0x18d0 drivers/scsi/sg.c:777 RSP ---[ end trace 52cd1c90cc1e9deb ]--- Kernel panic - not syncing: Fatal exception Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: disabled Rebooting in 86400 seconds..