syzbot


general protection fault in sg_read

Status: closed as invalid on 2019/01/01 20:10
First crash: 2612d, last: 2427d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-44 general protection fault in sg_read C 11034 2404d 2050d 0/2 public: reported C repro on 2019/04/12 00:00

Sample crash report:
sg_write: data in/out 1969188161/43 bytes for SCSI command 0x79-- guessing data in;
   program syzkaller821304 not setting count and/or reply_len properly
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: 3804 Comm: syzkaller821304 Not tainted 4.9.88-g71df7bb #60
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8801b49a4800 task.stack: ffff8801d7a60000
RIP: 0010:[<ffffffff8266c076>]  [<ffffffff8266c076>] sg_read_oxfer drivers/scsi/sg.c:1966 [inline]
RIP: 0010:[<ffffffff8266c076>]  [<ffffffff8266c076>] sg_read+0xd06/0x1440 drivers/scsi/sg.c:519
RSP: 0018:ffff8801d7a67a50  EFLAGS: 00010246
RAX: dffffc0000000000 RBX: 0000000000000000 RCX: ffffffff8266c03d
RDX: 0000000000000000 RSI: 0000000000010000 RDI: ffff8801d85e4370
RBP: ffff8801d7a67b60 R08: 0000000000000000 R09: ffffed0039a6bfc1
R10: 0000000000000005 R11: ffffed0039a6bfc0 R12: 0000000000001000
R13: 0000000000000000 R14: ffff8801cd35fde0 R15: ffff8801d85e4340
FS:  000000000118e880(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020e94000 CR3: 00000001da3dc000 CR4: 0000000000160670
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Stack:
 ffffffff844de420 0000000000000105 ffff8801d85e4358 ffff880100010000
 0000000000000246 ffff8801d85e4368 0000000000010024 ffffffff83be4b20
 ffff8801cfe6a780 1ffff1003af4cf56 0000000020e94000 0000000020e94024
Call Trace:
 [<ffffffff8156d338>] do_loop_readv_writev.part.17+0xc8/0x2b0 fs/read_write.c:715
 [<ffffffff8157147d>] do_loop_readv_writev fs/read_write.c:879 [inline]
 [<ffffffff8157147d>] do_readv_writev+0x5fd/0x740 fs/read_write.c:873
 [<ffffffff81571644>] vfs_readv+0x84/0xc0 fs/read_write.c:897
 [<ffffffff81571766>] do_readv+0xe6/0x250 fs/read_write.c:923
 [<ffffffff81574c37>] SYSC_readv fs/read_write.c:1010 [inline]
 [<ffffffff81574c37>] SyS_readv+0x27/0x30 fs/read_write.c:1007
 [<ffffffff81006504>] do_syscall_64+0x1a4/0x490 arch/x86/entry/common.c:282
 [<ffffffff838b7a53>] entry_SYSCALL_64_after_swapgs+0x5d/0xdb
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  [<ffffffff8266c076>] sg_read_oxfer drivers/scsi/sg.c:1966 [inline]
RIP  [<ffffffff8266c076>] sg_read+0xd06/0x1440 drivers/scsi/sg.c:519
 RSP <ffff8801d7a67a50>
---[ end trace 75e80ff0823e62af ]---
Kernel panic - not syncing: Fatal exception
Dumping ftrace buffer:
   (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (21823):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/03/20 21:38 https://android.googlesource.com/kernel/common android-4.9 71df7bbae4d8 72c33b66 .config console log report syz C ci-android-49-kasan-gce
2018/03/05 19:53 https://android.googlesource.com/kernel/common android-4.9 b324a701539e bbd5104f .config console log report syz C ci-android-49-kasan-gce
2018/02/23 13:21 https://android.googlesource.com/kernel/common android-4.9 74659dc64c9d 33464158 .config console log report syz C ci-android-49-kasan-gce
2018/01/19 06:41 https://android.googlesource.com/kernel/common android-4.9 87883134eb71 161c1d64 .config console log report syz C ci-android-49-kasan-gce
2018/01/07 00:22 https://android.googlesource.com/kernel/common android-4.9 06fe41f85237 053171ea .config console log report syz C ci-android-49-kasan-gce-386
2018/01/06 22:39 https://android.googlesource.com/kernel/common android-4.9 06fe41f85237 053171ea .config console log report syz C ci-android-49-kasan-gce-386
2018/01/06 22:07 https://android.googlesource.com/kernel/common android-4.9 06fe41f85237 053171ea .config console log report syz C ci-android-49-kasan-gce-386
2018/01/06 17:56 https://android.googlesource.com/kernel/common android-4.9 06fe41f85237 053171ea .config console log report syz C ci-android-49-kasan-gce-386
2018/01/02 18:50 https://android.googlesource.com/kernel/common android-4.9 f3f3457d4582 00193447 .config console log report syz C ci-android-49-kasan-gce-386
2017/12/31 22:20 https://android.googlesource.com/kernel/common android-4.9 f3f3457d4582 00193447 .config console log report syz C ci-android-49-kasan-gce-386
2017/12/31 19:23 https://android.googlesource.com/kernel/common android-4.9 f3f3457d4582 00193447 .config console log report syz C ci-android-49-kasan-gce-386
2017/12/30 20:42 https://android.googlesource.com/kernel/common android-4.9 f3f3457d4582 bb6384b8 .config console log report syz C ci-android-49-kasan-gce-386
2017/12/30 14:14 https://android.googlesource.com/kernel/common android-4.9 f3f3457d4582 bb6384b8 .config console log report syz C ci-android-49-kasan-gce-386
2017/12/29 05:22 https://android.googlesource.com/kernel/common android-4.9 cb7518e6167c 7d240098 .config console log report syz C ci-android-49-kasan-gce-386
2017/12/28 05:32 https://android.googlesource.com/kernel/common android-4.9 cb7518e6167c 7d240098 .config console log report syz C ci-android-49-kasan-gce-386
2017/12/27 23:47 https://android.googlesource.com/kernel/common android-4.9 cb7518e6167c 7d240098 .config console log report syz C ci-android-49-kasan-gce-386
2017/12/27 16:13 https://android.googlesource.com/kernel/common android-4.9 cb7518e6167c 09c8f4c0 .config console log report syz C ci-android-49-kasan-gce-386
2017/12/26 20:57 https://android.googlesource.com/kernel/common android-4.9 250637879165 73aba437 .config console log report syz C ci-android-49-kasan-gce-386
2017/12/20 03:19 https://android.googlesource.com/kernel/common android-4.9 c14c7b37e933 2d836b1d .config console log report syz C ci-android-49-kasan-gce
2017/12/20 02:40 https://android.googlesource.com/kernel/common android-4.9 c14c7b37e933 2d836b1d .config console log report syz C ci-android-49-kasan-gce
2017/12/20 02:26 https://android.googlesource.com/kernel/common android-4.9 c14c7b37e933 2d836b1d .config console log report syz C ci-android-49-kasan-gce
2017/12/20 00:56 https://android.googlesource.com/kernel/common android-4.9 c14c7b37e933 af9163c7 .config console log report syz C ci-android-49-kasan-gce-386
2017/12/19 22:50 https://android.googlesource.com/kernel/common android-4.9 c14c7b37e933 af9163c7 .config console log report syz C ci-android-49-kasan-gce
2017/12/19 21:21 https://android.googlesource.com/kernel/common android-4.9 c14c7b37e933 af9163c7 .config console log report syz C ci-android-49-kasan-gce
2017/12/19 17:14 https://android.googlesource.com/kernel/common android-4.9 c14c7b37e933 af9163c7 .config console log report syz C ci-android-49-kasan-gce
2017/12/18 03:40 https://android.googlesource.com/kernel/common android-4.9 3f1d77ca5f8f d5beb42a .config console log report syz C ci-android-49-kasan-gce-386
2017/12/16 22:31 https://android.googlesource.com/kernel/common android-4.9 3f1d77ca5f8f b6f0c91b .config console log report syz C ci-android-49-kasan-gce-386
2017/12/09 16:25 https://android.googlesource.com/kernel/common android-4.9 f26d3c76d376 5ad0ce95 .config console log report syz C ci-android-49-kasan-gce
2017/11/18 20:56 https://android.googlesource.com/kernel/common android-4.9 44a3afcce10a eff27f33 .config console log report syz C ci-android-49-kasan-gce
2017/11/18 09:26 https://android.googlesource.com/kernel/common android-4.9 f09daf140e6e bf820689 .config console log report syz C ci-android-49-kasan-gce
2017/11/17 22:44 https://android.googlesource.com/kernel/common android-4.9 f09daf140e6e bf820689 .config console log report syz C ci-android-49-kasan-gce
2017/11/16 09:13 https://android.googlesource.com/kernel/common android-4.9 f09daf140e6e bf820689 .config console log report syz C ci-android-49-kasan-gce
2017/11/09 22:46 https://android.googlesource.com/kernel/common android-4.9 a93e3124db19 e0a2b195 .config console log report syz C ci-android-49-kasan-gce
2017/11/08 00:10 https://android.googlesource.com/kernel/common android-4.9 e0907557efa6 d49979f7 .config console log report syz C ci-android-49-kasan-gce
2017/11/07 07:34 https://android.googlesource.com/kernel/common android-4.9 dfe0a9bcfc3a d49979f7 .config console log report syz C ci-android-49-kasan-gce
2017/11/04 13:12 https://android.googlesource.com/kernel/common android-4.9 dfe0a9bcfc3a d49979f7 .config console log report syz C ci-android-49-kasan-gce
2017/10/21 11:55 https://android.googlesource.com/kernel/common android-4.9 9eaaf14c7829 ab829b1b .config console log report syz C ci-android-49-kasan-gce
2017/10/12 18:46 https://android.googlesource.com/kernel/common android-4.9 9add7c47ec55 c26ea367 .config console log report syz C ci-android-49-kasan-gce
2017/10/12 02:10 https://android.googlesource.com/kernel/common android-4.9 34e23dee72dd c26ea367 .config console log report syz C ci-android-49-kasan-gce
2017/10/06 20:54 https://android.googlesource.com/kernel/common android-4.9 379e3b2a6d51 c26ea367 .config console log report syz C ci-android-49-kasan-gce
2017/10/01 22:53 https://android.googlesource.com/kernel/common android-4.9 9b2b08179641 c26ea367 .config console log report syz C ci-android-49-kasan-gce
2017/09/30 16:03 https://android.googlesource.com/kernel/common android-4.9 9b2b08179641 c26ea367 .config console log report syz C ci-android-49-kasan-gce
2017/09/30 13:56 https://android.googlesource.com/kernel/common android-4.9 9b2b08179641 c26ea367 .config console log report syz C ci-android-49-kasan-gce
2017/09/29 19:32 https://android.googlesource.com/kernel/common android-4.9 c30c69c76c1d c26ea367 .config console log report syz C ci-android-49-kasan-gce
2017/09/29 04:20 https://android.googlesource.com/kernel/common android-4.9 c30c69c76c1d c26ea367 .config console log report syz C ci-android-49-kasan-gce
2017/09/27 15:41 https://android.googlesource.com/kernel/common android-4.9 c30c69c76c1d c26ea367 .config console log report syz C ci-android-49-kasan-gce
2018/01/21 06:35 https://android.googlesource.com/kernel/common android-4.9 e12a9c4458ff fbbdcd92 .config console log report syz C ci-android-49-kasan-gce-386
2017/11/18 04:29 https://android.googlesource.com/kernel/common android-4.9 f09daf140e6e bf820689 .config console log report syz ci-android-49-kasan-gce
2017/10/22 14:47 https://android.googlesource.com/kernel/common android-4.9 9eaaf14c7829 ab829b1b .config console log report syz ci-android-49-kasan-gce
2018/03/05 19:57 https://android.googlesource.com/kernel/common android-4.9 b324a701539e bbd5104f .config console log report syz ci-android-49-kasan-gce-386
2018/03/31 11:08 https://android.googlesource.com/kernel/common android-4.9 cc88c05eca31 8fbce0e4 .config console log report ci-android-49-kasan-gce
2018/03/31 01:18 https://android.googlesource.com/kernel/common android-4.9 cc88c05eca31 8fbce0e4 .config console log report ci-android-49-kasan-gce
2018/03/30 06:12 https://android.googlesource.com/kernel/common android-4.9 bb94f9d8f542 d47f0ed6 .config console log report ci-android-49-kasan-gce
2018/03/30 05:00 https://android.googlesource.com/kernel/common android-4.9 bb94f9d8f542 d47f0ed6 .config console log report ci-android-49-kasan-gce
2018/03/29 20:58 https://android.googlesource.com/kernel/common android-4.9 bb94f9d8f542 d47f0ed6 .config console log report ci-android-49-kasan-gce
2018/03/29 19:09 https://android.googlesource.com/kernel/common android-4.9 bb94f9d8f542 d47f0ed6 .config console log report ci-android-49-kasan-gce
2018/03/29 11:32 https://android.googlesource.com/kernel/common android-4.9 bb94f9d8f542 d47f0ed6 .config console log report ci-android-49-kasan-gce
2018/03/26 20:01 https://android.googlesource.com/kernel/common android-4.9 dd1e37e64645 0ca7878b .config console log report ci-android-49-kasan-gce
2018/03/08 13:12 https://android.googlesource.com/kernel/common android-4.9 00db063b0f88 acd0caa5 .config console log report ci-android-49-kasan-gce
2018/02/28 17:07 https://android.googlesource.com/kernel/common android-4.9 6e463bb69c99 05b5a32c .config console log report ci-android-49-kasan-gce
2018/02/23 23:30 https://android.googlesource.com/kernel/common android-4.9 72766d75b085 5c1e0207 .config console log report ci-android-49-kasan-gce
2018/02/19 21:43 https://android.googlesource.com/kernel/common android-4.9 cdfc8df1d262 c1f526e3 .config console log report ci-android-49-kasan-gce
2018/02/10 11:27 https://android.googlesource.com/kernel/common android-4.9 8a174b4749d3 e67d44e0 .config console log report ci-android-49-kasan-gce
2018/02/08 01:34 https://android.googlesource.com/kernel/common android-4.9 20c8a0089294 9fb5ec43 .config console log report ci-android-49-kasan-gce
2018/02/07 04:40 https://android.googlesource.com/kernel/common android-4.9 550c01d0e051 66c15deb .config console log report ci-android-49-kasan-gce
2018/02/06 18:20 https://android.googlesource.com/kernel/common android-4.9 550c01d0e051 66c15deb .config console log report ci-android-49-kasan-gce
2018/02/05 04:39 https://android.googlesource.com/kernel/common android-4.9 b30d2b5deba5 a1bc9d40 .config console log report ci-android-49-kasan-gce
2018/01/29 22:49 https://android.googlesource.com/kernel/common android-4.9 7be198545491 08d47756 .config console log report ci-android-49-kasan-gce
2018/01/28 15:16 https://android.googlesource.com/kernel/common android-4.9 68d447c0a37b 08d47756 .config console log report ci-android-49-kasan-gce
2018/01/28 10:55 https://android.googlesource.com/kernel/common android-4.9 68d447c0a37b 08d47756 .config console log report ci-android-49-kasan-gce
2018/01/28 05:27 https://android.googlesource.com/kernel/common android-4.9 68d447c0a37b 08146b1a .config console log report ci-android-49-kasan-gce
2018/01/28 00:27 https://android.googlesource.com/kernel/common android-4.9 68d447c0a37b 08146b1a .config console log report ci-android-49-kasan-gce
2018/01/27 20:55 https://android.googlesource.com/kernel/common android-4.9 68d447c0a37b 08146b1a .config console log report ci-android-49-kasan-gce
2018/01/26 13:29 https://android.googlesource.com/kernel/common android-4.9 f518fe49bbaa 1d18b112 .config console log report ci-android-49-kasan-gce
2018/01/25 09:05 https://android.googlesource.com/kernel/common android-4.9 29eadc4b5c13 6b2a715e .config console log report ci-android-49-kasan-gce
2018/01/22 23:52 https://android.googlesource.com/kernel/common android-4.9 e12a9c4458ff 228e3d95 .config console log report ci-android-49-kasan-gce
2018/01/15 12:25 https://android.googlesource.com/kernel/common android-4.9 f0f6293fd01a 66d492a6 .config console log report ci-android-49-kasan-gce
2018/01/14 06:58 https://android.googlesource.com/kernel/common android-4.9 8e170a589bd4 c9e7aeae .config console log report ci-android-49-kasan-gce
2018/01/13 23:22 https://android.googlesource.com/kernel/common android-4.9 8e170a589bd4 c9e7aeae .config console log report ci-android-49-kasan-gce
2018/01/13 15:49 https://android.googlesource.com/kernel/common android-4.9 8e170a589bd4 c9e7aeae .config console log report ci-android-49-kasan-gce
2018/01/13 08:34 https://android.googlesource.com/kernel/common android-4.9 8e170a589bd4 9dc808a6 .config console log report ci-android-49-kasan-gce
2018/01/12 21:53 https://android.googlesource.com/kernel/common android-4.9 8e170a589bd4 9dc808a6 .config console log report ci-android-49-kasan-gce
2018/01/12 18:33 https://android.googlesource.com/kernel/common android-4.9 8e170a589bd4 9dc808a6 .config console log report ci-android-49-kasan-gce
2018/01/12 08:15 https://android.googlesource.com/kernel/common android-4.9 91549408ceb8 9dc808a6 .config console log report ci-android-49-kasan-gce
2018/01/12 06:35 https://android.googlesource.com/kernel/common android-4.9 91549408ceb8 9dc808a6 .config console log report ci-android-49-kasan-gce
2018/01/11 16:46 https://android.googlesource.com/kernel/common android-4.9 91549408ceb8 9dc808a6 .config console log report ci-android-49-kasan-gce
2018/01/11 07:30 https://android.googlesource.com/kernel/common android-4.9 91549408ceb8 02a19b64 .config console log report ci-android-49-kasan-gce
2018/01/11 04:47 https://android.googlesource.com/kernel/common android-4.9 91549408ceb8 02a19b64 .config console log report ci-android-49-kasan-gce-386
2018/01/10 20:37 https://android.googlesource.com/kernel/common android-4.9 91549408ceb8 02a19b64 .config console log report ci-android-49-kasan-gce
2018/01/10 11:52 https://android.googlesource.com/kernel/common android-4.9 91549408ceb8 02a19b64 .config console log report ci-android-49-kasan-gce
2018/01/09 23:30 https://android.googlesource.com/kernel/common android-4.9 8910fa508811 1f60c828 .config console log report ci-android-49-kasan-gce-386
2018/01/09 19:31 https://android.googlesource.com/kernel/common android-4.9 8910fa508811 a7899a58 .config console log report ci-android-49-kasan-gce
2018/01/09 08:32 https://android.googlesource.com/kernel/common android-4.9 b54d99aa12b4 11dc42f6 .config console log report ci-android-49-kasan-gce
2018/01/09 06:26 https://android.googlesource.com/kernel/common android-4.9 b54d99aa12b4 11dc42f6 .config console log report ci-android-49-kasan-gce
2018/01/07 07:03 https://android.googlesource.com/kernel/common android-4.9 5f5e5d4041e3 19c05fff .config console log report ci-android-49-kasan-gce
2018/01/07 00:13 https://android.googlesource.com/kernel/common android-4.9 06fe41f85237 053171ea .config console log report ci-android-49-kasan-gce
2018/01/05 18:44 https://android.googlesource.com/kernel/common android-4.9 173c52eae928 00193447 .config console log report ci-android-49-kasan-gce
2018/01/04 01:44 https://android.googlesource.com/kernel/common android-4.9 4406671f9ec8 00193447 .config console log report ci-android-49-kasan-gce-386
2018/01/03 23:28 https://android.googlesource.com/kernel/common android-4.9 4406671f9ec8 00193447 .config console log report ci-android-49-kasan-gce-386
2018/01/03 10:42 https://android.googlesource.com/kernel/common android-4.9 9e5dd8ed9b9b 00193447 .config console log report ci-android-49-kasan-gce-386
2018/03/31 12:22 https://android.googlesource.com/kernel/common android-4.9 cc88c05eca31 8fbce0e4 .config console log report ci-android-49-kasan-gce-386
2018/03/31 06:58 https://android.googlesource.com/kernel/common android-4.9 cc88c05eca31 8fbce0e4 .config console log report ci-android-49-kasan-gce-386
2018/03/31 02:23 https://android.googlesource.com/kernel/common android-4.9 cc88c05eca31 8fbce0e4 .config console log report ci-android-49-kasan-gce-386
2018/03/30 19:25 https://android.googlesource.com/kernel/common android-4.9 cc88c05eca31 8fbce0e4 .config console log report ci-android-49-kasan-gce-386
2018/03/30 09:01 https://android.googlesource.com/kernel/common android-4.9 bb94f9d8f542 d47f0ed6 .config console log report ci-android-49-kasan-gce-386
2018/03/30 03:57 https://android.googlesource.com/kernel/common android-4.9 bb94f9d8f542 d47f0ed6 .config console log report ci-android-49-kasan-gce-386
2018/03/29 16:10 https://android.googlesource.com/kernel/common android-4.9 bb94f9d8f542 d47f0ed6 .config console log report ci-android-49-kasan-gce-386
2018/02/27 11:38 https://android.googlesource.com/kernel/common android-4.9 e7f51a5b0be6 05b5a32c .config console log report ci-android-49-kasan-gce-386
2018/02/26 20:51 https://android.googlesource.com/kernel/common android-4.9 a9d027374a35 b370d4a7 .config console log report ci-android-49-kasan-gce-386
2018/02/26 13:10 https://android.googlesource.com/kernel/common android-4.9 a9d027374a35 9fe8aa42 .config console log report ci-android-49-kasan-gce-386
* Struck through repros no longer work on HEAD.