sg_write: data in/out 37283601/4044 bytes for SCSI command 0x89-- guessing data in; program syz-executor7 not setting count and/or reply_len properly sg_write: data in/out 37283601/4044 bytes for SCSI command 0x89-- guessing data in; program syz-executor7 not setting count and/or reply_len properly kasan: CONFIG_KASAN_INLINE enabled[ 48.935896] kasan: CONFIG_KASAN_INLINE enabledkasan: GPF could be caused by NULL-ptr deref or user memory accessgeneral protection fault: 0000 [#1] PREEMPT SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 0 PID: 1773 Comm: kworker/0:3 Not tainted 4.4.125-g38f41ec #63 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events sg_remove_sfp_usercontext task: ffff8800b6841800 task.stack: ffff8800b6880000 RIP: 0010:[] [] sg_finish_rem_req+0x2e/0x320 drivers/scsi/sg.c:1821 RSP: 0018:ffff8800b6887bb0 EFLAGS: 00010806 RAX: dffffc0000000000 RBX: dead000000000100 RCX: ffffffff825bb349 RDX: 1bd5a00000000022 RSI: ffff8800b6842130 RDI: dead000000000110 RBP: ffff8800b6887be0 R08: 0000000000000001 R09: ffffffff85118d60 R10: 0000000000000001 R11: 1ffff10016d10f44 R12: ffff8801d6cfb6e8 R13: ffffed003ad9f448 R14: dffffc0000000000 R15: ffff8801d6cfa100 FS: 0000000000000000(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f20d746c110 CR3: 000000000420c000 CR4: 0000000000160670 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffff8801db21eb40 dead000000000100 ffff8801d6cfb6e8 ffffed003ad9f448 dffffc0000000000 ffff8801d6cfa100 ffff8800b6887c40 ffffffff825be0b2 ffff8801d6cfa240 0000000000000292 ffff8801d6cfa160 ffff8801d4a8a000 Call Trace: [] sg_remove_sfp_usercontext+0xc2/0x220 drivers/scsi/sg.c:2193 [] process_one_work+0x7d7/0x16e0 kernel/workqueue.c:2064 [] worker_thread+0xd9/0xfc0 kernel/workqueue.c:2196 [] kthread+0x268/0x300 kernel/kthread.c:211 [] ret_from_fork+0x55/0x80 arch/x86/entry/entry_64.S:510 Code: e5 41 57 41 56 41 55 41 54 53 48 89 fb 48 83 ec 08 e8 37 63 da fe 48 8d 7b 10 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 de 02 00 00 48 8d bb 00 01 00 00 4c 8b 73 10 RIP [] sg_finish_rem_req+0x2e/0x320 drivers/scsi/sg.c:1821 RSP ---[ end trace 944c51c42ead2251 ]--- Kernel panic - not syncing: Fatal exception kasan: GPF could be caused by NULL-ptr deref or user memory accessgeneral protection fault: 0000 [#2] PREEMPT SMP KASAN Dumping ftrace buffer: (ftrace buffer empty) Modules linked in: CPU: 1 PID: 128 Comm: kworker/1:1 Tainted: G D 4.4.125-g38f41ec #63 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 Workqueue: events sg_remove_sfp_usercontext task: ffff8800bba26000 task.stack: ffff8800bb9e0000 RIP: 0010:[] [] sg_finish_rem_req+0x2e/0x320 drivers/scsi/sg.c:1821 RSP: 0018:ffff8800bb9e7bb0 EFLAGS: 00010806 RAX: dffffc0000000000 RBX: dead000000000100 RCX: ffffffff825bb349 RDX: 1bd5a00000000022 RSI: ffffffff8552bd40 RDI: dead000000000110 RBP: ffff8800bb9e7be0 R08: 0000000000000001 R09: 0000000000000000 R10: 0000000000000001 R11: 1ffff1001773cf44 R12: ffff8800b0ad57e8 R13: ffffed001615a868 R14: dffffc0000000000 R15: ffff8800b0ad4200 FS: 0000000000000000(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f83e0624518 CR3: 00000001b8702000 CR4: 0000000000160670 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Stack: ffff8801db31eb40 dead000000000100 ffff8800b0ad57e8 ffffed001615a868 dffffc0000000000 ffff8800b0ad4200 ffff8800bb9e7c40 ffffffff825be0b2 ffff8800b0ad4340 0000000000000292 ffff8800b0ad4260 ffff8801d4a8a000 Call Trace: [] sg_remove_sfp_usercontext+0xc2/0x220 drivers/scsi/sg.c:2193 [] process_one_work+0x7d7/0x16e0 kernel/workqueue.c:2064 [] worker_thread+0xd9/0xfc0 kernel/workqueue.c:2196 [] kthread+0x268/0x300 kernel/kthread.c:211 [] ret_from_fork+0x55/0x80 arch/x86/entry/entry_64.S:510 Code: e5 41 57 41 56 41 55 41 54 53 48 89 fb 48 83 ec 08 e8 37 63 da fe 48 8d 7b 10 48 b8 00 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 <80> 3c 02 00 0f 85 de 02 00 00 48 8d bb 00 01 00 00 4c 8b 73 10 RIP [] sg_finish_rem_req+0x2e/0x320 drivers/scsi/sg.c:1821 RSP ---[ end trace 944c51c42ead2252 ]--- Shutting down cpus with NMI Dumping ftrace buffer: (ftrace buffer empty) Kernel Offset: disabled Rebooting in 86400 seconds..