syzbot


BUG: corrupted list in __dentry_kill

Status: premoderation: reported on 2024/12/30 08:47
Reported-by: syzbot+83d8d613304e0a9f451b@syzkaller.appspotmail.com
First crash: 55d, last: 55d
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 2500d 2520d 5/28 fixed on 2018/05/08 18:30
android-54 BUG: corrupted list in __dentry_kill (2) C 4 2d01h 333d 0/2 upstream: reported C repro on 2024/03/27 11:32
linux-4.19 BUG: corrupted list in __dentry_kill 1 1773d 1773d 0/1 auto-closed as invalid on 2020/08/15 07:34
android-5-10 BUG: corrupted list in __dentry_kill C inconclusive 60 7d06h 333d 0/2 upstream: reported C repro on 2024/03/27 10:55
upstream BUG: corrupted list in __dentry_kill (2) fs C done 4945 1900d 1900d 15/28 fixed on 2020/02/18 14:31
android-6-1 BUG: corrupted list in __dentry_kill (2) 1 13d 13d 0/2 premoderation: reported on 2025/02/09 22:49
android-54 BUG: corrupted list in __dentry_kill 1 691d 691d 0/2 auto-obsoleted due to no activity on 2023/08/01 17:00
android-6-1 BUG: corrupted list in __dentry_kill 2 198d 225d 0/2 auto-obsoleted due to no activity on 2024/11/07 13:03

Sample crash report:
R10: 000000000000000a R11: 0000000000000246 R12: 00007ffe66daa130
R13: 00007f9dfcb838f4 R14: 00005555742434a8 R15: 00000000000000b4
 </TASK>
---[ end trace 4c7d5e5609a6e3ae ]---
list_del corruption. prev->next should be ffff88810cbef6f0, but was ffff888131cc65f0
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:61!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 296 Comm: syz-executor Tainted: G        W         5.15.173-syzkaller-00161-gb4bd207b0380 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024
RIP: 0010:__list_del_entry_valid+0x10c/0x120 lib/list_debug.c:59
Code: 4c 89 f6 e8 e6 87 76 02 0f 0b 48 c7 c7 c0 4d a3 85 4c 89 f6 e8 d5 87 76 02 0f 0b 48 c7 c7 20 4e a3 85 4c 89 f6 e8 c4 87 76 02 <0f> 0b 48 c7 c7 80 4e a3 85 4c 89 f6 e8 b3 87 76 02 0f 0b cc 55 48
RSP: 0018:ffffc90000a57a98 EFLAGS: 00010246
RAX: 0000000000000054 RBX: ffff888131cc65f0 RCX: b85a78cf373b8d00
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000
RBP: ffffc90000a57ab8 R08: ffffffff8157a035 R09: ffffed103ee265e8
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff88810cbef6b8 R14: ffff88810cbef6f0 R15: ffff88811110bc40
FS:  0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2ee1389000 CR3: 0000000110be0000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 __list_del_entry include/linux/list.h:132 [inline]
 dentry_unlist fs/dcache.c:529 [inline]
 __dentry_kill+0x250/0x660 fs/dcache.c:582
 dentry_kill+0xc0/0x2a0
 dput+0x45/0x80 fs/dcache.c:893
 incfs_free_mount_info+0x60/0x210 fs/incfs/data_mgmt.c:166
 incfs_kill_sb+0x1d4/0x230 fs/incfs/vfs.c:1997
 deactivate_locked_super+0xad/0x110 fs/super.c:335
 deactivate_super+0xbe/0xf0 fs/super.c:366
 cleanup_mnt+0x45c/0x510 fs/namespace.c:1143
 __cleanup_mnt+0x19/0x20 fs/namespace.c:1150
 task_work_run+0x129/0x190 kernel/task_work.c:188
 exit_task_work include/linux/task_work.h:33 [inline]
 do_exit+0xc48/0x2ca0 kernel/exit.c:880
 do_group_exit+0x141/0x310 kernel/exit.c:1002
 __do_sys_exit_group kernel/exit.c:1013 [inline]
 __se_sys_exit_group kernel/exit.c:1011 [inline]
 __x64_sys_exit_group+0x3f/0x40 kernel/exit.c:1011
 x64_sys_call+0x610/0x9a0 arch/x86/include/generated/asm/syscalls_64.h:232
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f9dfcb07d29
Code: Unable to access opcode bytes at RIP 0x7f9dfcb07cff.
RSP: 002b:00007ffe66da8e78 EFLAGS: 00000246 ORIG_RAX: 00000000000000e7
RAX: ffffffffffffffda RBX: 00007f9dfcb83966 RCX: 00007f9dfcb07d29
RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000000000001
RBP: 0000000000000016 R08: 00007ffe66da6c16 R09: 00007ffe66daa130
R10: 000000000000000a R11: 0000000000000246 R12: 00007ffe66daa130
R13: 00007f9dfcb838f4 R14: 00005555742434a8 R15: 00000000000000b4
 </TASK>
Modules linked in:
---[ end trace 4c7d5e5609a6e3af ]---
RIP: 0010:__list_del_entry_valid+0x10c/0x120 lib/list_debug.c:59
Code: 4c 89 f6 e8 e6 87 76 02 0f 0b 48 c7 c7 c0 4d a3 85 4c 89 f6 e8 d5 87 76 02 0f 0b 48 c7 c7 20 4e a3 85 4c 89 f6 e8 c4 87 76 02 <0f> 0b 48 c7 c7 80 4e a3 85 4c 89 f6 e8 b3 87 76 02 0f 0b cc 55 48
RSP: 0018:ffffc90000a57a98 EFLAGS: 00010246
RAX: 0000000000000054 RBX: ffff888131cc65f0 RCX: b85a78cf373b8d00
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000
RBP: ffffc90000a57ab8 R08: ffffffff8157a035 R09: ffffed103ee265e8
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff88810cbef6b8 R14: ffff88810cbef6f0 R15: ffff88811110bc40
FS:  0000000000000000(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f2ee1389000 CR3: 0000000110be0000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (1):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/12/30 08:46 android13-5.15-lts b4bd207b0380 d3ccff63 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-15 BUG: corrupted list in __dentry_kill
* Struck through repros no longer work on HEAD.