syzbot


BUG: Dentry still in use [unmount of tmpfs tmpfs] (2)

Status: auto-closed as invalid on 2021/02/11 21:17
Subsystems: fs
[Documentation on labels]
Reported-by: syzbot+f589fc75b4fa7efa56ce@syzkaller.appspotmail.com
First crash: 1252d, last: 1252d
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
android-5-10 BUG: Dentry still in use [unmount of ext4 loop0] C error 63 869d 908d 0/2 closed as dup on 2021/10/28 13:08
android-5-10 BUG: Dentry still in use in unmount C done 1184 785d 798d 2/2 fixed on 2022/02/25 03:20
android-54 BUG: Dentry still in use [unmount of ramfs ramfs] C 476 804d 1126d 0/2 auto-obsoleted due to no activity on 2023/04/21 02:49
android-54 BUG: Dentry still in use [unmount of tmpfs tmpfs] C 10 1002d 1173d 0/2 auto-obsoleted due to no activity on 2023/04/20 14:51
upstream BUG: Dentry still in use [unmount of tmpfs tmpfs] fs 2 1776d 1775d 12/26 fixed on 2019/07/10 21:40

Sample crash report:
BUG: Dentry 0000000041145867{i=4,n=file1}  still in use (1) [unmount of tmpfs tmpfs]
------------[ cut here ]------------
WARNING: CPU: 0 PID: 8528 at fs/dcache.c:1616 umount_check fs/dcache.c:1607 [inline]
WARNING: CPU: 0 PID: 8528 at fs/dcache.c:1616 umount_check.cold+0xe6/0x10a fs/dcache.c:1597
Modules linked in:
CPU: 0 PID: 8528 Comm: syz-executor.0 Not tainted 5.10.0-rc3-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:umount_check fs/dcache.c:1616 [inline]
RIP: 0010:umount_check.cold+0xe6/0x10a fs/dcache.c:1597
Code: af 4f 04 f9 4c 8b 7b 40 e8 56 d6 c2 f8 4d 89 f1 45 89 e0 48 89 e9 41 55 4c 89 fa 48 89 ee 48 c7 c7 00 e2 57 89 e8 54 06 ff ff <0f> 0b 58 e9 e0 ac 14 f9 e8 7c 4f 04 f9 e9 2e ff ff ff 48 89 df e8
RSP: 0018:ffffc9000170fce8 EFLAGS: 00010282
RAX: 0000000000000054 RBX: ffff88807222bf00 RCX: 0000000000000000
RDX: ffff888015f28000 RSI: ffffffff8158e0c5 RDI: fffff520002e1f8f
RBP: ffff88802e719be8 R08: 0000000000000054 R09: ffff8880b9e309e7
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000001
R13: ffff888070de46a8 R14: ffffffff895481a0 R15: 0000000000000004
FS:  0000000002b48940(0000) GS:ffff8880b9e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000000118c000 CR3: 0000000057734000 CR4: 00000000001506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 d_walk+0x228/0x870 fs/dcache.c:1326
 do_one_tree fs/dcache.c:1623 [inline]
 shrink_dcache_for_umount+0x87/0x330 fs/dcache.c:1639
 generic_shutdown_super+0x68/0x370 fs/super.c:447
 kill_anon_super fs/super.c:1108 [inline]
 kill_litter_super+0x6e/0xa0 fs/super.c:1117
 deactivate_locked_super+0x94/0x160 fs/super.c:335
 deactivate_super+0xad/0xd0 fs/super.c:366
 cleanup_mnt+0x3a3/0x530 fs/namespace.c:1118
 task_work_run+0xdd/0x190 kernel/task_work.c:151
 tracehook_notify_resume include/linux/tracehook.h:188 [inline]
 exit_to_user_mode_loop kernel/entry/common.c:164 [inline]
 exit_to_user_mode_prepare+0x17e/0x1a0 kernel/entry/common.c:191
 syscall_exit_to_user_mode+0x38/0x260 kernel/entry/common.c:266
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x4608e7
Code: 64 89 04 25 d0 02 00 00 58 5f ff d0 48 89 c7 e8 2f be ff ff 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 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
RSP: 002b:00007ffe4fb9db28 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 000000000006240c RCX: 00000000004608e7
RDX: 00000000004031f8 RSI: 0000000000000002 RDI: 00007ffe4fb9dbd0
RBP: 00000000000003b1 R08: 0000000000000000 R09: 000000000000000b
R10: 0000000000000005 R11: 0000000000000246 R12: 00007ffe4fb9ec60
R13: 0000000002b49a60 R14: 0000000000000000 R15: 00007ffe4fb9ec60

Crashes (3):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/11/13 21:16 upstream 585e5b17b92d e1140d25 .config console log report info ci-upstream-kasan-gce-root
2020/11/13 20:21 upstream 585e5b17b92d e1140d25 .config console log report info ci-upstream-kasan-gce-smack-root
2020/11/13 18:26 linux-next 92edc4aef867 e1140d25 .config console log report info ci-upstream-linux-next-kasan-gce-root
* Struck through repros no longer work on HEAD.