syzbot


general protection fault in sg_get_rq_mark

Status: auto-closed as invalid on 2019/02/22 15:22
First crash: 2463d, last: 2463d

Sample crash report:
kasan: CONFIG_KASAN_INLINE enabled
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: 5747 Comm: syz-executor4 Not tainted 4.9.83-g74659dc #41
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8801afdec800 task.stack: ffff8801afdf0000
RIP: 0010:[<ffffffff82666eff>]  [<ffffffff82666eff>] sg_get_rq_mark+0x9f/0x190 drivers/scsi/sg.c:2062
RSP: 0018:ffff8801afdf7a20  EFLAGS: 00010006
RAX: 0000000000010000 RBX: dffffc0000000000 RCX: ffffffff82666ef1
RDX: 000000000000001e RSI: ffffc90002634000 RDI: 00000000000000f2
RBP: ffff8801afdf7a50 R08: 0000000000000001 R09: 0000000000000001
R10: 0000000000000004 R11: ffff8801afdec800 R12: ffff8801b4f04340
R13: 00000000ffffffff R14: ffff8801b4f04260 R15: 0000000000000000
FS:  00007fdbff9a8700(0000) GS:ffff8801db200000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020013000 CR3: 00000001c269a000 CR4: 0000000000160670
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Stack:
 0000000000000292 ffff8801b4f04200 fffffffffffffff2 ffff8801c6973c00
 0000000000000000 0000000020000250 ffff8801afdf7b68 ffffffff8266a211
 ffff8801d046ca40 ffff8801afdf7a90 0000000000000246 ffff8801afdec800
Call Trace:
 [<ffffffff8266a211>] sg_read+0x1b1/0x1440 drivers/scsi/sg.c:432
 [<ffffffff8156cda1>] do_loop_readv_writev.part.17+0x141/0x1e0 fs/read_write.c:714
 [<ffffffff81570c10>] do_loop_readv_writev fs/read_write.c:880 [inline]
 [<ffffffff81570c10>] do_readv_writev+0x520/0x750 fs/read_write.c:874
 [<ffffffff81570ec4>] vfs_readv+0x84/0xc0 fs/read_write.c:898
 [<ffffffff81570fe6>] do_readv+0xe6/0x250 fs/read_write.c:924
 [<ffffffff815744d7>] SYSC_readv fs/read_write.c:1011 [inline]
 [<ffffffff815744d7>] SyS_readv+0x27/0x30 fs/read_write.c:1008
 [<ffffffff81006504>] do_syscall_64+0x1a4/0x490 arch/x86/entry/common.c:282
 [<ffffffff838b4e7d>] entry_SYSCALL_64_after_swapgs+0x47/0xc5
Code: ea 03 80 3c 1a 00 0f 85 db 00 00 00 4d 8b 3f 4d 39 e7 0f 84 a5 00 00 00 e8 2f 45 d0 fe 49 8d bf f2 00 00 00 48 89 fa 48 c1 ea 03 <0f> b6 0c 1a 48 89 fa 83 e2 07 83 c2 01 38 ca 7c 08 84 c9 0f 85 
RIP  [<ffffffff82666eff>] sg_get_rq_mark+0x9f/0x190 drivers/scsi/sg.c:2062
 RSP <ffff8801afdf7a20>
---[ end trace f00866c872a47958 ]---
Kernel panic - not syncing: Fatal exception
Dumping ftrace buffer:
   (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/02/23 13:03 https://android.googlesource.com/kernel/common android-4.9 74659dc64c9d 33464158 .config console log report ci-android-49-kasan-gce
* Struck through repros no longer work on HEAD.