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: 193d, last: 76d
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 Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: Dentry still in use in unmount f2fs -1 C done 58 656d 1133d 25/29 fixed on 2024/01/20 21:18
android-5-10 BUG: Dentry still in use [unmount of ext4 loop0] -1 C error 63 1401d 1439d 0/2 closed as dup on 2021/10/28 13:08
upstream BUG: Dentry still in use in unmount (2) fs -1 1 294d 290d 0/29 auto-obsoleted due to no activity on 2025/03/12 01:48
android-5-10 BUG: Dentry still in use in unmount -1 C done 1184 1317d 1329d 2/2 fixed on 2022/02/25 03:20
android-54 BUG: Dentry still in use [unmount of ramfs ramfs] -1 C 476 1336d 1658d 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 -1 C inconclusive 3 268d 269d 0/3 upstream: reported C repro on 2025/01/06 14:20
Last patch testing requests (9)
Created Duration User Patch Repo Result
2025/09/02 07:08 33m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci OK log
2025/09/02 07:08 28m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci OK log
2025/09/02 07:08 29m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci OK log
2025/06/24 03:31 19m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2025/06/24 03:31 20m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
2025/06/24 03:31 19m retest repro git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci report log
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 00000000be279389{i=42a2,n=file0}  still in use (1) [unmount of ocfs2 loop8]
WARNING: CPU: 1 PID: 8054 at fs/dcache.c:1598 umount_check+0x164/0x1b8 fs/dcache.c:1590
Modules linked in:
CPU: 1 UID: 0 PID: 8054 Comm: syz-executor Not tainted 6.16.0-rc6-syzkaller-gaaef6f251176 #0 PREEMPT 
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : umount_check+0x164/0x1b8 fs/dcache.c:1590
lr : umount_check+0x164/0x1b8 fs/dcache.c:1590
sp : ffff80009f6e7a90
x29: ffff80009f6e7a90 x28: ffff80008f9af4f0 x27: ffff0000de3c65e0
x26: 0000000000000000 x25: 0000000000100024 x24: ffff0000d2158000
x23: dfff800000000000 x22: ffff80008fd9d2c0 x21: 0000000000000001
x20: 00000000000042a2 x19: ffff0000de3c65e0 x18: 1fffe000337d6476
x17: 5b20293128206573 x16: ffff80008af01b30 x15: 0000000000000001
x14: 1fffe000337d64e2 x13: 0000000000000000 x12: 0000000000000000
x11: ffff6000337d64e3 x10: 0000000000ff0100 x9 : 5225a2cdd984ff00
x8 : 5225a2cdd984ff00 x7 : 0000000000000001 x6 : 0000000000000001
x5 : ffff80009f6e73d8 x4 : ffff80008f776bc0 x3 : ffff8000807bbc14
x2 : 0000000000000001 x1 : 0000000100000002 x0 : 0000000000000000
Call trace:
 umount_check+0x164/0x1b8 fs/dcache.c:1590 (P)
 d_walk+0x1b8/0x668 fs/dcache.c:1321
 do_one_tree+0x40/0xf0 fs/dcache.c:1605
 shrink_dcache_for_umount+0xa0/0x168 fs/dcache.c:1621
 generic_shutdown_super+0x68/0x2b8 fs/super.c:621
 kill_block_super+0x44/0x90 fs/super.c:1755
 deactivate_locked_super+0xc4/0x12c fs/super.c:474
 deactivate_super+0xe0/0x100 fs/super.c:507
 cleanup_mnt+0x31c/0x3ac fs/namespace.c:1417
 __cleanup_mnt+0x20/0x30 fs/namespace.c:1424
 task_work_run+0x1dc/0x260 kernel/task_work.c:227
 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
 do_notify_resume+0x174/0x1f4 arch/arm64/kernel/entry-common.c:155
 exit_to_user_mode_prepare arch/arm64/kernel/entry-common.c:173 [inline]
 exit_to_user_mode arch/arm64/kernel/entry-common.c:182 [inline]
 el0_svc+0xb8/0x180 arch/arm64/kernel/entry-common.c:880
 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:898
 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596
irq event stamp: 264012
hardirqs last  enabled at (264011): [<ffff800080553404>] __up_console_sem kernel/printk/printk.c:344 [inline]
hardirqs last  enabled at (264011): [<ffff800080553404>] __console_unlock+0x70/0xc4 kernel/printk/printk.c:2885
hardirqs last disabled at (264012): [<ffff80008aefc4fc>] el1_brk64+0x1c/0x48 arch/arm64/kernel/entry-common.c:574
softirqs last  enabled at (263698): [<ffff8000801fc5e4>] local_bh_enable+0x10/0x34 include/linux/bottom_half.h:32
softirqs last disabled at (263696): [<ffff8000801fc5b0>] local_bh_disable+0x10/0x34 include/linux/bottom_half.h:19
---[ end trace 0000000000000000 ]---
ocfs2: Unmounting device (7,8) on (node local)
VFS: Busy inodes after unmount of loop8 (ocfs2)
------------[ cut here ]------------
kernel BUG at fs/super.c:653!
Internal error: Oops - BUG: 00000000f2000800 [#1]  SMP
Modules linked in:
CPU: 1 UID: 0 PID: 8054 Comm: syz-executor Tainted: G        W           6.16.0-rc6-syzkaller-gaaef6f251176 #0 PREEMPT 
Tainted: [W]=WARN
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025
pstate: 60400005 (nZCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
pc : generic_shutdown_super+0x2b4/0x2b8 fs/super.c:651
lr : generic_shutdown_super+0x2b4/0x2b8 fs/super.c:651
sp : ffff80009f6e7bb0
x29: ffff80009f6e7bb0 x28: 00007dfeb2eb2d50 x27: ffff80008f681ff8
x26: ffffffffffffffff x25: dfff800000000000 x24: 1fffe0001a42b0f1
x23: ffff80008b3cf120 x22: dfff800000000000 x21: 0000000000000000
x20: ffff80008fd9d2c0 x19: ffff0000d2158000 x18: 1fffe000337d6476
x17: ffff80008f67e000 x16: ffff80008ae693c8 x15: ffff700011ee0158
x14: 1ffff00011ee0158 x13: 0000000000000004 x12: ffffffffffffffff
x11: ffff700011ee0158 x10: 0000000000ff0100 x9 : 5225a2cdd984ff00
x8 : 5225a2cdd984ff00 x7 : 0000000000000001 x6 : 0000000000000001
x5 : ffff80009f6e7538 x4 : ffff80008f776bc0 x3 : ffff80008054bf18
x2 : 0000000000000000 x1 : 0000000100000000 x0 : 000000000000002f
Call trace:
 generic_shutdown_super+0x2b4/0x2b8 fs/super.c:651 (P)
 kill_block_super+0x44/0x90 fs/super.c:1755
 deactivate_locked_super+0xc4/0x12c fs/super.c:474
 deactivate_super+0xe0/0x100 fs/super.c:507
 cleanup_mnt+0x31c/0x3ac fs/namespace.c:1417
 __cleanup_mnt+0x20/0x30 fs/namespace.c:1424
 task_work_run+0x1dc/0x260 kernel/task_work.c:227
 resume_user_mode_work include/linux/resume_user_mode.h:50 [inline]
 do_notify_resume+0x174/0x1f4 arch/arm64/kernel/entry-common.c:155
 exit_to_user_mode_prepare arch/arm64/kernel/entry-common.c:173 [inline]
 exit_to_user_mode arch/arm64/kernel/entry-common.c:182 [inline]
 el0_svc+0xb8/0x180 arch/arm64/kernel/entry-common.c:880
 el0t_64_sync_handler+0x84/0x12c arch/arm64/kernel/entry-common.c:898
 el0t_64_sync+0x198/0x19c arch/arm64/kernel/entry.S:596
Code: b0051b40 91230000 9119c261 97cf171b (d4210000) 
---[ end trace 0000000000000000 ]---

Crashes (7):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/07/18 01:26 git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux.git for-kernelci aaef6f251176 0d1223f1 .config console log report info [disk image] [vmlinux] [kernel image] 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 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/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.