BUG: corrupted list in evict

5 views
Skip to first unread message

syzbot

unread,
May 20, 2020, 5:05:15 AM5/20/20
to syzkaller...@googlegroups.com
Hello,

syzbot found the following crash on:

HEAD commit: 1bab61d3 Linux 4.19.124
git tree: linux-4.19.y
console output: https://syzkaller.appspot.com/x/log.txt?x=138af872100000
kernel config: https://syzkaller.appspot.com/x/.config?x=898e5a0a14befd92
dashboard link: https://syzkaller.appspot.com/bug?extid=eed78dbfe9140f3941fb
compiler: gcc (GCC) 9.0.0 20181231 (experimental)

Unfortunately, I don't have any reproducer for this crash yet.

IMPORTANT: if you fix the bug, please add the following tag to the commit:
Reported-by: syzbot+eed78d...@syzkaller.appspotmail.com

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


---
This bug is generated by a bot. It may contain errors.
See https://goo.gl/tpsmEJ for more information about syzbot.
syzbot engineers can be reached at syzk...@googlegroups.com.

syzbot will keep track of this bug report. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Sep 17, 2020, 5:05:12 AM9/17/20
to syzkaller...@googlegroups.com
Auto-closing this bug as obsolete.
Crashes did not happen for a while, no reproducer and no activity.
Reply all
Reply to author
Forward
0 new messages