syzbot


general protection fault in loop_validate_file

Status: auto-closed as invalid on 2019/07/13 08:46
Reported-by: syzbot+e815d1d3e5e80ec0ecca@syzkaller.appspotmail.com
First crash: 2240d, last: 2138d
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-44 general protection fault in loop_validate_file syz 20 2130d 2048d 0/2 public: reported syz repro on 2019/04/14 00:02
upstream general protection fault in loop_validate_file block C 19 2163d 2348d 0/28 closed as dup on 2018/06/18 14:51
android-49 general protection fault in loop_validate_file syz 28 1905d 2048d 0/3 public: reported syz repro on 2019/04/14 09:28
upstream general protection fault in loop_validate_file (2) block 3 2072d 2075d 11/28 fixed on 2019/04/01 10:28
android-414 general protection fault in loop_validate_file (2) syz 6 1902d 1949d 0/1 public: reported syz repro on 2019/07/22 13:25
linux-4.14 general protection fault in loop_validate_file C error 9 628d 1911d 0/1 upstream: reported C repro on 2019/08/28 22:28

Sample crash report:
kasan: GPF could be caused by NULL-ptr deref or user memory access
general protection fault: 0000 [#1] PREEMPT SMP KASAN NOPTI
Modules linked in:
CPU: 0 PID: 9711 Comm: syz-executor1 Not tainted 4.14.93+ #6
task: ffff88819c9c1780 task.stack: ffff8881d5c70000
RIP: 0010:is_loop_device drivers/block/loop.c:622 [inline]
RIP: 0010:loop_validate_file+0x1ef/0x2c0 drivers/block/loop.c:633
RSP: 0018:ffff8881d5c77b60 EFLAGS: 00010202
RAX: 0000000000000037 RBX: ffff8881d9eadd98 RCX: 00000000000000b2
RDX: ffffffff81de1ff1 RSI: ffffc90002b74000 RDI: 00000000000001b8
RBP: 0000000000000000 R08: 0000000000000001 R09: 0000000000000001
R10: ffff88819c9c1fd8 R11: 0000000000000001 R12: ffff8881d9eacac0
R13: dffffc0000000000 R14: 00000000fffffff0 R15: ffff8881ce380780
FS:  00007f667400f700(0000) GS:ffff8881db800000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000001fa9978 CR3: 00000001cc4ec002 CR4: 00000000001606b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 loop_set_fd drivers/block/loop.c:897 [inline]
 lo_ioctl+0x899/0x17e0 drivers/block/loop.c:1376
 __blkdev_driver_ioctl block/ioctl.c:297 [inline]
 blkdev_ioctl+0x4d9/0x1810 block/ioctl.c:594
 block_ioctl+0xd9/0x120 fs/block_dev.c:1873
 vfs_ioctl fs/ioctl.c:46 [inline]
 file_ioctl fs/ioctl.c:500 [inline]
 do_vfs_ioctl+0xabe/0x1040 fs/ioctl.c:684
 SYSC_ioctl fs/ioctl.c:701 [inline]
 SyS_ioctl+0x7f/0xb0 fs/ioctl.c:692
 do_syscall_64+0x19b/0x4b0 arch/x86/entry/common.c:289
Code: f0 00 00 00 48 89 f8 48 c1 e8 03 42 80 3c 28 00 0f 85 d1 00 00 00 48 8b ad f0 00 00 00 48 8d bd b8 01 00 00 48 89 f8 48 c1 e8 03 <42> 80 3c 28 00 0f 85 a7 00 00 00 48 8b ad b8 01 00 00 48 89 e8 
RIP: is_loop_device drivers/block/loop.c:622 [inline] RSP: ffff8881d5c77b60
RIP: loop_validate_file+0x1ef/0x2c0 drivers/block/loop.c:633 RSP: ffff8881d5c77b60
---[ end trace 573e6e8079b7d656 ]---

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2019/01/14 08:45 android-4.14 da2880fa47ec c3f3344c .config console log report ci-android-414-kasan-gce-root
2018/12/10 00:17 android-4.14 13b8d9fdf844 96cc4c50 .config console log report ci-android-414-kasan-gce-root
2018/12/08 06:41 android-4.14 049053b7aee6 65ed2472 .config console log report ci-android-414-kasan-gce-root
2018/10/03 17:27 android-4.14 ff9973a5da5e 8b311eaf .config console log report ci-android-414-kasan-gce-root
* Struck through repros no longer work on HEAD.