syzbot


general protection fault in sg_finish_rem_req

Status: auto-closed as invalid on 2019/02/22 14:49
First crash: 2435d, last: 2427d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-44 general protection fault in sg_finish_rem_req 1 2424d 2424d 0/2 auto-closed as invalid on 2019/02/22 15:19

Sample crash report:
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: 25 Comm: kworker/0:1 Not tainted 4.9.90-gdd1e37e #66
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Workqueue: events sg_remove_sfp_usercontext
task: ffff8801d9510000 task.stack: ffff8801d9518000
RIP: 0010:[<ffffffff826691be>]  [<ffffffff826691be>] sg_finish_rem_req+0x2e/0x320 drivers/scsi/sg.c:1811
RSP: 0018:ffff8801d951fb98  EFLAGS: 00010806
RAX: dffffc0000000000 RBX: dead000000000100 RCX: ffffffff826691a9
RDX: 1bd5a00000000022 RSI: 00000000dd8f0a93 RDI: dead000000000110
RBP: ffff8801d951fbc8 R08: 1ffff1003b2a211f R09: 0000000000000001
R10: 0000000000000004 R11: ffff8801d9510000 R12: dffffc0000000000
R13: ffffed0035cda868 R14: ffff8801ae6d4200 R15: dead000000000100
FS:  0000000000000000(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b9bc22000 CR3: 000000000441e000 CR4: 0000000000160670
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Stack:
 ffff8801ae6d4200 ffff8801ae6d57e8 dffffc0000000000 ffffed0035cda868
 ffff8801ae6d4200 dead000000000100 ffff8801d951fc38 ffffffff8266c62a
 ffff8801ae6d4340 ffff8801ae6d4340 0000000000000282 ffff8801ae6d4260
Call Trace:
 [<ffffffff8266c62a>] sg_remove_sfp_usercontext+0xea/0x250 drivers/scsi/sg.c:2183
 [<ffffffff8118b030>] process_one_work+0x7e0/0x1610 kernel/workqueue.c:2092
 [<ffffffff8118bf40>] worker_thread+0xe0/0x10d0 kernel/workqueue.c:2226
 [<ffffffff8119bf4d>] kthread+0x26d/0x300 kernel/kthread.c:211
 [<ffffffff838b865c>] ret_from_fork+0x5c/0x70 arch/x86/entry/entry_64.S:373
Code: e5 41 57 41 56 41 55 41 54 53 48 89 fb 48 83 ec 08 e8 57 13 d0 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  [<ffffffff826691be>] sg_finish_rem_req+0x2e/0x320 drivers/scsi/sg.c:1811
 RSP <ffff8801d951fb98>
---[ end trace e3d605ec31c3d1a6 ]---
Kernel panic - not syncing: Fatal exception
Dumping ftrace buffer:
   (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/03/27 06:02 https://android.googlesource.com/kernel/common android-4.9 dd1e37e64645 0ca7878b .config console log report ci-android-49-kasan-gce
2018/03/26 00:38 https://android.googlesource.com/kernel/common android-4.9 dd1e37e64645 e033c1f1 .config console log report ci-android-49-kasan-gce
2018/03/25 06:05 https://android.googlesource.com/kernel/common android-4.9 f152ce1be2ab 2e9d9054 .config console log report ci-android-49-kasan-gce
2018/03/23 04:55 https://android.googlesource.com/kernel/common android-4.9 f361eb39cdbf 2e9d9054 .config console log report ci-android-49-kasan-gce
2018/03/31 14:24 https://android.googlesource.com/kernel/common android-4.9 cc88c05eca31 8fbce0e4 .config console log report ci-android-49-kasan-gce-386
2018/03/24 14:02 https://android.googlesource.com/kernel/common android-4.9 e34e3186e9e3 2e9d9054 .config console log report ci-android-49-kasan-gce-386
* Struck through repros no longer work on HEAD.