syzbot


BUG: corrupted list in evict

Status: auto-closed as invalid on 2020/09/17 09:05
Reported-by: syzbot+eed78dbfe9140f3941fb@syzkaller.appspotmail.com
First crash: 1648d, last: 1648d
Similar bugs (2)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-4.14 BUG: corrupted list in evict 1 1550d 1550d 0/1 auto-closed as invalid on 2020/12/24 11:20
upstream BUG: corrupted list in evict fs 1 1596d 1591d 0/28 auto-closed as invalid on 2020/09/09 12:35

Sample crash report:
list_del corruption. next->prev should be ffff8880267f4458, but was 0000000000000000
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:54!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 0 PID: 6849 Comm: syz-executor.4 Not tainted 4.19.124-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__list_del_entry_valid.cold+0x48/0x55 lib/list_debug.c:54
Code: e8 eb 30 fb fd 0f 0b 4c 89 e2 48 89 ee 48 c7 c7 40 06 cb 87 e8 d7 30 fb fd 0f 0b 48 89 ee 48 c7 c7 00 07 cb 87 e8 c6 30 fb fd <0f> 0b 90 90 90 90 90 90 90 90 90 90 90 41 54 55 53 48 89 fb 48 c7
RSP: 0018:ffff88805642fce8 EFLAGS: 00010282
RAX: 0000000000000054 RBX: ffff8880267f4458 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff8152fdf1 RDI: ffffed100ac85f8f
RBP: ffff8880267f4458 R08: 0000000000000054 R09: ffffed1015cc5079
R10: ffffed1015cc5078 R11: ffff8880ae6283c7 R12: ffff88800ccaf7d8
R13: ffff888000804618 R14: ffffffff879b92c0 R15: ffff8880267f42d8
FS:  0000000001cbb940(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000ca86f0 CR3: 0000000056415000 CR4: 00000000001426f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 __list_del_entry include/linux/list.h:117 [inline]
 list_del_init include/linux/list.h:159 [inline]
 inode_sb_list_del fs/inode.c:454 [inline]
 evict+0x181/0x650 fs/inode.c:548
 iput_final fs/inode.c:1555 [inline]
 iput fs/inode.c:1581 [inline]
 iput+0x4d7/0x840 fs/inode.c:1567
 dentry_unlink_inode+0x277/0x330 fs/dcache.c:374
 d_delete+0x1cc/0x220 fs/dcache.c:2370
 vfs_rmdir fs/namei.c:3895 [inline]
 vfs_rmdir+0x384/0x460 fs/namei.c:3861
 do_rmdir+0x371/0x3e0 fs/namei.c:3943
 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293
 entry_SYSCALL_64_after_hwframe+0x49/0xbe
RIP: 0033:0x45c7f7
Code: 00 66 90 b8 57 00 00 00 0f 05 48 3d 01 f0 ff ff 0f 83 2d b9 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 90 b8 54 00 00 00 0f 05 <48> 3d 01 f0 ff ff 0f 83 0d b9 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007fff055e5f08 EFLAGS: 00000207 ORIG_RAX: 0000000000000054
RAX: ffffffffffffffda RBX: 0000000000000065 RCX: 000000000045c7f7
RDX: 0000000000000000 RSI: 0000000000742678 RDI: 00007fff055e7040
RBP: 00000000000031e1 R08: 0000000000000000 R09: 0000000000000001
R10: 000000000000000a R11: 0000000000000207 R12: 00007fff055e7040
R13: 0000000001cbc940 R14: 0000000000000000 R15: 00007fff055e7040
Modules linked in:
---[ end trace d51b5039e9fe75d2 ]---
RIP: 0010:__list_del_entry_valid.cold+0x48/0x55 lib/list_debug.c:54
Code: e8 eb 30 fb fd 0f 0b 4c 89 e2 48 89 ee 48 c7 c7 40 06 cb 87 e8 d7 30 fb fd 0f 0b 48 89 ee 48 c7 c7 00 07 cb 87 e8 c6 30 fb fd <0f> 0b 90 90 90 90 90 90 90 90 90 90 90 41 54 55 53 48 89 fb 48 c7
RSP: 0018:ffff88805642fce8 EFLAGS: 00010282
RAX: 0000000000000054 RBX: ffff8880267f4458 RCX: 0000000000000000
RDX: 0000000000000000 RSI: ffffffff8152fdf1 RDI: ffffed100ac85f8f
RBP: ffff8880267f4458 R08: 0000000000000054 R09: ffffed1015cc5079
R10: ffffed1015cc5078 R11: ffff8880ae6283c7 R12: ffff88800ccaf7d8
R13: ffff888000804618 R14: ffffffff879b92c0 R15: ffff8880267f42d8
FS:  0000000001cbb940(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000ca86f0 CR3: 0000000056415000 CR4: 00000000001426f0
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
2020/05/20 09:04 linux-4.19.y 1bab61d3e8cd 6d882fd2 .config console log report ci2-linux-4-19
* Struck through repros no longer work on HEAD.