syzbot


general protection fault in lo_ioctl

Status: closed as invalid on 2018/02/12 16:15
Reported-by: syzbot+b87b24db14d35489d47950bf0550cbcd86e5563e@syzkaller.appspotmail.com
First crash: 2416d, last: 2343d
Similar bugs (3)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-49 general protection fault in lo_ioctl 13 2105d 2438d 0/3 closed as invalid on 2019/01/01 20:10
android-44 general protection fault in lo_ioctl 1 2115d 2115d 0/2 auto-closed as invalid on 2019/02/22 15:09
upstream general protection fault in lo_ioctl (2) block syz 2 2158d 2158d 11/26 fixed on 2019/01/15 20:25

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] SMP KASAN
Dumping ftrace buffer:
   (ftrace buffer empty)
Modules linked in:
CPU: 1 PID: 5089 Comm: syz-executor4 Not tainted 4.13.0+ #79
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff8801c71121c0 task.stack: ffff88019a6d0000
RIP: 0010:loop_set_fd drivers/block/loop.c:885 [inline]
RIP: 0010:lo_ioctl+0x678/0x1b80 drivers/block/loop.c:1353
RSP: 0018:ffff88019a6d7aa0 EFLAGS: 00010202
RAX: 0000000000010000 RBX: dffffc0000000000 RCX: ffffc900031e1000
RDX: 000000000000003b RSI: ffffffff83537338 RDI: 00000000000001d8
RBP: ffff88019a6d7b18 R08: ffffffff85b380a0 R09: 1ffff100334daefd
R10: ffff8801c71121c0 R11: 0000000000000001 R12: 0000000000000000
R13: ffff8801d4811680 R14: ffff8801cf99b7c0 R15: ffff8801d48117d8
FS:  00007ff250895700(0000) GS:ffff8801db300000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000208dd000 CR3: 00000001d17a5000 CR4: 00000000001426e0
Call Trace:
 __blkdev_driver_ioctl block/ioctl.c:297 [inline]
 blkdev_ioctl+0xc07/0x1de0 block/ioctl.c:594
 block_ioctl+0xea/0x130 fs/block_dev.c:1868
 vfs_ioctl fs/ioctl.c:45 [inline]
 do_vfs_ioctl+0x1b1/0x1530 fs/ioctl.c:685
 SYSC_ioctl fs/ioctl.c:700 [inline]
 SyS_ioctl+0x8f/0xc0 fs/ioctl.c:691
 entry_SYSCALL_64_fastpath+0x1f/0xbe
RIP: 0033:0x451e59
RSP: 002b:00007ff250894c08 EFLAGS: 00000216 ORIG_RAX: 0000000000000010
RAX: ffffffffffffffda RBX: 0000000000718000 RCX: 0000000000451e59
RDX: 0000000000000006 RSI: 0000000000004c00 RDI: 0000000000000005
RBP: 0000000000000082 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000216 R12: 00000000004b7d9c
R13: 00000000ffffffff R14: 0000000020e5a000 R15: 0000000000001000
Code: 00 00 00 48 89 fa 48 c1 ea 03 80 3c 1a 00 0f 85 81 14 00 00 4d 8b a4 24 f0 00 00 00 49 8d bc 24 d8 01 00 00 48 89 fa 48 c1 ea 03 <80> 3c 1a 00 0f 85 56 14 00 00 4d 8b a4 24 d8 01 00 00 4c 89 e2 
RIP: loop_set_fd drivers/block/loop.c:885 [inline] RSP: ffff88019a6d7aa0
RIP: lo_ioctl+0x678/0x1b80 drivers/block/loop.c:1353 RSP: ffff88019a6d7aa0
---[ end trace 19781e570ed09026 ]---
Kernel panic - not syncing: Fatal exception
Dumping ftrace buffer:
   (ftrace buffer empty)
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (17):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2017/09/11 21:09 upstream f007cad159e9 449b6f15 .config console log report ci-upstream-kasan-gce
2017/09/06 14:06 upstream e7d0c41ecc2e 0ed1da4a .config console log report ci-upstream-kasan-gce
2017/08/16 10:19 upstream 510c8a899caf f93be584 .config console log report ci-upstream-kasan-gce
2017/10/18 08:06 upstream ebe6e90ccc66 f8929476 .config console log report ci-upstream-kasan-gce-386
2017/10/17 07:01 upstream 33d930e59a98 766bfcfd .config console log report ci-upstream-kasan-gce-386
2017/10/16 03:26 upstream ae7df8f985f1 c26ea367 .config console log report ci-upstream-kasan-gce-386
2017/10/07 23:33 upstream 1c86f2e4c84f c26ea367 .config console log report ci-upstream-kasan-gce-386
2017/09/23 07:38 upstream 0a8abd97dcda c26ea367 .config console log report ci-upstream-kasan-gce-386
2017/09/21 04:05 upstream c52f56a69d10 653022e6 .config console log report ci-upstream-kasan-gce-386
2017/10/28 23:41 linux-next 36ef71cae353 e511d9f8 .config console log report ci-upstream-next-kasan-gce
2017/10/23 00:26 linux-next 36ef71cae353 e511d9f8 .config console log report ci-upstream-next-kasan-gce
2017/09/19 16:43 linux-next 840cc455c5f5 92f543f0 .config console log report ci-upstream-next-kasan-gce
2017/09/11 11:06 linux-next a31cc455c512 449b6f15 .config console log report ci-upstream-next-kasan-gce
2017/09/09 15:49 linux-next 58bcd35f859b d18bfda0 .config console log report skylake-linux-next-kasan-qemu
2017/09/08 07:38 linux-next 58bcd35f859b d18bfda0 .config console log report skylake-linux-next-kasan-qemu
2017/09/05 20:45 linux-next 744c56def809 0ed1da4a .config console log report skylake-linux-next-kasan-qemu
2017/08/21 03:15 linux-next bb70832dd42b f238fbd4 .config console log report ci-upstream-next-kasan-gce
* Struck through repros no longer work on HEAD.