syzbot


BUG: Dentry still in use [unmount of ramfs ramfs]

Status: upstream: reported C repro on 2021/03/19 07:18
Reported-by: syzbot+2217c8e933af50c33674@syzkaller.appspotmail.com
First crash: 628d, last: 306d
similar bugs (20):
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 371d 409d 0/2 closed as dup on 2021/10/28 13:08
android-5-10 BUG: Dentry still in use [unmount of ramfs ramfs] C error 3 410d 411d 1/2 fixed on 2021/12/01 19:46
android-5-10 BUG: Dentry still in use in unmount C done 1184 287d 299d 2/2 fixed on 2022/02/25 03:20
upstream BUG: Dentry still in use in unmount C 29 7d09h 102d 0/24 upstream: reported C repro on 2022/08/26 10:50
android-54 BUG: Dentry still in use [unmount of incremental-fs incremental-fs] C 13 406d 676d 0/2 upstream: reported C repro on 2021/01/29 12:48
android-5-10 BUG: Dentry still in use [unmount of incremental-fs incremental-fs] syz 2 406d 406d 0/2 closed as dup on 2021/10/28 13:08
android-54 BUG: Dentry still in use [unmount of vfat loop2] 5 409d 530d 0/2 auto-closed as invalid on 2022/02/21 04:30
android-5-10 BUG: Dentry still in use [unmount of overlay overlay] C error 2 404d 404d 0/2 closed as dup on 2021/10/29 08:14
android-54 BUG: Dentry still in use [unmount of overlay overlay] C 20 413d 712d 0/2 upstream: reported C repro on 2020/12/25 03:22
android-54 BUG: Dentry still in use [unmount of tmpfs tmpfs] C 10 503d 674d 0/2 upstream: reported C repro on 2021/02/01 05:18
upstream BUG: Dentry still in use [unmount of tmpfs tmpfs] 2 1277d 1277d 13/24 fixed on 2019/07/10 21:40
upstream BUG: Dentry still in use [unmount of tmpfs tmpfs] (2) 3 753d 749d 0/24 auto-closed as invalid on 2021/02/11 21:17
android-54 BUG: Dentry still in use [unmount of vfat loop5] 8 437d 721d 0/2 auto-closed as invalid on 2022/01/24 01:36
upstream KASAN: stack-out-of-bounds Read in iput C unreliable 10 32d 77d 0/24 upstream: reported C repro on 2022/09/20 10:35
upstream KASAN: use-after-free Read in iput (2) 6 540d 744d 0/24 auto-closed as invalid on 2021/10/12 21:28
android-54 BUG: Dentry still in use [unmount of vfat loop4] (2) 1 433d 433d 0/2 auto-closed as invalid on 2022/01/28 05:41
android-54 BUG: Dentry still in use [unmount of vfat loop4] 3 561d 713d 0/2 auto-closed as invalid on 2021/09/22 07:23
android-54 BUG: Dentry still in use [unmount of vfat loop0] C 47 406d 721d 0/2 upstream: reported C repro on 2020/12/16 10:16
android-5-10 BUG: Dentry still in use [unmount of vfat loop0] C error 6 406d 409d 0/2 closed as dup on 2021/10/28 13:08
android-54 BUG: Dentry still in use [unmount of vfat loop3] 6 518d 686d 0/2 auto-closed as invalid on 2021/11/04 02:41

Sample crash report:
incfs: Can't find or create .index dir in ./file0
BUG: Dentry ffff8881efb32220{i=0,n=.index}  still in use (1) [unmount of ramfs ramfs]
------------[ cut here ]------------
WARNING: CPU: 1 PID: 338 at fs/dcache.c:1597 umount_check+0x179/0x1c0 fs/dcache.c:1588
Modules linked in:
CPU: 1 PID: 338 Comm: syz-executor006 Not tainted 5.4.107-syzkaller-00754-g32de11228337 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:umount_check+0x179/0x1c0 fs/dcache.c:1588
Code: ff 4c 8b 0b 48 81 c5 20 04 00 00 48 c7 c7 e0 e9 e8 84 4c 89 fe 4c 89 f2 4c 89 f9 45 89 e8 31 c0 55 e8 87 db af ff 48 83 c4 08 <0f> 0b e9 fd fe ff ff 89 e9 80 e1 07 80 c1 03 38 c1 0f 8c d4 fe ff
RSP: 0018:ffff8881e97dfa60 EFLAGS: 00010296
RAX: 0000000000000055 RBX: ffffffff85fc1020 RCX: 7c045adca5806000
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000
RBP: ffff8881f162d420 R08: ffffffff814e8887 R09: ffffed103ede5e08
R10: ffffed103ede5e08 R11: 0000000000000000 R12: dffffc0000000000
R13: 0000000000000001 R14: 0000000000000000 R15: ffff8881efb32220
FS:  0000000001b10300(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00000000004b01d0 CR3: 0000000005e0e000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 d_walk+0x2d9/0x540 fs/dcache.c:1307
 do_one_tree fs/dcache.c:1604 [inline]
 shrink_dcache_for_umount+0x8a/0x1a0 fs/dcache.c:1620
 generic_shutdown_super+0x63/0x2a0 fs/super.c:447
 kill_anon_super fs/super.c:1108 [inline]
 kill_litter_super+0x71/0xa0 fs/super.c:1117
 deactivate_locked_super+0xaf/0x100 fs/super.c:335
 deactivate_super+0x1b3/0x270 fs/super.c:366
 cleanup_mnt+0x432/0x4e0 fs/namespace.c:1102
 task_work_run+0x186/0x1b0 kernel/task_work.c:113
 exit_task_work include/linux/task_work.h:22 [inline]
 do_exit+0xcb9/0x2bf0 kernel/exit.c:812
 do_group_exit+0x15c/0x2c0 kernel/exit.c:910
 __do_sys_exit_group+0x13/0x20 kernel/exit.c:921
 __se_sys_exit_group+0x10/0x10 kernel/exit.c:919
 __x64_sys_exit_group+0x37/0x40 kernel/exit.c:919
 do_syscall_64+0xcb/0x1e0 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x43e399
Code: Bad RIP value.
RSP: 002b:00007ffd3ba07118 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 00000000004af2f0 RCX: 000000000043e399
RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001
RBP: 0000000000000001 R08: ffffffffffffffc0 R09: 00000000004aa000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000004af2f0
R13: 0000000000000001 R14: 0000000000000000 R15: 0000000000000001
---[ end trace d5a6b8c1cf35b53f ]---

Crashes (476):
Manager Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Title
ci2-android-5-4-kasan 2021/03/24 17:16 android12-5.4 32de11228337 607e3baf .config log report syz C BUG: Dentry still in use [unmount of ramfs ramfs]
ci2-android-5-4-kasan 2021/03/19 07:34 android12-5.4 3941336d0e38 380dcc3e .config log report syz C BUG: Dentry still in use [unmount of ramfs ramfs]
ci2-android-5-4-kasan 2022/02/03 15:26 android12-5.4 ac3eac18e72e 4ebb2798 .config log report syz C BUG: Dentry still in use in unmount
ci2-android-5-4-kasan 2021/08/27 21:10 android12-5.4 f4bf8b65e48f 57b01c6e .config log report info BUG: Dentry still in use [unmount of ramfs ramfs]
ci2-android-5-4-kasan 2021/03/19 07:17 android12-5.4 3941336d0e38 380dcc3e .config log report info BUG: Dentry still in use [unmount of ramfs ramfs]
ci2-android-5-4-kasan 2022/02/04 08:48 android12-5.4 ac3eac18e72e 30646bfe .config log report info BUG: Dentry still in use in unmount
ci2-android-5-4-kasan 2022/02/04 07:47 android12-5.4 ac3eac18e72e 30646bfe .config log report info BUG: Dentry still in use in unmount
ci2-android-5-4-kasan 2022/02/04 06:16 android12-5.4 ac3eac18e72e 30646bfe .config log report info BUG: Dentry still in use in unmount
ci2-android-5-4-kasan 2022/02/04 04:57 android12-5.4 ac3eac18e72e 30646bfe .config log report info BUG: Dentry still in use in unmount
ci2-android-5-4-kasan 2022/02/04 03:19 android12-5.4 ac3eac18e72e 30646bfe .config log report info BUG: Dentry still in use in unmount
ci2-android-5-4-kasan 2022/02/04 02:03 android12-5.4 ac3eac18e72e 30646bfe .config log report info BUG: Dentry still in use in unmount
ci2-android-5-4-kasan 2022/02/04 00:49 android12-5.4 ac3eac18e72e 30646bfe .config log report info BUG: Dentry still in use in unmount
ci2-android-5-4-kasan 2022/02/03 23:15 android12-5.4 ac3eac18e72e 30646bfe .config log report info BUG: Dentry still in use in unmount
ci2-android-5-4-kasan 2022/02/03 22:04 android12-5.4 ac3eac18e72e 30646bfe .config log report info BUG: Dentry still in use in unmount
ci2-android-5-4-kasan 2022/02/03 19:40 android12-5.4 ac3eac18e72e 30646bfe .config log report info BUG: Dentry still in use in unmount
ci2-android-5-4-kasan 2022/02/03 18:13 android12-5.4 ac3eac18e72e 4ebb2798 .config log report info BUG: Dentry still in use in unmount
ci2-android-5-4-kasan 2022/02/03 17:31 android12-5.4 ac3eac18e72e 4ebb2798 .config log report info BUG: Dentry still in use in unmount
ci2-android-5-4-kasan 2022/02/03 13:45 android12-5.4 ac3eac18e72e 4ebb2798 .config log report info BUG: Dentry still in use in unmount
ci2-android-5-4-kasan 2022/02/03 12:43 android12-5.4 ac3eac18e72e 4ebb2798 .config log report info BUG: Dentry still in use in unmount
ci2-android-5-4-kasan 2022/02/03 11:15 android12-5.4 ac3eac18e72e 4ebb2798 .config log report info BUG: Dentry still in use in unmount
ci2-android-5-4-kasan 2022/02/03 10:09 android12-5.4 ac3eac18e72e 4ebb2798 .config log report info BUG: Dentry still in use in unmount
ci2-android-5-4-kasan 2022/02/03 09:26 android12-5.4 ac3eac18e72e 4ebb2798 .config log report info BUG: Dentry still in use in unmount
ci2-android-5-4-kasan 2022/02/03 08:07 android12-5.4 ac3eac18e72e 4ebb2798 .config log report info BUG: Dentry still in use in unmount
ci2-android-5-4-kasan 2022/02/03 06:24 android12-5.4 ac3eac18e72e 4ebb2798 .config log report info BUG: Dentry still in use in unmount
ci2-android-5-4-kasan 2022/02/03 02:13 android12-5.4 ac3eac18e72e 4ebb2798 .config log report info BUG: Dentry still in use in unmount
ci2-android-5-4-kasan 2022/02/03 00:59 android12-5.4 ac3eac18e72e 4ebb2798 .config log report info BUG: Dentry still in use in unmount
ci2-android-5-4-kasan 2022/02/03 00:21 android12-5.4 ac3eac18e72e 4ebb2798 .config log report info BUG: Dentry still in use in unmount
ci2-android-5-4-kasan 2022/02/02 23:12 android12-5.4 ac3eac18e72e 4ebb2798 .config log report info BUG: Dentry still in use in unmount
ci2-android-5-4-kasan 2022/02/02 22:11 android12-5.4 ac3eac18e72e 4ebb2798 .config log report info BUG: Dentry still in use in unmount
ci2-android-5-4-kasan 2022/02/02 20:54 android12-5.4 ac3eac18e72e 4ebb2798 .config log report info BUG: Dentry still in use in unmount
ci2-android-5-4-kasan 2022/02/02 20:10 android12-5.4 ac3eac18e72e 4ebb2798 .config log report info BUG: Dentry still in use in unmount
ci2-android-5-4-kasan 2022/02/02 19:09 android12-5.4 ac3eac18e72e 4ebb2798 .config log report info BUG: Dentry still in use in unmount
ci2-android-5-4-kasan 2022/02/02 18:05 android12-5.4 ac3eac18e72e 4ebb2798 .config log report info BUG: Dentry still in use in unmount
ci2-android-5-4-kasan 2022/02/02 16:45 android12-5.4 ac3eac18e72e 4ebb2798 .config log report info BUG: Dentry still in use in unmount
ci2-android-5-4-kasan 2022/02/02 15:39 android12-5.4 ac3eac18e72e 4ebb2798 .config log report info BUG: Dentry still in use in unmount
ci2-android-5-4-kasan 2022/02/02 13:54 android12-5.4 ac3eac18e72e 4ebb2798 .config log report info BUG: Dentry still in use in unmount
ci2-android-5-4-kasan 2022/02/02 13:51 android12-5.4 ac3eac18e72e 4ebb2798 .config log report info BUG: Dentry still in use in unmount
ci2-android-5-4-kasan 2022/02/02 12:29 android12-5.4 ac3eac18e72e 4ebb2798 .config log report info BUG: Dentry still in use in unmount
ci2-android-5-4-kasan 2022/02/02 09:40 android12-5.4 ac3eac18e72e 4ebb2798 .config log report info BUG: Dentry still in use in unmount
ci2-android-5-4-kasan 2022/02/02 03:16 android12-5.4 ac3eac18e72e 4ebb2798 .config log report info BUG: Dentry still in use in unmount
ci2-android-5-4-kasan 2022/02/02 01:55 android12-5.4 ac3eac18e72e 4ebb2798 .config log report info BUG: Dentry still in use in unmount
ci2-android-5-4-kasan 2022/02/02 00:47 android12-5.4 ac3eac18e72e 4ebb2798 .config log report info BUG: Dentry still in use in unmount
ci2-android-5-4-kasan 2022/02/02 00:13 android12-5.4 ac3eac18e72e 4ebb2798 .config log report info BUG: Dentry still in use in unmount
ci2-android-5-4-kasan 2022/02/01 23:08 android12-5.4 ac3eac18e72e 4ebb2798 .config log report info BUG: Dentry still in use in unmount
ci2-android-5-4-kasan 2022/02/01 22:04 android12-5.4 ac3eac18e72e c1c1631d .config log report info BUG: Dentry still in use in unmount
ci2-android-5-4-kasan 2022/02/01 20:57 android12-5.4 ac3eac18e72e c1c1631d .config log report info BUG: Dentry still in use in unmount
ci2-android-5-4-kasan 2022/02/01 18:33 android12-5.4 57f9b292a6a3 c1c1631d .config log report info BUG: Dentry still in use in unmount
ci2-android-5-4-kasan 2022/02/01 17:21 android12-5.4 57f9b292a6a3 c1c1631d .config log report info BUG: Dentry still in use in unmount
ci2-android-5-4-kasan 2022/02/01 16:12 android12-5.4 57f9b292a6a3 c1c1631d .config log report info BUG: Dentry still in use in unmount
ci2-android-5-4-kasan 2022/02/01 14:45 android12-5.4 57f9b292a6a3 c1c1631d .config log report info BUG: Dentry still in use in unmount
ci2-android-5-4-kasan 2022/02/01 13:20 android12-5.4 57f9b292a6a3 c1c1631d .config log report info BUG: Dentry still in use in unmount
* Struck through repros no longer work on HEAD.