syzbot


general protection fault in loop_clr_fd

Status: auto-closed as invalid on 2020/09/24 08:56
Reported-by: syzbot+c9f035f0754fe495fc84@syzkaller.appspotmail.com
First crash: 1515d, last: 1438d
Similar bugs (1)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 general protection fault in loop_clr_fd (2) C 47 431d 1288d 0/1 upstream: reported C repro on 2020/10/24 14:56

Sample crash report:
 loop0: unable to read partition table
loop_reread_partitions: partition scan of loop0 (8b+?s=7]cIirn0jubx—Jt}̳cYUB) failed (rc=-5)
unknown flags 0x4
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
Modules linked in:
CPU: 1 PID: 15939 Comm: systemd-udevd Not tainted 4.14.181-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
9pnet_virtio: no channels available for device 127.0.0.1
task: ffff88804c156140 task.stack: ffff888056cd0000
RIP: 0010:kobject_uevent_env+0xa3/0xc50 lib/kobject_uevent.c:355
RSP: 0018:ffff888056cd7c18 EFLAGS: 00010206
RAX: 0000000000000018 RBX: 0000000000000002 RCX: 1ffff1100982ad37
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 00000000000000c0
RBP: ffff88808c9406d0 R08: 0000000000000001 R09: 0000000000000003
R10: ffff88804c156a40 R11: ffff88804c156140 R12: 00000000000000a0
R13: dffffc0000000000 R14: ffff88808c9405c8 R15: 00000000000000a0
FS:  00007f9f659f78c0(0000) GS:ffff8880aed00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007ffe50340e8c CR3: 000000008e9e9000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 loop_clr_fd+0x49e/0xac0 drivers/block/loop.c:1069
 __lo_release drivers/block/loop.c:1660 [inline]
 lo_release+0xff/0x190 drivers/block/loop.c:1678
 __blkdev_put+0x4ec/0x6a0 fs/block_dev.c:1791
 blkdev_close+0x86/0xb0 fs/block_dev.c:1863
 __fput+0x25f/0x7a0 fs/file_table.c:210
 task_work_run+0x113/0x190 kernel/task_work.c:113
 tracehook_notify_resume include/linux/tracehook.h:191 [inline]
 exit_to_usermode_loop+0x1ad/0x200 arch/x86/entry/common.c:164
 prepare_exit_to_usermode arch/x86/entry/common.c:199 [inline]
 syscall_return_slowpath arch/x86/entry/common.c:270 [inline]
 do_syscall_64+0x4a3/0x640 arch/x86/entry/common.c:297
 entry_SYSCALL_64_after_hwframe+0x46/0xbb
RIP: 0033:0x7f9f64b3e270
RSP: 002b:00007ffe50343108 EFLAGS: 00000246 ORIG_RAX: 0000000000000003
RAX: 0000000000000000 RBX: 0000000000000007 RCX: 00007f9f64b3e270
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000007
RBP: 00007f9f659f7710 R08: 00005597455968f0 R09: 000055974558f400
R10: 00007f9f659f78c0 R11: 0000000000000246 R12: 0000000000000000
R13: 000055974557cbf0 R14: 0000000000000003 R15: 000000000000000e
Code: 03 42 80 3c 28 00 0f 85 2e 0a 00 00 4d 8b 64 24 18 4d 85 e4 0f 84 1e 02 00 00 e8 a9 14 22 fb 49 8d 7c 24 20 48 89 f8 48 c1 e8 03 <42> 80 3c 28 00 0f 85 fa 09 00 00 49 8b 6c 24 20 48 85 ed 74 b0 
unknown flags 0x4
RIP: kobject_uevent_env+0xa3/0xc50 lib/kobject_uevent.c:355 RSP: ffff888056cd7c18
---[ end trace 9c2f80cee35b5b74 ]---

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/05/27 08:55 linux-4.14.y a41ba30d9df2 9072c126 .config console log report ci2-linux-4-14
2020/03/28 11:57 linux-4.14.y 01364dad1d45 f1ebdfba .config console log report ci2-linux-4-14
2020/03/24 20:35 linux-4.14.y 01364dad1d45 68660b21 .config console log report ci2-linux-4-14
2020/03/24 12:56 linux-4.14.y 01364dad1d45 33e14df3 .config console log report ci2-linux-4-14
2020/03/11 12:16 linux-4.14.y 78d697fc93f9 e103bc9e .config console log report ci2-linux-4-14
* Struck through repros no longer work on HEAD.