syzbot


BUG: corrupted list in __dentry_kill (2)

Status: premoderation: reported on 2025/02/09 22:49
Reported-by: syzbot+bb5c2332cea4fb0c894d@syzkaller.appspotmail.com
First crash: 78d, last: 8d07h
Similar bugs (8)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: corrupted list in __dentry_kill fs C 35 2565d 2585d 5/28 fixed on 2018/05/08 18:30
android-54 BUG: corrupted list in __dentry_kill (2) C 10 4d08h 397d 0/2 upstream: reported C repro on 2024/03/27 11:32
linux-4.19 BUG: corrupted list in __dentry_kill 1 1838d 1838d 0/1 auto-closed as invalid on 2020/08/15 07:34
android-5-15 BUG: corrupted list in __dentry_kill 1 120d 120d 0/2 auto-obsoleted due to no activity on 2025/03/30 08:49
android-5-10 BUG: corrupted list in __dentry_kill C inconclusive 70 1d17h 397d 0/2 upstream: reported C repro on 2024/03/27 10:55
upstream BUG: corrupted list in __dentry_kill (2) fs C done 4945 1965d 1965d 15/28 fixed on 2020/02/18 14:31
android-54 BUG: corrupted list in __dentry_kill 1 756d 756d 0/2 auto-obsoleted due to no activity on 2023/08/01 17:00
android-6-1 BUG: corrupted list in __dentry_kill 2 262d 290d 0/2 auto-obsoleted due to no activity on 2024/11/07 13:03

Sample crash report:
R13: 00007ff890c10854 R14: 000000000000d553 R15: 00007ffd9efde450
 </TASK>
---[ end trace 0000000000000000 ]---
list_del corruption. prev->next should be ffff8881114a3b30, but was ffff888135861910. (prev=ffff8881114a34d0)
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:61!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 297 Comm: syz-executor Tainted: G        W          6.1.129-syzkaller-00014-gbc3d1d352ab6 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/12/2025
RIP: 0010:__list_del_entry_valid+0x10f/0x130 lib/list_debug.c:59
Code: e8 d1 9e 9d 02 0f 0b 48 c7 c7 20 0d ea 85 4c 89 fe e8 c0 9e 9d 02 0f 0b 48 c7 c7 80 0d ea 85 4c 89 fe 48 89 d9 e8 ac 9e 9d 02 <0f> 0b 48 c7 c7 00 0e ea 85 4c 89 fe 4c 89 f1 e8 98 9e 9d 02 0f 0b
RSP: 0018:ffffc9000dacfb88 EFLAGS: 00010246
RAX: 000000000000006d RBX: ffff8881114a34d0 RCX: bdb7e6cdaed5a800
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000
RBP: ffffc9000dacfba8 R08: ffffffff815b1065 R09: 0000000000000003
R10: ffffffffffffffff R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff8881114a3af8 R14: ffff888135861910 R15: ffff8881114a3b30
FS:  000055555eb20500(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c32a771 CR3: 000000012f8f4000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __list_del_entry include/linux/list.h:134 [inline]
 dentry_unlist fs/dcache.c:554 [inline]
 __dentry_kill+0x250/0x650 fs/dcache.c:607
 dentry_kill+0xc0/0x2a0 fs/dcache.c:-1
 dput+0x40/0x80 fs/dcache.c:918
 incfs_free_mount_info+0x60/0x210 fs/incfs/data_mgmt.c:166
 incfs_kill_sb+0x1d4/0x230 fs/incfs/vfs.c:2003
 deactivate_locked_super+0xad/0x110 fs/super.c:334
 deactivate_super+0xbe/0xf0 fs/super.c:365
 cleanup_mnt+0x485/0x510 fs/namespace.c:1186
 __cleanup_mnt+0x19/0x20 fs/namespace.c:1193
 task_work_run+0x24d/0x2e0 kernel/task_work.c:203
 resume_user_mode_work include/linux/resume_user_mode.h:49 [inline]
 exit_to_user_mode_loop+0x94/0xa0 kernel/entry/common.c:177
 exit_to_user_mode_prepare+0x5a/0xa0 kernel/entry/common.c:210
 __syscall_exit_to_user_mode_work kernel/entry/common.c:292 [inline]
 syscall_exit_to_user_mode+0x26/0x130 kernel/entry/common.c:303
 do_syscall_64+0x47/0x80 arch/x86/entry/common.c:87
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7ff890b8f497
Code: a8 ff ff ff f7 d8 64 89 01 48 83 c8 ff c3 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 00 f0 ff ff 77 01 c3 48 c7 c2 a8 ff ff ff f7 d8 64 89 02 b8
RSP: 002b:00007ffd9efdd2c8 EFLAGS: 00000202 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007ff890b8f497
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffd9efdd380
RBP: 00007ffd9efdd380 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000202 R12: 00007ffd9efde410
R13: 00007ff890c10854 R14: 000000000000d553 R15: 00007ffd9efde450
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__list_del_entry_valid+0x10f/0x130 lib/list_debug.c:59
Code: e8 d1 9e 9d 02 0f 0b 48 c7 c7 20 0d ea 85 4c 89 fe e8 c0 9e 9d 02 0f 0b 48 c7 c7 80 0d ea 85 4c 89 fe 48 89 d9 e8 ac 9e 9d 02 <0f> 0b 48 c7 c7 00 0e ea 85 4c 89 fe 4c 89 f1 e8 98 9e 9d 02 0f 0b
RSP: 0018:ffffc9000dacfb88 EFLAGS: 00010246
RAX: 000000000000006d RBX: ffff8881114a34d0 RCX: bdb7e6cdaed5a800
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000
RBP: ffffc9000dacfba8 R08: ffffffff815b1065 R09: 0000000000000003
R10: ffffffffffffffff R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff8881114a3af8 R14: ffff888135861910 R15: ffff8881114a3b30
FS:  000055555eb20500(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c32a771 CR3: 000000012f8f4000 CR4: 00000000003506b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/04/21 02:55 android14-6.1 bc3d1d352ab6 2a20f901 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: corrupted list in __dentry_kill
2025/02/09 22:49 android14-6.1 1ac09f5c0571 ef44b750 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: corrupted list in __dentry_kill
* Struck through repros no longer work on HEAD.