syzbot


general protection fault in sg_ioctl

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

Sample crash report:
kasan: CONFIG_KASAN_INLINE enabled
kasan: 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: 1 PID: 5754 Comm: syz-executor6 Not tainted 4.4.125-g38f41ec #63
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8800babeb000 task.stack: ffff8801d6c08000
RIP: 0010:[<ffffffff825c5a83>]  [<ffffffff825c5a83>] sg_ioctl+0x1b93/0x2a00 drivers/scsi/sg.c:993
RSP: 0018:ffff8801d6c0fc38  EFLAGS: 00010802
RAX: 0000000000040000 RBX: 0000000000000000 RCX: ffffffff825c5a74
RDX: 1bd5a0000000003e RSI: ffffc90007722000 RDI: dead0000000001f2
RBP: ffff8801d6c0fdb0 R08: 0000000000000001 R09: ffffffff85112d00
R10: 0000000000000001 R11: 1ffff1003ad81f4e R12: dead000000000100
R13: ffff8801d7efc340 R14: dffffc0000000000 R15: 1ffff1003ad81f91
FS:  00007f480b0e7700(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000728020 CR3: 00000000b8c04000 CR4: 0000000000160670
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Stack:
 0000000100000001 ffff8801d9bacec8 ffffffff81286633 0000000000000000
 ffff8801d6c0fc90 c1c3c2cf46bfce90 0000000000000033 0000000000000282
 ffff8801d7efc260 000000002043cff0 0000000041b58ab3 ffffffff83ff6c10
Call Trace:
 [<ffffffff8155a71a>] vfs_ioctl fs/ioctl.c:43 [inline]
 [<ffffffff8155a71a>] do_vfs_ioctl+0x7aa/0xee0 fs/ioctl.c:607
 [<ffffffff8155aedf>] SYSC_ioctl fs/ioctl.c:622 [inline]
 [<ffffffff8155aedf>] SyS_ioctl+0x8f/0xc0 fs/ioctl.c:613
 [<ffffffff83779965>] entry_SYSCALL_64_fastpath+0x22/0x9e
Code: 4c 89 a5 c8 fe ff ff 4d 89 ec 49 89 c5 49 be 00 00 00 00 00 fc ff df e8 0c bc d9 fe 49 8d bc 24 f2 00 00 00 48 89 fa 48 c1 ea 03 <42> 0f b6 0c 32 48 89 fa 83 e2 07 83 c2 01 38 ca 7c 08 84 c9 0f 
RIP  [<ffffffff825c5a83>] sg_ioctl+0x1b93/0x2a00 drivers/scsi/sg.c:993
 RSP <ffff8801d6c0fc38>
---[ end trace 16aab2294a3189e4 ]---
Kernel panic - not syncing: Fatal exception
Dumping ftrace buffer:
   (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2018/04/03 02:25 https://android.googlesource.com/kernel/common android-4.4 38f41ec1cb31 676bd07e .config console log report ci-android-44-kasan-gce
2018/04/02 00:33 https://android.googlesource.com/kernel/common android-4.4 38f41ec1cb31 dc889257 .config console log report ci-android-44-kasan-gce
* Struck through repros no longer work on HEAD.