syzbot


BUG: Dentry still in use [unmount of msdos loop4]

Status: auto-closed as invalid on 2022/02/24 06:36
Reported-by: syzbot+9fed6d8ec0490cf8a49f@syzkaller.appspotmail.com
First crash: 1401d, last: 1123d

Sample crash report:
BUG: Dentry ffff8881a0245bb0{i=0,n=.index}  still in use (1) [unmount of msdos loop4]
------------[ cut here ]------------
WARNING: CPU: 1 PID: 320 at fs/dcache.c:1597 umount_check+0x179/0x1c0 fs/dcache.c:1588
Modules linked in:
CPU: 1 PID: 320 Comm: syz-executor.4 Not tainted 5.4.147-syzkaller-00038-g7eb444cc279e #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 20 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:ffff8881a6207cc0 EFLAGS: 00010296
RAX: 0000000000000055 RBX: ffffffff85dc6560 RCX: da42d5c0c6797b00
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000
RBP: ffff8881db801420 R08: ffffffff814b2a4c R09: ffffed103ede9608
R10: ffffed103ede9608 R11: 0000000000000000 R12: dffffc0000000000
R13: 0000000000000001 R14: 0000000000000000 R15: ffff8881a0245bb0
FS:  0000555555f16400(0000) GS:ffff8881f6f00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2d425000 CR3: 00000001a61d2000 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_block_super+0x79/0xd0 fs/super.c:1444
 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
 tracehook_notify_resume include/linux/tracehook.h:188 [inline]
 exit_to_usermode_loop arch/x86/entry/common.c:163 [inline]
 prepare_exit_to_usermode+0x2b0/0x310 arch/x86/entry/common.c:194
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x7f26521b6ea7
Code: ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffd94e49958 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f26521b6ea7
RDX: 00007ffd94e49a2b RSI: 0000000000000002 RDI: 00007ffd94e49a20
RBP: 00007ffd94e49a20 R08: 00000000ffffffff R09: 00007ffd94e497f0
R10: 0000555555f17b83 R11: 0000000000000246 R12: 00007f265220f035
R13: 00007ffd94e4aae0 R14: 0000555555f17b00 R15: 00007ffd94e4ab20
---[ end trace ddc120a339eac420 ]---
BUG: Dentry ffff8881a0245bb0{i=0,n=.index}  still in use (1) [unmount of msdos loop4]
------------[ cut here ]------------
WARNING: CPU: 0 PID: 320 at fs/dcache.c:1597 umount_check+0x179/0x1c0 fs/dcache.c:1588
Modules linked in:
CPU: 0 PID: 320 Comm: syz-executor.4 Tainted: G        W         5.4.147-syzkaller-00038-g7eb444cc279e #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 20 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:ffff8881a6207cc0 EFLAGS: 00010296
RAX: 0000000000000055 RBX: ffffffff85dc6560 RCX: da42d5c0c6797b00
RDX: 0000000000000000 RSI: 0000000000000003 RDI: 0000000000000000
RBP: ffff8881db801420 R08: ffffffff814b2a4c R09: ffffed103edc9608
R10: ffffed103edc9608 R11: 0000000000000000 R12: dffffc0000000000
R13: 0000000000000001 R14: 0000000000000000 R15: ffff8881a0245bb0
FS:  0000555555f16400(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f3cbfcd89d0 CR3: 00000001a61d2000 CR4: 00000000003406f0
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_block_super+0x79/0xd0 fs/super.c:1444
 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
 tracehook_notify_resume include/linux/tracehook.h:188 [inline]
 exit_to_usermode_loop arch/x86/entry/common.c:163 [inline]
 prepare_exit_to_usermode+0x2b0/0x310 arch/x86/entry/common.c:194
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x7f26521b6ea7
Code: ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 66 0f 1f 44 00 00 31 f6 e9 09 00 00 00 66 0f 1f 84 00 00 00 00 00 b8 a6 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 bc ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffd94e49958 EFLAGS: 00000246 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f26521b6ea7
RDX: 00007ffd94e49a2b RSI: 0000000000000002 RDI: 00007ffd94e49a20
RBP: 00007ffd94e49a20 R08: 00000000ffffffff R09: 00007ffd94e497f0
R10: 0000555555f17b83 R11: 0000000000000246 R12: 00007f265220f035
R13: 00007ffd94e4aae0 R14: 0000555555f17b00 R15: 00007ffd94e4ab20
---[ end trace ddc120a339eac422 ]---
VFS: Busy inodes after unmount of loop4. Self-destruct in 5 seconds.  Have a nice day...

Crashes (9):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/10/27 06:35 android12-5.4 7eb444cc279e d50eb50a .config console log report info ci2-android-5-4-kasan BUG: Dentry still in use [unmount of msdos loop4]
2021/08/16 02:32 android12-5.4 a8f2bcabf9c5 2489ab88 .config console log report info ci2-android-5-4-kasan BUG: Dentry still in use [unmount of msdos loop4]
2021/08/05 14:06 android12-5.4 e7e1f9adf836 7f7bb950 .config console log report info ci2-android-5-4-kasan BUG: Dentry still in use [unmount of msdos loop4]
2021/08/04 19:43 android12-5.4 e7e1f9adf836 b97d64c9 .config console log report info ci2-android-5-4-kasan BUG: Dentry still in use [unmount of msdos loop4]
2021/05/23 20:38 android12-5.4 c6775ce1621b 3c7fef33 .config console log report info ci2-android-5-4-kasan BUG: Dentry still in use [unmount of msdos loop4]
2021/04/24 12:38 android12-5.4 aa0556d71ff1 17f0b706 .config console log report info ci2-android-5-4-kasan BUG: Dentry still in use [unmount of msdos loop4]
2021/03/23 06:25 android12-5.4 c50ff8e5608b 8092f30d .config console log report info ci2-android-5-4-kasan BUG: Dentry still in use [unmount of msdos loop4]
2021/03/06 21:09 android12-5.4 1bd00b1a96b5 e4b4d570 .config console log report info ci2-android-5-4-kasan BUG: Dentry still in use [unmount of msdos loop4]
2021/01/22 10:17 android12-5.4 15cec007c4a8 d4f4eca5 .config console log report info ci2-android-5-4-kasan BUG: Dentry still in use [unmount of msdos loop4]
* Struck through repros no longer work on HEAD.