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: Buffer I/O error on dev loop0, logical block 640, lost async page write Buffer I/O error on dev loop0, logical block 641, lost async page write Buffer I/O error on dev loop0, logical block 642, lost async page write Buffer I/O error on dev loop0, logical block 643, lost async page write Buffer I/O error on dev loop0, logical block 644, lost async page write Buffer I/O error on dev loop0, logical block 645, lost async page write Buffer I/O error on dev loop0, logical block 646, lost async page write Buffer I/O error on dev loop0, logical block 647, lost async page write Buffer I/O error on dev loop0, logical block 648, lost async page write Buffer I/O error on dev loop0, logical block 649, lost async page write CPU: 1 PID: 8583 Comm: syz-executor1 Not tainted 4.9.87-g3a3a084 #56 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801b4f1c800 task.stack: ffff8801bb380000 RIP: 0010:[] [] sg_remove_scat.isra.19+0x17b/0x2d0 drivers/scsi/sg.c:1939 RSP: 0018:ffff8801bb387ad0 EFLAGS: 00010202 RAX: 1ffff100393ee02d RBX: ffff8801c9f70158 RCX: 0000000000000001 RDX: 0000000000000008 RSI: ffffc90001bda000 RDI: ffff8801cfdacff4 RBP: ffff8801bb387b20 R08: ffffed003a0d97f0 R09: ffff8801d06cbf60 R10: 0000000000000005 R11: ffffed003a0d97f0 R12: 0000000000000001 R13: 0000000000000008 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007f600b312700(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f33a8170db8 CR3: 00000001b5df4000 CR4: 0000000000160670 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffff8801c9f70170 ffffed00393ee02b ffffed00393ee02e ffff8801c9f70168 ffff8801cfdacfd8 ffff8801c9f70140 0000000000000000 0000000000000000 0000000000000000 ffff8801c9f70238 ffff8801bb387b60 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 d1b53512131051ab ]---