syzbot


BUG: Dentry still in use [unmount of incremental-fs incremental-fs]

Status: auto-obsoleted due to no activity on 2023/04/22 16:04
Reported-by: syzbot+3ec337052432c73f8713@syzkaller.appspotmail.com
First crash: 1393d, last: 1123d
Similar bugs (4)
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 1087d 1126d 0/2 closed as dup on 2021/10/28 13:08
android-5-10 BUG: Dentry still in use in unmount C done 1184 1003d 1016d 2/2 fixed on 2022/02/25 03:20
android-54 BUG: Dentry still in use [unmount of ramfs ramfs] C 476 1022d 1345d 0/2 auto-obsoleted due to no activity on 2023/04/21 02:49
android-5-10 BUG: Dentry still in use [unmount of incremental-fs incremental-fs] syz 2 1123d 1123d 0/2 closed as dup on 2021/10/28 13:08
Last patch testing requests (2)
Created Duration User Patch Repo Result
2023/04/22 15:41 17m retest repro android12-5.4 OK log
2023/04/22 15:41 13m retest repro android12-5.4 OK log

Sample crash report:
incfs: Can't find or create .index dir in ./file0
BUG: Dentry 000000007364aa64{i=0,n=.index}  still in use (1) [unmount of incremental-fs incremental-fs]
------------[ cut here ]------------
WARNING: CPU: 0 PID: 363 at fs/dcache.c:1597 umount_check+0x179/0x1c0 fs/dcache.c:1588
Kernel panic - not syncing: panic_on_warn set ...
CPU: 0 PID: 363 Comm: syz-executor190 Not tainted 5.4.93-syzkaller-00590-g1e5f5a14faba #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
Call Trace:
 __dump_stack lib/dump_stack.c:77 [inline]
 dump_stack+0x1dd/0x24e lib/dump_stack.c:118
 panic+0x285/0x750 kernel/panic.c:221
 __warn+0x1fd/0x200 kernel/panic.c:582
 report_bug+0x390/0x4d0 lib/bug.c:195
 fixup_bug arch/x86/kernel/traps.c:179 [inline]
 do_error_trap arch/x86/kernel/traps.c:272 [inline]
 do_invalid_op+0x6e/0x110 arch/x86/kernel/traps.c:291
 invalid_op+0x1e/0x30 arch/x86/entry/entry_64.S:1029
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 63 55 1d 85 4c 89 fe 4c 89 f2 4c 89 f9 45 89 e8 31 c0 55 e8 07 36 b0 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:ffff8881e910f710 EFLAGS: 00010292
RAX: 0000000000000067 RBX: ffffffff8548f520 RCX: dd3296738f0bf900
RDX: 0000000000000000 RSI: 0000000080000002 RDI: 0000000000000000
RBP: ffff8881e93f0420 R08: ffffffff814e47a1 R09: ffffed103ee05e08
R10: ffffed103ee05e08 R11: 0000000000000000 R12: dffffc0000000000
R13: 0000000000000001 R14: 0000000000000000 R15: ffff8881eff5b440
 d_walk+0x2e9/0x570 fs/dcache.c:1307
 do_one_tree fs/dcache.c:1604 [inline]
 shrink_dcache_for_umount+0x8a/0x1b0 fs/dcache.c:1620
 generic_shutdown_super+0x63/0x2a0 fs/super.c:447
 incfs_kill_sb+0x3d/0x50 fs/incfs/vfs.c:1659
 deactivate_locked_super+0xaf/0x100 fs/super.c:335
 deactivate_super+0x1b8/0x280 fs/super.c:366
 cleanup_mnt+0x432/0x4e0 fs/namespace.c:1102
 task_work_run+0x176/0x1a0 kernel/task_work.c:113
 exit_task_work include/linux/task_work.h:22 [inline]
 do_exit+0xcc2/0x2830 kernel/exit.c:812
 do_group_exit+0x155/0x2b0 kernel/exit.c:910
 get_signal+0x13ec/0x1f00 kernel/signal.c:2745
 do_signal+0x92/0x5d0 arch/x86/kernel/signal.c:815
 exit_to_usermode_loop arch/x86/entry/common.c:159 [inline]
 prepare_exit_to_usermode+0x207/0x310 arch/x86/entry/common.c:194
 entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x44aa19
Code: Bad RIP value.
RSP: 002b:00007f5ecb84dcf8 EFLAGS: 00000246 ORIG_RAX: 00000000000000ca
RAX: fffffffffffffe00 RBX: 00000000006dcc28 RCX: 000000000044aa19
RDX: 0000000000000000 RSI: 0000000000000080 RDI: 00000000006dcc28
RBP: 00000000006dcc20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000006dcc2c
R13: 00007fff2cfb214f R14: 00007f5ecb84e9c0 R15: 00000000006dcc2c
Kernel Offset: disabled
Rebooting in 86400 seconds..

Crashes (13):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2021/01/29 13:11 android12-5.4 1e5f5a14faba 6593fd32 .config console log report syz C ci2-android-5-4-kasan BUG: Dentry still in use [unmount of incremental-fs incremental-fs]
2021/10/26 15:16 android12-5.4 eb4a5a5dbd5b d50eb50a .config console log report syz ci2-android-5-4-kasan BUG: Dentry still in use [unmount of incremental-fs incremental-fs]
2021/10/19 16:15 android12-5.4 5970ec26e0c8 24dc29db .config console log report info ci2-android-5-4-kasan BUG: Dentry still in use [unmount of incremental-fs incremental-fs]
2021/09/23 18:43 android12-5.4 546305780d82 8cac236e .config console log report info ci2-android-5-4-kasan BUG: Dentry still in use [unmount of incremental-fs incremental-fs]
2021/09/17 23:30 android12-5.4 546305780d82 70b76c1d .config console log report info ci2-android-5-4-kasan BUG: Dentry still in use [unmount of incremental-fs incremental-fs]
2021/07/09 04:41 android12-5.4 a57aec00e1ca 1b20171a .config console log report info ci2-android-5-4-kasan BUG: Dentry still in use [unmount of incremental-fs incremental-fs]
2021/07/08 20:39 android12-5.4 a57aec00e1ca 1b20171a .config console log report info ci2-android-5-4-kasan BUG: Dentry still in use [unmount of incremental-fs incremental-fs]
2021/05/25 19:17 android12-5.4 c6775ce1621b 93d3a9f6 .config console log report info ci2-android-5-4-kasan BUG: Dentry still in use [unmount of incremental-fs incremental-fs]
2021/05/11 14:01 android12-5.4 a899753924f5 ca873091 .config console log report info ci2-android-5-4-kasan BUG: Dentry still in use [unmount of incremental-fs incremental-fs]
2021/03/12 10:19 android12-5.4 11abbf486c2e 429d8a6b .config console log report info ci2-android-5-4-kasan BUG: Dentry still in use [unmount of incremental-fs incremental-fs]
2021/03/04 14:37 android12-5.4 1bc6e0b81914 d7e4e604 .config console log report info ci2-android-5-4-kasan BUG: Dentry still in use [unmount of incremental-fs incremental-fs]
2021/02/26 06:06 android12-5.4 741b0f4bedd5 76f7fc95 .config console log report info ci2-android-5-4-kasan BUG: Dentry still in use [unmount of incremental-fs incremental-fs]
2021/01/29 12:47 android12-5.4 1e5f5a14faba 6593fd32 .config console log report info ci2-android-5-4-kasan BUG: Dentry still in use [unmount of incremental-fs incremental-fs]
* Struck through repros no longer work on HEAD.