syzbot


general protection fault in sg_common_write

Status: auto-closed as invalid on 2019/02/22 14:59
First crash: 2608d, last: 2428d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-44 general protection fault in sg_common_write 1 2451d 2451d 0/2 auto-closed as invalid on 2019/02/22 14:49

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: 5359 Comm: syz-executor0 Not tainted 4.9.91-gbb94f9d #68
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff88017a848000 task.stack: ffff880178710000
RIP: 0010:[<ffffffff82670119>]  [<ffffffff82670119>] sg_start_req drivers/scsi/sg.c:1684 [inline]
RIP: 0010:[<ffffffff82670119>]  [<ffffffff82670119>] sg_common_write.isra.22+0x399/0x18f0 drivers/scsi/sg.c:777
RSP: 0018:ffff8801787178b0  EFLAGS: 00010202
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff8267004e
RDX: 0000000000000002 RSI: ffffc900009bf000 RDI: ffff8801b7d2819a
RBP: ffff880178717a48 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000001 R11: ffffed002f0e2f62 R12: 1ffff1002f0e2f24
R13: ffff880178717b10 R14: ffff8801b7d28000 R15: ffff8801b7d28158
FS:  00007f1020dd0700(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000c42d02d000 CR3: 00000001b8d78000 CR4: 0000000000160670
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Stack:
 0000000000000007 dffffc0000000066 ffff8801b7d281e0 0000000000000010
 ffff8801b7d2819c ffff88017a840000 0000177078717998 0000000000000046
 ffff88017a848000 fffffffe838ae563 ffff8801b7d28000 ffff880100000066
Call Trace:
 [<ffffffff8267507b>] sg_write+0x6bb/0xaf0 drivers/scsi/sg.c:677
 [<ffffffff8156dc83>] __vfs_write+0x103/0x680 fs/read_write.c:507
 [<ffffffff8156f969>] vfs_write+0x189/0x530 fs/read_write.c:557
 [<ffffffff81573429>] SYSC_write fs/read_write.c:604 [inline]
 [<ffffffff81573429>] SyS_write+0xd9/0x1b0 fs/read_write.c:596
 [<ffffffff81006504>] do_syscall_64+0x1a4/0x490 arch/x86/entry/common.c:282
 [<ffffffff838b8493>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb
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 10 15 00 00 48 8b 85 c8 fe ff ff 48 8b 58 10 
RIP  [<ffffffff82670119>] sg_start_req drivers/scsi/sg.c:1684 [inline]
RIP  [<ffffffff82670119>] sg_common_write.isra.22+0x399/0x18f0 drivers/scsi/sg.c:777
 RSP <ffff8801787178b0>
---[ end trace bcd9f1151569bc43 ]---
Kernel panic - not syncing: Fatal exception
Dumping ftrace buffer:
   (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (26):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/03/30 01:18 https://android.googlesource.com/kernel/common android-4.9 bb94f9d8f542 d47f0ed6 .config console log report ci-android-49-kasan-gce
2018/03/07 21:06 https://android.googlesource.com/kernel/common android-4.9 d3a2afb9382e a5e76540 .config console log report ci-android-49-kasan-gce
2018/02/12 07:49 https://android.googlesource.com/kernel/common android-4.9 8a174b4749d3 4e9b726d .config console log report ci-android-49-kasan-gce
2018/01/20 15:52 https://android.googlesource.com/kernel/common android-4.9 e12a9c4458ff fbbdcd92 .config console log report ci-android-49-kasan-gce
2018/01/16 10:39 https://android.googlesource.com/kernel/common android-4.9 8dec074e888a 4198e588 .config console log report ci-android-49-kasan-gce
2018/01/13 16:31 https://android.googlesource.com/kernel/common android-4.9 8e170a589bd4 c9e7aeae .config console log report ci-android-49-kasan-gce-386
2018/01/08 17:55 https://android.googlesource.com/kernel/common android-4.9 5f5e5d4041e3 93b4c6f1 .config console log report ci-android-49-kasan-gce
2017/11/07 06:27 https://android.googlesource.com/kernel/common android-4.9 dfe0a9bcfc3a d49979f7 .config console log report ci-android-49-kasan-gce
2017/11/04 19:03 https://android.googlesource.com/kernel/common android-4.9 dfe0a9bcfc3a d49979f7 .config console log report ci-android-49-kasan-gce
2017/11/01 16:41 https://android.googlesource.com/kernel/common android-4.9 1f46caef2914 e511d9f8 .config console log report ci-android-49-kasan-gce
2017/11/01 05:07 https://android.googlesource.com/kernel/common android-4.9 1f46caef2914 e511d9f8 .config console log report ci-android-49-kasan-gce
2017/10/30 04:19 https://android.googlesource.com/kernel/common android-4.9 3861f0b0f12a 80c74880 .config console log report ci-android-49-kasan-gce
2017/10/29 19:23 https://android.googlesource.com/kernel/common android-4.9 3861f0b0f12a 80c74880 .config console log report ci-android-49-kasan-gce
2017/10/29 11:35 https://android.googlesource.com/kernel/common android-4.9 3861f0b0f12a 80c74880 .config console log report ci-android-49-kasan-gce
2017/10/27 18:16 https://android.googlesource.com/kernel/common android-4.9 c05ec29384df 4a7de22d .config console log report ci-android-49-kasan-gce
2017/10/27 01:43 https://android.googlesource.com/kernel/common android-4.9 28b159744f76 4a7de22d .config console log report ci-android-49-kasan-gce
2017/10/26 08:36 https://android.googlesource.com/kernel/common android-4.9 36733457a30f 83d9c302 .config console log report ci-android-49-kasan-gce
2017/10/26 00:43 https://android.googlesource.com/kernel/common android-4.9 36733457a30f 83d9c302 .config console log report ci-android-49-kasan-gce
2017/10/24 19:05 https://android.googlesource.com/kernel/common android-4.9 27155df9e4e6 9bf63a7b .config console log report ci-android-49-kasan-gce
2017/10/22 11:47 https://android.googlesource.com/kernel/common android-4.9 9eaaf14c7829 ab829b1b .config console log report ci-android-49-kasan-gce
2017/10/12 09:45 https://android.googlesource.com/kernel/common android-4.9 9add7c47ec55 c26ea367 .config console log report ci-android-49-kasan-gce
2017/10/11 10:14 https://android.googlesource.com/kernel/common android-4.9 34e23dee72dd c26ea367 .config console log report ci-android-49-kasan-gce
2017/10/01 09:09 https://android.googlesource.com/kernel/common android-4.9 9b2b08179641 c26ea367 .config console log report ci-android-49-kasan-gce
2018/02/10 00:51 https://android.googlesource.com/kernel/common android-4.9 20c8a0089294 2b6b214c .config console log report ci-android-49-kasan-gce-386
2018/02/05 20:32 https://android.googlesource.com/kernel/common android-4.9 b30d2b5deba5 a1bc9d40 .config console log report ci-android-49-kasan-gce-386
2018/01/23 21:37 https://android.googlesource.com/kernel/common android-4.9 e9dabe69deb8 a5b7566c .config console log report ci-android-49-kasan-gce-386
* Struck through repros no longer work on HEAD.