syzbot


BUG: Dentry still in use in unmount (3)

Status: upstream: reported C repro on 2025/03/27 01:13
Subsystems: ocfs2
[Documentation on labels]
Reported-by: syzbot+e21102eb810a20a034bd@syzkaller.appspotmail.com
First crash: 34d, last: 25d
Discussions (1)
Title Replies (including bot) Last reply
[syzbot] [ocfs2?] BUG: Dentry still in use in unmount (3) 0 (1) 2025/03/27 01:13
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: Dentry still in use in unmount f2fs C done 58 496d 973d 25/28 fixed on 2024/01/20 21:18
android-5-10 BUG: Dentry still in use [unmount of ext4 loop0] C error 63 1241d 1280d 0/2 closed as dup on 2021/10/28 13:08
upstream BUG: Dentry still in use in unmount (2) fs 1 135d 131d 0/28 auto-obsoleted due to no activity on 2025/03/12 01:48
android-5-10 BUG: Dentry still in use in unmount C done 1184 1157d 1170d 2/2 fixed on 2022/02/25 03:20
android-54 BUG: Dentry still in use [unmount of ramfs ramfs] C 476 1176d 1499d 0/2 auto-obsoleted due to no activity on 2023/04/21 02:49
linux-6.1 BUG: Dentry still in use in unmount origin:lts-only C inconclusive 3 109d 109d 0/3 upstream: reported C repro on 2025/01/06 14:20
Last patch testing requests (3)
Created Duration User Patch Repo Result
2025/04/14 22:47 19m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2025/04/14 22:47 35m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2025/04/14 22:47 23m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log

Sample crash report:
------------[ cut here ]------------
BUG: Dentry 000000007215d8e2{i=42a2,n=file0}  still in use (1) [unmount of ocfs2 loop0]
WARNING: CPU: 1 PID: 6436 at fs/dcache.c:1572 umount_check+0x164/0x1b8 fs/dcache.c:1564
Modules linked in:
CPU: 1 UID: 0 PID: 6436 Comm: syz-executor167 Not tainted 6.14.0-rc7-syzkaller-ga2392f333575 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : umount_check+0x164/0x1b8 fs/dcache.c:1564
lr : umount_check+0x164/0x1b8 fs/dcache.c:1564
sp : ffff80009cc17a70
x29: ffff80009cc17a70 x28: 0000000000000000 x27: ffff0000daefd318
x26: ffff0000cd89e2f0 x25: ffff80008feda750 x24: ffff0000c6860000
x23: dfff800000000000 x22: ffff8000902b75a0 x21: 0000000000000001
x20: 00000000000042a2 x19: ffff0000cd89e2f0 x18: 0000000000000008
x17: 5b20293128206573 x16: ffff8000832b7b9c x15: 0000000000000001
x14: 1ffff00013982ea4 x13: 0000000000000000 x12: 0000000000000000
x11: 0000000000000004 x10: 0000000000ff0100 x9 : c9b6966d3b355500
x8 : c9b6966d3b355500 x7 : 0000000000000001 x6 : 0000000000000001
x5 : ffff80009cc17218 x4 : ffff80008fcafb00 x3 : ffff800083249bb4
x2 : 0000000000000001 x1 : 0000000000000002 x0 : 0000000000000000
Call trace:
 umount_check+0x164/0x1b8 fs/dcache.c:1564 (P)
 d_walk+0x1d4/0x704 fs/dcache.c:1295
 do_one_tree+0x44/0xfc fs/dcache.c:1579
 shrink_dcache_for_umount+0xd8/0x188 fs/dcache.c:1595
 generic_shutdown_super+0x68/0x2bc fs/super.c:620
 kill_block_super+0x44/0x90 fs/super.c:1710
 deactivate_locked_super+0xc4/0x12c fs/super.c:473
 deactivate_super+0xe0/0x100 fs/super.c:506
 cleanup_mnt+0x34c/0x3dc fs/namespace.c:1413
 __cleanup_mnt+0x20/0x30 fs/namespace.c:1420
 task_work_run+0x230/0x2e0 kernel/task_work.c:227
 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
 do_notify_resume+0x178/0x1f4 arch/arm64/kernel/entry-common.c:151
 exit_to_user_mode_prepare arch/arm64/kernel/entry-common.c:169 [inline]
 exit_to_user_mode arch/arm64/kernel/entry-common.c:178 [inline]
 el0_svc+0xac/0x168 arch/arm64/kernel/entry-common.c:745
 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762
 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600
irq event stamp: 10970
hardirqs last  enabled at (10969): [<ffff8000804afa4c>] __up_console_sem kernel/printk/printk.c:344 [inline]
hardirqs last  enabled at (10969): [<ffff8000804afa4c>] __console_unlock+0x70/0xc4 kernel/printk/printk.c:2869
hardirqs last disabled at (10970): [<ffff80008b7c3e94>] el1_dbg+0x24/0x80 arch/arm64/kernel/entry-common.c:488
softirqs last  enabled at (10964): [<ffff8000803128a4>] softirq_handle_end kernel/softirq.c:407 [inline]
softirqs last  enabled at (10964): [<ffff8000803128a4>] handle_softirqs+0xb44/0xd34 kernel/softirq.c:589
softirqs last disabled at (10723): [<ffff800080020dbc>] __do_softirq+0x14/0x20 kernel/softirq.c:595
---[ end trace 0000000000000000 ]---
ocfs2: Unmounting device (7,0) on (node local)
VFS: Busy inodes after unmount of loop0 (ocfs2)
------------[ cut here ]------------
kernel BUG at fs/super.c:652!
Internal error: Oops - BUG: 00000000f2000800 [#1] PREEMPT SMP
Modules linked in:
CPU: 1 UID: 0 PID: 6436 Comm: syz-executor167 Tainted: G        W          6.14.0-rc7-syzkaller-ga2392f333575 #0
Tainted: [W]=WARN
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : generic_shutdown_super+0x2b8/0x2bc fs/super.c:650
lr : generic_shutdown_super+0x2b8/0x2bc fs/super.c:650
sp : ffff80009cc17bb0
x29: ffff80009cc17bb0 x28: 1fffe0001b097193 x27: 0000000000000008
x26: 0000000000000003 x25: dfff800000000000 x24: 1fffe00018d0c0f0
x23: ffff80008bc839e0 x22: dfff800000000000 x21: 0000000000000000
x20: ffff8000902b75a0 x19: ffff0000c6860668 x18: 0000000000000008
x17: 000000000000e793 x16: ffff8000832b7b9c x15: 0000000000000001
x14: 1fffe000366f60f2 x13: 0000000000000000 x12: 0000000000000000
x11: 0000000000000001 x10: 0000000000ff0100 x9 : c9b6966d3b355500
x8 : c9b6966d3b355500 x7 : 0000000000000001 x6 : 0000000000000001
x5 : ffff80009cc17378 x4 : ffff80008fcafb00 x3 : ffff800080743ed0
x2 : 0000000000000001 x1 : 0000000100000000 x0 : 000000000000002f
Call trace:
 generic_shutdown_super+0x2b8/0x2bc fs/super.c:650 (P)
 kill_block_super+0x44/0x90 fs/super.c:1710
 deactivate_locked_super+0xc4/0x12c fs/super.c:473
 deactivate_super+0xe0/0x100 fs/super.c:506
 cleanup_mnt+0x34c/0x3dc fs/namespace.c:1413
 __cleanup_mnt+0x20/0x30 fs/namespace.c:1420
 task_work_run+0x230/0x2e0 kernel/task_work.c:227
 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
 do_notify_resume+0x178/0x1f4 arch/arm64/kernel/entry-common.c:151
 exit_to_user_mode_prepare arch/arm64/kernel/entry-common.c:169 [inline]
 exit_to_user_mode arch/arm64/kernel/entry-common.c:178 [inline]
 el0_svc+0xac/0x168 arch/arm64/kernel/entry-common.c:745
 el0t_64_sync_handler+0x84/0x108 arch/arm64/kernel/entry-common.c:762
 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:600
Code: d00562e0 91208000 aa1303e1 97cfdf8f (d4210000) 
---[ end trace 0000000000000000 ]---

Crashes (6):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/03/23 04:51 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a2392f333575 c6512ef7 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci-upstream-gce-arm64 BUG: Dentry still in use in unmount
2025/03/23 04:14 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a2392f333575 c6512ef7 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci-upstream-gce-arm64 BUG: Dentry still in use in unmount
2025/03/23 01:43 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a2392f333575 c6512ef7 .config console log report syz / log C [disk image] [vmlinux] [kernel image] [mounted in repro (clean fs)] ci-upstream-gce-arm64 BUG: Dentry still in use in unmount
2025/03/31 22:43 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a2392f333575 36d76a97 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: Dentry still in use in unmount
2025/03/23 01:06 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a2392f333575 c6512ef7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: Dentry still in use in unmount
2025/03/23 01:06 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci a2392f333575 c6512ef7 .config console log report info [disk image] [vmlinux] [kernel image] ci-upstream-gce-arm64 BUG: Dentry still in use in unmount
* Struck through repros no longer work on HEAD.