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: 0 PID: 10579 Comm: syz-executor7 Not tainted 4.9.58-g3861f0b #75 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8801a52b9800 task.stack: ffff8801d5728000 RIP: 0010:[] [] sg_start_req drivers/scsi/sg.c:1691 [inline] RIP: 0010:[] [] sg_common_write.isra.24+0x382/0x18d0 drivers/scsi/sg.c:777 RSP: 0018:ffff8801d572f908 EFLAGS: 00010202 RAX: dffffc0000000000 RBX: 0000000000000008 RCX: ffffc900009c1000 RDX: 0000000000000002 RSI: ffff8801d006819c RDI: ffff8801d006819a RBP: ffff8801d572faa0 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000001 R11: ffffed003aae5f6d R12: 1ffff1003aae5f2f R13: ffff8801d0068000 R14: ffff8801d572fb68 R15: ffff8801d0068158 FS: 00007f5980b76700(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000000a6fa38 CR3: 00000001d593a000 CR4: 00000000001406f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: 0000000000000000 ffff8801d00681e0 0000000000000026 0000000000000010 ffff8801d006819c 0000000000000000 ffff880100001770 0000000000000026 0000000000000000 ffff8801d0068000 ffff8801d572f998 00000000fffffffe Call Trace: [] sg_write+0x6a1/0xaf0 drivers/scsi/sg.c:680 [] __vfs_write+0x103/0x680 fs/read_write.c:510 [] vfs_write+0x170/0x4e0 fs/read_write.c:560 [] SYSC_write fs/read_write.c:607 [inline] [] SyS_write+0xd9/0x1b0 fs/read_write.c:599 [] entry_SYSCALL_64_fastpath+0x23/0xc6 Code: 42 66 89 85 90 fe ff ff 48 8b 85 c8 fe ff ff 48 83 c0 10 48 89 c2 48 89 85 80 fe ff ff 48 b8 00 00 00 00 00 fc ff df 48 c1 ea 03 <80> 3c 02 00 0f 85 1b 15 00 00 48 8b 85 c8 fe ff ff 48 8b 58 10 RIP [] sg_start_req drivers/scsi/sg.c:1691 [inline] RIP [] sg_common_write.isra.24+0x382/0x18d0 drivers/scsi/sg.c:777 RSP ---[ end trace 69b29f0a923a4988 ]--- Kernel panic - not syncing: Fatal exception Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: disabled Rebooting in 86400 seconds..