kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory accessgeneral protection fault: 0000 [#1] PREEMPT SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 0 PID: 3908 Comm: syzkaller162258 Not tainted 4.4.107-g610c835 #4 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8800b30d2f80 task.stack: ffff8800b3000000 RIP: 0010:[] [] sg_remove_scat.isra.17+0x17b/0x2d0 drivers/scsi/sg.c:1959 RSP: 0018:ffff8800b30079e0 EFLAGS: 00010206 RAX: 1ffff1001663944d RBX: ffff8800b31ca258 RCX: 0000000000000003 RDX: 0000000000000018 RSI: 0000000000000000 RDI: ffff8800b7f2b91c RBP: ffff8800b3007a30 R08: 0000000000000000 R09: 0000000000000001 R10: 0000000000000000 R11: 1ffff10016600f16 R12: 0000000000000003 R13: 0000000000000018 R14: 0000000000000000 R15: dffffc0000000000 FS: 0000000000000000(0000) GS:ffff8801db200000(0063) knlGS:00000000f7793b40 CS: 0010 DS: 002b ES: 002b CR0: 0000000080050033 CR2: 0000000020cb8fd0 CR3: 00000000b310f000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffff8800b31ca270 ffffed001663944b ffffed001663944e ffff8800b31ca268 ffff8800b7f2b900 ffff8800b31ca240 0000000000000000 0000000000000000 0000000000000000 ffff8800b31ca338 ffff8800b3007a70 ffffffff825b90b5 Call Trace: [] sg_finish_rem_req+0x2b5/0x340 drivers/scsi/sg.c:1846 [] sg_read+0xa21/0x1490 drivers/scsi/sg.c:538 [] do_loop_readv_writev+0x141/0x1e0 fs/read_write.c:680 [] compat_do_readv_writev+0x5df/0x6e0 fs/read_write.c:984 [] compat_readv+0xd9/0x140 fs/read_write.c:1013 [] C_SYSC_readv fs/read_write.c:1033 [inline] [] compat_SyS_readv+0xd8/0x1b0 fs/read_write.c:1022 [] do_syscall_32_irqs_on arch/x86/entry/common.c:390 [inline] [] do_fast_syscall_32+0x314/0x890 arch/x86/entry/common.c:457 [] sysenter_flags_fixed+0xd/0x17 Code: 45 b8 eb 3e e8 a7 4e da fe 48 8b 45 c8 48 c1 e8 03 42 80 3c 38 00 0f 85 3a 01 00 00 4c 8b 73 10 4b 8d 14 2e 48 89 d1 48 c1 e9 03 <42> 80 3c 39 00 0f 85 0b 01 00 00 48 8b 12 49 83 c5 08 48 85 d2 RIP [] sg_remove_scat.isra.17+0x17b/0x2d0 drivers/scsi/sg.c:1959 RSP ---[ end trace 3ebde35bfbd051bb ]--- Kernel panic - not syncing: Fatal exception Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: disabled Rebooting in 86400 seconds..