syzbot


BUG: corrupted list in __dentry_kill

Status: upstream: reported C repro on 2024/03/27 10:55
Reported-by: syzbot+b64ce08e31a10a8d28c6@syzkaller.appspotmail.com
First crash: 239d, last: 1d06h
Fix bisection: the issue occurs on the latest tested release (bisect log)
  
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 2406d 2426d 5/28 fixed on 2018/05/08 18:30
android-54 BUG: corrupted list in __dentry_kill (2) C 1 14d 239d 0/2 upstream: reported C repro on 2024/03/27 11:32
linux-4.19 BUG: corrupted list in __dentry_kill 1 1679d 1679d 0/1 auto-closed as invalid on 2020/08/15 07:34
upstream BUG: corrupted list in __dentry_kill (2) fs C done 4945 1806d 1806d 15/28 fixed on 2020/02/18 14:31
android-54 BUG: corrupted list in __dentry_kill 1 598d 598d 0/2 auto-obsoleted due to no activity on 2023/08/01 17:00
android-6-1 BUG: corrupted list in __dentry_kill 2 104d 131d 0/2 auto-obsoleted due to no activity on 2024/11/07 13:03
Last patch testing requests (3)
Created Duration User Patch Repo Result
2024/10/15 03:35 0m retest repro android13-5.10-lts error
2024/08/04 21:20 10m retest repro android13-5.10-lts report log
2024/04/10 19:53 5m retest repro android13-5.10-lts report log

Sample crash report:
R13: 00007ffeae1806e8 R14: 0000000000000001 R15: 0000000000000001
---[ end trace c35cd741cfec422e ]---
list_del corruption. prev->next should be ffff88811c8e55e0, but was ffff88811c8e5910
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:61!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 286 Comm: syz-executor270 Tainted: G        W         5.10.209-syzkaller-00001-ge7daca75b4c3 #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024
RIP: 0010:__list_del_entry_valid+0x10c/0x120 lib/list_debug.c:59
Code: 4c 89 f6 e8 e5 cc 54 02 0f 0b 48 c7 c7 40 0e 60 85 4c 89 f6 e8 d4 cc 54 02 0f 0b 48 c7 c7 a0 0e 60 85 4c 89 f6 e8 c3 cc 54 02 <0f> 0b 48 c7 c7 00 0f 60 85 4c 89 f6 e8 b2 cc 54 02 0f 0b cc 55 48
RSP: 0018:ffffc90000bd7aa0 EFLAGS: 00010246
RAX: 0000000000000054 RBX: ffff88811c8e5910 RCX: 14ebe5f559437900
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000
RBP: ffffc90000bd7ac0 R08: ffffffff81521d98 R09: fffff5200017ae6d
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff88811c8e55a8 R14: ffff88811c8e55e0 R15: ffff88811c8e5d50
FS:  0000555555a44380(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020004b30 CR3: 000000011e700000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __list_del_entry include/linux/list.h:132 [inline]
 dentry_unlist fs/dcache.c:522 [inline]
 __dentry_kill+0x250/0x650 fs/dcache.c:575
 dentry_kill+0xc0/0x2a0
 dput+0x160/0x310 fs/dcache.c:878
 path_put+0x39/0x60 fs/namei.c:499
 dentry_release+0x52/0xb0 fs/incfs/vfs.c:1563
 __dentry_kill+0x4ad/0x650 fs/dcache.c:584
 dentry_kill+0xc0/0x2a0
 dput+0x160/0x310 fs/dcache.c:878
 do_renameat2+0x9ae/0x1130 fs/namei.c:4609
 __do_sys_renameat2 fs/namei.c:4643 [inline]
 __se_sys_renameat2 fs/namei.c:4640 [inline]
 __x64_sys_renameat2+0xdd/0xf0 fs/namei.c:4640
 do_syscall_64+0x34/0x70
 entry_SYSCALL_64_after_hwframe+0x61/0xc6
RIP: 0033:0x7f2b88f22529
Code: 48 83 c4 28 c3 e8 37 17 00 00 0f 1f 80 00 00 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 b8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007ffeae180528 EFLAGS: 00000246 ORIG_RAX: 000000000000013c
RAX: ffffffffffffffda RBX: 0030656c69662f2e RCX: 00007f2b88f22529
RDX: 00000000ffffff9c RSI: 0000000020004b00 RDI: 0000000000000003
RBP: 00007f2b88f95610 R08: 0000000000000000 R09: 00007ffeae1806f8
R10: 0000000020000100 R11: 0000000000000246 R12: 0000000000000001
R13: 00007ffeae1806e8 R14: 0000000000000001 R15: 0000000000000001
Modules linked in:
---[ end trace c35cd741cfec422f ]---
RIP: 0010:__list_del_entry_valid+0x10c/0x120 lib/list_debug.c:59
Code: 4c 89 f6 e8 e5 cc 54 02 0f 0b 48 c7 c7 40 0e 60 85 4c 89 f6 e8 d4 cc 54 02 0f 0b 48 c7 c7 a0 0e 60 85 4c 89 f6 e8 c3 cc 54 02 <0f> 0b 48 c7 c7 00 0f 60 85 4c 89 f6 e8 b2 cc 54 02 0f 0b cc 55 48
RSP: 0018:ffffc90000bd7aa0 EFLAGS: 00010246
RAX: 0000000000000054 RBX: ffff88811c8e5910 RCX: 14ebe5f559437900
RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000000
RBP: ffffc90000bd7ac0 R08: ffffffff81521d98 R09: fffff5200017ae6d
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff88811c8e55a8 R14: ffff88811c8e55e0 R15: ffff88811c8e5d50
FS:  0000555555a44380(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020004b30 CR3: 000000011e700000 CR4: 00000000003506a0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400

Crashes (17):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2024/03/27 10:50 android13-5.10-lts e7daca75b4c3 454571b6 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: corrupted list in __dentry_kill
2024/11/20 11:52 android13-5.10-lts 6a01908517df 7d02db5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: corrupted list in __dentry_kill
2024/11/20 08:36 android13-5.10-lts 6a01908517df 7d02db5a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: corrupted list in __dentry_kill
2024/11/19 12:11 android13-5.10-lts 6a01908517df 571351cb .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: corrupted list in __dentry_kill
2024/11/19 07:43 android13-5.10-lts 6a01908517df 571351cb .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: corrupted list in __dentry_kill
2024/11/18 09:57 android13-5.10-lts 6a01908517df cfe3a04a .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: corrupted list in __dentry_kill
2024/11/10 15:02 android13-5.10-lts 6a01908517df 6b856513 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: corrupted list in __dentry_kill
2024/10/26 17:47 android13-5.10-lts e5e5644ea27f 65e8686b .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: corrupted list in __dentry_kill
2024/10/25 15:02 android13-5.10-lts e5e5644ea27f 045e728d .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: corrupted list in __dentry_kill
2024/08/19 02:53 android13-5.10-lts 0890c03b8b7d dbc93b08 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: corrupted list in __dentry_kill
2024/08/11 18:46 android13-5.10-lts fd58936f3c1f 6f4edef4 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: corrupted list in __dentry_kill
2024/07/21 21:05 android13-5.10-lts 1240968f7644 b88348e9 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: corrupted list in __dentry_kill
2024/07/20 03:13 android13-5.10-lts 1240968f7644 890ce4f3 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: corrupted list in __dentry_kill
2024/07/14 07:43 android13-5.10-lts 3feee789f446 eaeb5c15 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: corrupted list in __dentry_kill
2024/07/06 01:47 android13-5.10-lts 3feee789f446 2a40360c .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: corrupted list in __dentry_kill
2024/07/03 14:34 android13-5.10-lts 3feee789f446 1ecfa2d8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: corrupted list in __dentry_kill
2024/03/27 10:29 android13-5.10-lts e7daca75b4c3 454571b6 .config console log report info [disk image] [vmlinux] [kernel image] ci2-android-5-10 BUG: corrupted list in __dentry_kill
* Struck through repros no longer work on HEAD.