BUG: Dentry ADDR{i=0,n=/} still in use (-128) [unmount of erofs loop2]

6 views
Skip to first unread message

syzbot

unread,
Dec 24, 2020, 10:51:17 PM12/24/20
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 13d2ce42 Linux 4.19.163
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=104389a3500000
kernel config: https://syzkaller.appspot.com/x/.config?x=fac7c3360835a4e0
dashboard link: https://syzkaller.appspot.com/bug?extid=fb90508319c4b4a83e6f
compiler: gcc (GCC) 10.1.0-syz 20200507

Unfortunately, I don't have any reproducer for this issue yet.

IMPORTANT: if you fix the issue, please add the following tag to the commit:
Reported-by: syzbot+fb9050...@syzkaller.appspotmail.com

RBP: 00007f4258f54ad0 R08: 00007f4258f54b10 R09: 0000000020000000
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020000000
R13: 0000000020000100 R14: 0000000020000200 R15: 0000000020000040
erofs: unmounted for /dev/loop4
BUG: Dentry 00000000b42de44c{i=0,n=/} still in use (-128) [unmount of erofs loop2]
------------[ cut here ]------------
WARNING: CPU: 0 PID: 13584 at fs/dcache.c:1518 umount_check fs/dcache.c:1518 [inline]
WARNING: CPU: 0 PID: 13584 at fs/dcache.c:1518 umount_check.cold+0xf2/0x116 fs/dcache.c:1499
erofs: read_super, device -> /dev/loop3
Kernel panic - not syncing: panic_on_warn set ...

CPU: 0 PID: 13584 Comm: syz-executor.2 Not tainted 4.19.163-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0x1fc/0x2fe lib/dump_stack.c:118
erofs: options -> fault_injection=0x0000000000000000,noacl,
panic+0x26a/0x50e kernel/panic.c:186
__warn.cold+0x20/0x61 kernel/panic.c:541
report_bug+0x262/0x2b0 lib/bug.c:186
fixup_bug arch/x86/kernel/traps.c:178 [inline]
fixup_bug arch/x86/kernel/traps.c:173 [inline]
do_error_trap+0x1d7/0x310 arch/x86/kernel/traps.c:296
invalid_op+0x14/0x20 arch/x86/entry/entry_64.S:1038
RIP: 0010:umount_check fs/dcache.c:1518 [inline]
RIP: 0010:umount_check.cold+0xf2/0x116 fs/dcache.c:1499
Code: ff 4d 89 f1 45 89 e0 48 89 e9 41 55 4c 89 fa 48 89 ee 48 c7 c7 c0 a2 74 88 e8 82 00 a4 ff 48 c7 c7 c0 a1 74 88 e8 76 00 a4 ff <0f> 0b 58 e9 fe 9a ff ff e8 9a 2f ef ff e9 22 ff ff ff 48 89 df e8
RSP: 0018:ffff88804434fa98 EFLAGS: 00010286
RAX: 0000000000000024 RBX: 0000000000000000 RCX: 0000000000000000
RDX: 0000000000040000 RSI: ffffffff814fdbb1 RDI: ffffed1008869f45
RBP: ffff88809625f420 R08: 0000000000000024 R09: 0000000000000000
R10: 0000000000000005 R11: 0000000000000000 R12: 00000000ffffff80
R13: ffff8880951d3190 R14: ffffffff893f5040 R15: 0000000000000000
d_walk+0x196/0x990 fs/dcache.c:1253
erofs: FAULT_INJECTION was not selected
do_one_tree fs/dcache.c:1525 [inline]
shrink_dcache_for_umount+0x87/0x330 fs/dcache.c:1541
generic_shutdown_super+0x68/0x370 fs/super.c:441
kill_block_super+0x97/0xf0 fs/super.c:1185
erofs: root inode @ nid 36
deactivate_locked_super+0x94/0x160 fs/super.c:329
mount_bdev+0x373/0x3b0 fs/super.c:1160
erofs_mount+0x8c/0xc0 drivers/staging/erofs/super.c:512
erofs: mounted on /dev/loop3 with opts: fault_injection=0x0000000000000000.
mount_fs+0xa3/0x30c fs/super.c:1261
vfs_kern_mount.part.0+0x68/0x470 fs/namespace.c:961
vfs_kern_mount fs/namespace.c:951 [inline]
do_new_mount fs/namespace.c:2469 [inline]
do_mount+0x113c/0x2f10 fs/namespace.c:2799
ksys_mount+0xcf/0x130 fs/namespace.c:3015
__do_sys_mount fs/namespace.c:3029 [inline]
__se_sys_mount fs/namespace.c:3026 [inline]
__x64_sys_mount+0xba/0x150 fs/namespace.c:3026
do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x460b9a
Code: b8 a6 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 ad 89 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 8a 89 fb ff c3 66 0f 1f 84 00 00 00 00 00
RSP: 002b:00007f4258f54a78 EFLAGS: 00000202 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f4258f54b10 RCX: 0000000000460b9a
RDX: 0000000020000000 RSI: 0000000020000100 RDI: 00007f4258f54ad0
RBP: 00007f4258f54ad0 R08: 00007f4258f54b10 R09: 0000000020000000
R10: 0000000000000000 R11: 0000000000000202 R12: 0000000020000000
R13: 0000000020000100 R14: 0000000020000200 R15: 0000000020000040
Kernel Offset: disabled
Rebooting in 86400 seconds..


---
This report is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Sep 28, 2021, 8:32:19 PM9/28/21
to syzkaller...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages