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: 0 PID: 6375 Comm: syz-executor6 Not tainted 4.9.76-gf0f6293 #12 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801d1820000 task.stack: ffff8801d6350000 RIP: 0010:[] [] sg_read_oxfer drivers/scsi/sg.c:1976 [inline] RIP: 0010:[] [] sg_read+0xd0c/0x1440 drivers/scsi/sg.c:520 RSP: 0018:ffff8801d6357bc0 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff826688c3 RDX: 0000000000000000 RSI: ffffc900039d1000 RDI: ffff8801d1e32270 RBP: ffff8801d6357cd0 R08: 0000000000000000 R09: ffffed003a9bfa59 R10: 0000000000000005 R11: ffffed003a9bfa58 R12: 0000000000001000 R13: 0000000000000000 R14: ffff8801d4dfd2a0 R15: ffff8801d1e32240 FS: 00007fcfb2f6f700(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000000071c000 CR3: 00000001d8a4a000 CR4: 0000000000160670 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: 0000000000000ece ffff8801d1d77200 ffff8801d1e32258 ffff8801000000b2 1ffff1003ac6af89 ffff8801d1e32268 00000000000000d6 00000000ffffffff ffff8801d15a7180 1ffff1003ac6af84 0000000020b07000 0000000020b07024 Call Trace: [] __vfs_read+0x103/0x670 fs/read_write.c:452 [] vfs_read+0x11e/0x380 fs/read_write.c:475 [] SYSC_read fs/read_write.c:591 [inline] [] SyS_read+0xd9/0x1b0 fs/read_write.c:584 [] entry_SYSCALL_64_fastpath+0x23/0xe2 Code: 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 8a 06 00 00 48 b8 00 00 00 00 00 fc ff df 49 8b 5f 28 48 89 da 48 c1 ea 03 <80> 3c 02 00 0f 85 df 05 00 00 48 8b 1b 48 85 db 0f 84 51 03 00 RIP [] sg_read_oxfer drivers/scsi/sg.c:1976 [inline] RIP [] sg_read+0xd0c/0x1440 drivers/scsi/sg.c:520 RSP ---[ end trace 7b152c2913ab7869 ]--- device syz3 entered promiscuous mode 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: 6410 Comm: syz-executor6 Tainted: G D 4.9.76-gf0f6293 #12 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801d6763000 task.stack: ffff8801d49c8000 RIP: 0010:[] [] sg_read_oxfer drivers/scsi/sg.c:1976 [inline] RIP: 0010:[] [] sg_read+0xd0c/0x1440 drivers/scsi/sg.c:520 RSP: 0018:ffff8801d49cfbc0 EFLAGS: 00010246 RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff826688c3 RDX: 0000000000000000 RSI: ffffc90003ad3000 RDI: ffff8801b2044370 RBP: ffff8801d49cfcd0 R08: 0000000000000000 R09: ffffed003a4f6eb9 R10: 0000000000000005 R11: ffffed003a4f6eb8 R12: 0000000000001000 R13: 0000000000000000 R14: ffff8801d27b75a0 R15: ffff8801b2044340 FS: 00007fcfb2f2d700(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000020b07000 CR3: 00000001d8a4a000 CR4: 0000000000160670 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: 000000000000003e 0000000100000000 ffff8801b2044358 dffffc00000000b2 00000000ffffffff ffff8801b2044368 00000000000000d6 00000000ffffffff ffff8801d15a7180 1ffff1003a939f84 0000000020b07000 0000000020b07024 Call Trace: [] __vfs_read+0x103/0x670 fs/read_write.c:452 [] vfs_read+0x11e/0x380 fs/read_write.c:475 [] SYSC_read fs/read_write.c:591 [inline] [] SyS_read+0xd9/0x1b0 fs/read_write.c:584 [] entry_SYSCALL_64_fastpath+0x23/0xe2 Code: 00 00 00 00 00 fc ff df 48 c1 ea 03 80 3c 02 00 0f 85 8a 06 00 00 48 b8 00 00 00 00 00 fc ff df 49 8b 5f 28 48 89 da 48 c1 ea 03 <80> 3c 02 00 0f 85 df 05 00 00 48 8b 1b 48 85 db 0f 84 51 03 00 RIP [] sg_read_oxfer drivers/scsi/sg.c:1976 [inline] RIP [] sg_read+0xd0c/0x1440 drivers/scsi/sg.c:520 RSP ---[ end trace 7b152c2913ab786a ]---