syzbot


BUG: corrupted list in __dentry_kill

Status: premoderation: reported on 2024/07/13 01:23
Reported-by: syzbot+3e0d07e566fc28fae781@syzkaller.appspotmail.com
First crash: 83d, last: 56d
Similar bugs (6)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: corrupted list in __dentry_kill fs C 35 2358d 2378d 5/28 fixed on 2018/05/08 18:30
android-54 BUG: corrupted list in __dentry_kill (2) C 1 36d 191d 0/2 upstream: reported C repro on 2024/03/27 11:32
linux-4.19 BUG: corrupted list in __dentry_kill 1 1631d 1631d 0/1 auto-closed as invalid on 2020/08/15 07:34
android-5-10 BUG: corrupted list in __dentry_kill C inconclusive 9 46d 191d 0/2 upstream: reported C repro on 2024/03/27 10:55
upstream BUG: corrupted list in __dentry_kill (2) fs C done 4945 1758d 1758d 15/28 fixed on 2020/02/18 14:31
android-54 BUG: corrupted list in __dentry_kill 1 550d 550d 0/2 auto-obsoleted due to no activity on 2023/08/01 17:00

Sample crash report:
R10: 00000000ffffffff R11: 0000000000000246 R12: 00007ffcfcdc4e70
R13: 00007f41643e578c R14: 0000000000036564 R15: 00007ffcfcdc4eb0
 </TASK>
---[ end trace 0000000000000000 ]---
list_del corruption. prev->next should be ffff88811c47a090, but was ffff88811c47a910. (prev=ffff88811c47aa20)
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:61!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 4224 Comm: syz-executor Tainted: G        W          6.1.90-syzkaller-00003-gbe8ff39d2e99 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/27/2024
RIP: 0010:__list_del_entry_valid+0x10f/0x130 lib/list_debug.c:59
Code: e8 f1 a7 9b 02 0f 0b 48 c7 c7 80 fe c9 85 4c 89 fe e8 e0 a7 9b 02 0f 0b 48 c7 c7 e0 fe c9 85 4c 89 fe 48 89 d9 e8 cc a7 9b 02 <0f> 0b 48 c7 c7 60 ff c9 85 4c 89 fe 4c 89 f1 e8 b8 a7 9b 02 0f 0b
RSP: 0018:ffffc90009a17b88 EFLAGS: 00010246
RAX: 000000000000006d RBX: ffff88811c47aa20 RCX: 39eb9300e17de100
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000
RBP: ffffc90009a17ba8 R08: ffffffff815b2d15 R09: fffff52001342f0d
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff88811c47a058 R14: ffff88811c47a910 R15: ffff88811c47a090
FS:  000055555617e500(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005555561a14e8 CR3: 000000012f22a000 CR4: 00000000003506a0
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:550 [inline]
 __dentry_kill+0x250/0x650 fs/dcache.c:603
 dentry_kill+0xc0/0x2a0
 dput+0x40/0x80 fs/dcache.c:914
 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:179
 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/0xb0 arch/x86/entry/common.c:87
 entry_SYSCALL_64_after_hwframe+0x68/0xd2
RIP: 0033:0x7f4164378d27
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:00007ffcfcdc3d38 EFLAGS: 00000202 ORIG_RAX: 00000000000000a6
RAX: 0000000000000000 RBX: 0000000000000000 RCX: 00007f4164378d27
RDX: 0000000000000000 RSI: 0000000000000009 RDI: 00007ffcfcdc3df0
RBP: 00007ffcfcdc3df0 R08: 0000000000000000 R09: 0000000000000000
R10: 00000000ffffffff R11: 0000000000000202 R12: 00007ffcfcdc4e70
R13: 00007f41643e578c R14: 0000000000036564 R15: 00007ffcfcdc4eb0
 </TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__list_del_entry_valid+0x10f/0x130 lib/list_debug.c:59
Code: e8 f1 a7 9b 02 0f 0b 48 c7 c7 80 fe c9 85 4c 89 fe e8 e0 a7 9b 02 0f 0b 48 c7 c7 e0 fe c9 85 4c 89 fe 48 89 d9 e8 cc a7 9b 02 <0f> 0b 48 c7 c7 60 ff c9 85 4c 89 fe 4c 89 f1 e8 b8 a7 9b 02 0f 0b
RSP: 0018:ffffc90009a17b88 EFLAGS: 00010246
RAX: 000000000000006d RBX: ffff88811c47aa20 RCX: 39eb9300e17de100
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000
RBP: ffffc90009a17ba8 R08: ffffffff815b2d15 R09: fffff52001342f0d
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff88811c47a058 R14: ffff88811c47a910 R15: ffff88811c47a090
FS:  000055555617e500(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00005555561a14e8 CR3: 000000012f22a000 CR4: 00000000003506a0
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
2024/08/09 12:58 android14-6.1 be8ff39d2e99 a83d9288 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-6-1 BUG: corrupted list in __dentry_kill
2024/07/13 01:22 android14-6.1 96d66062d076 eaeb5c15 .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.