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: 3678 Comm: syzkaller403266 Not tainted 4.9.89-ge34e318 #64 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801c2361800 task.stack: ffff8801bed48000 RIP: 0010:[] [] sg_remove_scat.isra.19+0x17b/0x2d0 drivers/scsi/sg.c:1941 RSP: 0018:ffff8801bed4fad0 EFLAGS: 00010202 RAX: 1ffff1003a82f44d RBX: ffff8801d417a258 RCX: 0000000000000002 RDX: 0000000000000010 RSI: 0000000000000000 RDI: ffff8801d417801c RBP: ffff8801bed4fb20 R08: 0000000000000000 R09: ffffed003a798191 R10: 0000000000000005 R11: ffffed003a798190 R12: 0000000000000002 R13: 0000000000000010 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007f5bf8beb700(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000561771903460 CR3: 00000001c55ac000 CR4: 0000000000160670 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffff8801d417a270 ffffed003a82f44b ffffed003a82f44e ffff8801d417a268 ffff8801d4178000 ffff8801d417a240 0000000000000000 0000000000000000 0000000000000000 ffff8801d417a338 ffff8801bed4fb60 ffffffff826678a6 Call Trace: [] sg_finish_rem_req+0x2a6/0x320 drivers/scsi/sg.c:1829 [] sg_read+0xa22/0x1470 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 97 1b 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:1941 RSP ---[ end trace 80749ec2701d6a4d ]--- Kernel panic - not syncing: Fatal exception Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: disabled Rebooting in 86400 seconds..