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: 3705 Comm: syzkaller656390 Not tainted 4.9.91-gcc88c05 #69 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801c0bc6000 task.stack: ffff8801c0710000 RIP: 0010:[] [] sg_remove_scat.isra.19+0x17b/0x2d0 drivers/scsi/sg.c:1941 RSP: 0018:ffff8801c0717ad0 EFLAGS: 00010202 RAX: 1ffff1003794f02d RBX: ffff8801bca78158 RCX: 0000000000000002 RDX: 0000000000000010 RSI: 0000000000000000 RDI: ffff8801bca5421c RBP: ffff8801c0717b20 R08: 0000000000000000 R09: ffffed00385afc59 R10: 0000000000000005 R11: ffffed00385afc58 R12: 0000000000000002 R13: 0000000000000010 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007fd2e3ec2700(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd2e3e7fe78 CR3: 00000001c2794000 CR4: 0000000000160670 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffff8801bca78170 ffffed003794f02b ffffed003794f02e ffff8801bca78168 ffff8801bca54200 ffff8801bca78140 0000000000000000 0000000000000000 0000000000000000 ffff8801bca78238 ffff8801c0717b60 ffffffff82669686 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 c7 13 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 kasan: CONFIG_KASAN_INLINE enabled kasan: GPF could be caused by NULL-ptr deref or user memory access general protection fault: 0000 [#2] PREEMPT SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 1 PID: 3704 Comm: syzkaller656390 Tainted: G D 4.9.91-gcc88c05 #69 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801c0deb000 task.stack: ffff8801c0b88000 RIP: 0010:[] [] sg_remove_scat.isra.19+0x17b/0x2d0 drivers/scsi/sg.c:1941 RSP: 0018:ffff8801c0b8fad0 EFLAGS: 00010202 RAX: 1ffff1003855786d RBX: ffff8801c2abc358 RCX: 0000000000000001 RDX: 0000000000000008 RSI: 0000000000000000 RDI: ffff8801bb80001c RBP: ffff8801c0b8fb20 R08: 0000000000000000 R09: ffffed00385afd19 R10: 0000000000000005 R11: ffffed00385afd18 R12: 0000000000000001 R13: 0000000000000008 R14: 0000000000000000 R15: dffffc0000000000 FS: 00007fd2e3ec2700(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fd2e3e7fe78 CR3: 00000001c75f2000 CR4: 0000000000160670 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffff8801c2abc370 ffffed003855786b ffffed003855786e ffff8801c2abc368 ffff8801bb800000 ffff8801c2abc340 0000000000000000 0000000000000000 0000000000000000 ffff8801c2abc438 ffff8801c0b8fb60 ffffffff82669686 Call Trace: [] sg_finish_rem_req+0x2a6/0x320 drivers/scsi/sg.c:1829 [] sg_read+0xa22/0x1470 drivers/scsi/sg.c:526 ---[ end trace 82959de78380eb66 ]---