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: 1 PID: 4101 Comm: syzkaller671152 Not tainted 4.9.87-ga290494 #53 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801d416e000 task.stack: ffff8801d0678000 RIP: 0010:[] [] sg_remove_scat.isra.19+0x17b/0x2d0 drivers/scsi/sg.c:1939 RSP: 0018:ffff8801d067fad0 EFLAGS: 00010206 RAX: 1ffff1003a1fe86d RBX: ffff8801d0ff4358 RCX: 0000000000000003 RDX: 0000000000000018 RSI: 0000000000000000 RDI: ffff8801cfd81b9c RBP: ffff8801d067fb20 R08: 0000000000000000 R09: ffffed0036971719 R10: 0000000000000005 R11: ffffed0036971718 R12: 0000000000000003 R13: 0000000000000018 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007f99899ab700(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020c2bff8 CR3: 00000001d9866000 CR4: 0000000000160670 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffff8801d0ff4370 ffffed003a1fe86b ffffed003a1fe86e ffff8801d0ff4368 ffff8801cfd81b80 ffff8801d0ff4340 0000000000000000 0000000000000000 0000000000000000 ffff8801d0ff4438 ffff8801d067fb60 ffffffff82669695 Call Trace: [] sg_finish_rem_req+0x2b5/0x340 drivers/scsi/sg.c:1825 [] sg_read+0xa16/0x1440 drivers/scsi/sg.c:526 [] __vfs_read+0x103/0x670 fs/read_write.c:449 [] vfs_read+0x11e/0x380 fs/read_write.c:472 [] SYSC_read fs/read_write.c:588 [inline] [] SyS_read+0xd9/0x1b0 fs/read_write.c:581 [] do_syscall_64+0x1a4/0x490 arch/x86/entry/common.c:282 [] entry_SYSCALL_64_after_swapgs+0x5d/0xdb Code: 45 b8 eb 3e e8 27 24 d0 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.19+0x17b/0x2d0 drivers/scsi/sg.c:1939 RSP ---[ end trace 4dd5b24e1fe0bd02 ]--- Kernel panic - not syncing: Fatal exception Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: disabled Rebooting in 86400 seconds..