syzbot


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

Status: auto-obsoleted due to no activity on 2023/04/23 14:00
Reported-by: syzbot+f281dee6f8bb07dba42a@syzkaller.appspotmail.com
First crash: 1405d, last: 1125d
Similar bugs (3)
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 1088d 1126d 0/2 closed as dup on 2021/10/28 13:08
upstream BUG: Dentry still in use [unmount of sysfs sysfs] kernfs C done 6 1987d 1987d 12/28 fixed on 2019/07/10 21:40
android-5-10 BUG: Dentry still in use [unmount of sysfs sysfs] C error 4 1124d 1125d 0/2 closed as dup on 2021/10/28 13:08
Last patch testing requests (2)
Created Duration User Patch Repo Result
2023/04/23 13:24 21m retest repro android12-5.4 OK log
2023/04/23 13:24 20m retest repro android12-5.4 OK log

Sample crash report:
BUG: Dentry ffff8881e6ac4660{i=0,n=.index}  still in use (1) [unmount of sysfs sysfs]
------------[ cut here ]------------
WARNING: CPU: 1 PID: 299 at fs/dcache.c:1597 umount_check+0x179/0x1c0 fs/dcache.c:1588
Modules linked in:
CPU: 1 PID: 299 Comm: syz-executor704 Not tainted 5.4.147-syzkaller-00036-geb4a5a5dbd5b #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 14 c9 84 4c 89 fe 4c 89 f2 4c 89 f9 45 89 e8 31 c0 55 e8 b7 0e b3 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:ffff8881de57fb38 EFLAGS: 00010282
RAX: 0000000000000055 RBX: ffffffff85d94600 RCX: 3479571c9795b300
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000
RBP: ffff8881de752420 R08: ffffffff814b2a4c R09: ffffed103bcaff1f
R10: ffffed103bcaff1f R11: 0000000000000000 R12: dffffc0000000000
R13: 0000000000000001 R14: 0000000000000000 R15: ffff8881e6ac4660
FS:  0000555556edf300(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2224b601d0 CR3: 00000001edc8f000 CR4: 00000000003406e0
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+0x36/0x60 fs/super.c:1108
 kernfs_kill_sb+0x127/0x140 fs/kernfs/mount.c:360
 sysfs_kill_sb+0x1e/0x30 fs/sysfs/mount.c:86
 deactivate_locked_super+0xaf/0x100 fs/super.c:335
 deactivate_super+0x168/0x210 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+0xc0a/0x2aa0 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:0x7f2224aeb529
Code: Bad RIP value.
RSP: 002b:00007fff709ed568 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 00007f2224b5f330 RCX: 00007f2224aeb529
RDX: 000000000000003c RSI: 00000000000000e7 RDI: 0000000000000001
RBP: 0000000000000001 R08: ffffffffffffffc0 R09: 0000

Crashes (12):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/10/25 03:28 android12-5.4 eb4a5a5dbd5b 4f0000ee .config console log report syz C ci2-android-5-4-kasan BUG: Dentry still in use [unmount of sysfs sysfs]
2021/01/17 21:11 android12-5.4 dc04463953b2 fd103621 .config console log report syz C ci2-android-5-4-kasan BUG: Dentry still in use [unmount of sysfs sysfs]
2021/10/03 00:57 android12-5.4 1e429b8f9eb9 db0f5787 .config console log report info ci2-android-5-4-kasan BUG: Dentry still in use [unmount of sysfs sysfs]
2021/08/18 22:28 android12-5.4 a8f2bcabf9c5 a2fe1cb5 .config console log report info ci2-android-5-4-kasan BUG: Dentry still in use [unmount of sysfs sysfs]
2021/05/20 10:12 android12-5.4 06fadb540e1e a343ba6b .config console log report info ci2-android-5-4-kasan BUG: Dentry still in use [unmount of sysfs sysfs]
2021/05/14 08:08 android12-5.4 4c8dca3dae41 8bdd5343 .config console log report info ci2-android-5-4-kasan BUG: Dentry still in use [unmount of sysfs sysfs]
2021/04/29 15:47 android12-5.4 b85a381911e6 77e2b668 .config console log report info ci2-android-5-4-kasan BUG: Dentry still in use [unmount of sysfs sysfs]
2021/04/02 09:26 android12-5.4 708026dc169c 6a81331a .config console log report info ci2-android-5-4-kasan BUG: Dentry still in use [unmount of sysfs sysfs]
2021/03/26 11:16 android12-5.4 7af03784d889 a8529b82 .config console log report info ci2-android-5-4-kasan BUG: Dentry still in use [unmount of sysfs sysfs]
2021/03/20 13:48 android12-5.4 c2f379e025e4 e45f5621 .config console log report info ci2-android-5-4-kasan BUG: Dentry still in use [unmount of sysfs sysfs]
2021/02/06 11:41 android12-5.4 3e99096f6219 23a562df .config console log report info ci2-android-5-4-kasan BUG: Dentry still in use [unmount of sysfs sysfs]
2021/01/25 21:28 android12-5.4 18b1db92afb1 52e37319 .config console log report info ci2-android-5-4-kasan BUG: Dentry still in use [unmount of sysfs sysfs]
* Struck through repros no longer work on HEAD.