syzbot


BUG: corrupted list in __dentry_kill (2)

Status: upstream: reported C repro on 2024/03/27 11:32
Reported-by: syzbot+3e9b6f2c49278173fda0@syzkaller.appspotmail.com
First crash: 89d, last: 4d13h
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: corrupted list in __dentry_kill fs C 35 2257d 2276d 5/27 fixed on 2018/05/08 18:30
linux-4.19 BUG: corrupted list in __dentry_kill 1 1529d 1529d 0/1 auto-closed as invalid on 2020/08/15 07:34
android-5-10 BUG: corrupted list in __dentry_kill C inconclusive 2 75d 89d 0/2 upstream: reported C repro on 2024/03/27 10:55
upstream BUG: corrupted list in __dentry_kill (2) fs C done 4945 1656d 1656d 15/27 fixed on 2020/02/18 14:31
android-54 BUG: corrupted list in __dentry_kill 1 448d 448d 0/2 auto-obsoleted due to no activity on 2023/08/01 17:00
Last patch testing requests (2)
Created Duration User Patch Repo Result
2024/06/20 07:41 4m retest repro android12-5.4 report log
2024/04/10 14:45 58m retest repro android12-5.4 report log

Sample crash report:
 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x5c/0xc1
---[ end trace e98fc4b4f13babd2 ]---
list_del corruption. prev->next should be ffff8881e7f40800, but was ffff8881e7f3eb30
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:61!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 357 Comm: syz-executor878 Tainted: G        W         5.4.265-syzkaller-00009-g43a5ead9254d #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 02/29/2024
RIP: 0010:__list_del_entry_valid+0x107/0x120 lib/list_debug.c:59
Code: 4c 89 f6 e8 6a 0b 1e 02 0f 0b 48 c7 c7 00 41 fa 84 4c 89 f6 e8 59 0b 1e 02 0f 0b 48 c7 c7 60 41 fa 84 4c 89 f6 e8 48 0b 1e 02 <0f> 0b 48 c7 c7 c0 41 fa 84 4c 89 f6 e8 37 0b 1e 02 0f 0b 66 0f 1f
RSP: 0018:ffff8881db8bfab8 EFLAGS: 00010246
RAX: 0000000000000054 RBX: ffff8881e7f3eb30 RCX: 2369c3de64081000
RDX: 0000000000000000 RSI: 0000000080000002 RDI: 0000000000000000
RBP: ffff8881e7f40780 R08: ffffffff814d68b2 R09: ffffed103edca9b8
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff8881e7f407c8 R14: ffff8881e7f40800 R15: ffff8881e7f3ec40
FS:  0000555556838380(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020004b30 CR3: 00000001dbf6b000 CR4: 00000000003406b0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __list_del_entry include/linux/list.h:131 [inline]
 dentry_unlist fs/dcache.c:522 [inline]
 __dentry_kill+0x242/0x630 fs/dcache.c:575
 dentry_kill+0xb8/0x280 fs/dcache.c:673
 dput+0x154/0x2f0 fs/dcache.c:859
 path_put+0x35/0x60 fs/namei.c:485
 dentry_release+0x4e/0xa0 fs/incfs/vfs.c:1562
 __dentry_kill+0x48d/0x630 fs/dcache.c:584
 dentry_kill+0xb8/0x280 fs/dcache.c:673
 dput+0x154/0x2f0 fs/dcache.c:859
 do_renameat2+0x9bd/0x1110 fs/namei.c:4737
 __do_sys_renameat2 fs/namei.c:4768 [inline]
 __se_sys_renameat2 fs/namei.c:4765 [inline]
 __x64_sys_renameat2+0xb1/0xc0 fs/namei.c:4765
 do_syscall_64+0xca/0x1c0 arch/x86/entry/common.c:290
 entry_SYSCALL_64_after_hwframe+0x5c/0xc1
Modules linked in:
---[ end trace e98fc4b4f13babd3 ]---
RIP: 0010:__list_del_entry_valid+0x107/0x120 lib/list_debug.c:59
Code: 4c 89 f6 e8 6a 0b 1e 02 0f 0b 48 c7 c7 00 41 fa 84 4c 89 f6 e8 59 0b 1e 02 0f 0b 48 c7 c7 60 41 fa 84 4c 89 f6 e8 48 0b 1e 02 <0f> 0b 48 c7 c7 c0 41 fa 84 4c 89 f6 e8 37 0b 1e 02 0f 0b 66 0f 1f
RSP: 0018:ffff8881db8bfab8 EFLAGS: 00010246
RAX: 0000000000000054 RBX: ffff8881e7f3eb30 RCX: 2369c3de64081000
RDX: 0000000000000000 RSI: 0000000080000002 RDI: 0000000000000000
RBP: ffff8881e7f40780 R08: ffffffff814d68b2 R09: ffffed103edca9b8
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff8881e7f407c8 R14: ffff8881e7f40800 R15: ffff8881e7f3ec40
FS:  0000555556838380(0000) GS:ffff8881f6e00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000020004b30 CR3: 00000001dbf6b000 CR4: 00000000003406b0
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/03/27 11:30 android12-5.4 43a5ead9254d 454571b6 .config strace log report syz C [disk image] [vmlinux] [kernel image] ci2-android-5-4-kasan BUG: corrupted list in __dentry_kill
* Struck through repros no longer work on HEAD.