[v5.15] BUG: corrupted list in p9_fd_cancelled

4 views
Skip to first unread message

syzbot

unread,
Mar 25, 2023, 12:05:40 AM3/25/23
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 115472395b0a Linux 5.15.104
git tree: linux-5.15.y
console output: https://syzkaller.appspot.com/x/log.txt?x=14711261c80000
kernel config: https://syzkaller.appspot.com/x/.config?x=f5592cc4916e1c2f
dashboard link: https://syzkaller.appspot.com/bug?extid=d0599bdf343fb42460ea
compiler: Debian clang version 15.0.7, GNU ld (GNU Binutils for Debian) 2.35.2

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

Downloadable assets:
disk image: https://storage.googleapis.com/syzbot-assets/6c2c0744c7e0/disk-11547239.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/7ea4c5ecca4f/vmlinux-11547239.xz
kernel image: https://storage.googleapis.com/syzbot-assets/9a231dbcf423/bzImage-11547239.xz

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

list_del corruption, ffff88806dfae3b0->next is LIST_POISON1 (dead000000000100)
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:55!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 2728 Comm: syz-executor.5 Not tainted 5.15.104-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 03/02/2023
RIP: 0010:__list_del_entry_valid+0xe5/0x120 lib/list_debug.c:53
Code: 4c 89 f6 e8 46 4c 0b 06 0f 0b 48 c7 c7 80 54 d8 8a 4c 89 f6 e8 35 4c 0b 06 0f 0b 48 c7 c7 e0 54 d8 8a 4c 89 f6 e8 24 4c 0b 06 <0f> 0b 48 c7 c7 40 55 d8 8a 4c 89 f6 e8 13 4c 0b 06 0f 0b 48 c7 c7
RSP: 0018:ffffc90011017510 EFLAGS: 00010246
RAX: 000000000000004e RBX: dead000000000100 RCX: b8a53d36ca552f00
RDX: ffffc9000462b000 RSI: 0000000000006565 RDI: 0000000000006566
RBP: ffff88806dfae300 R08: ffffffff8166101c R09: ffffed10173667a0
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff888039e7a800 R14: ffff88806dfae3b0 R15: dead000000000122
FS: 00007f60125fe700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fca4e464718 CR3: 0000000023bdd000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
__list_del_entry include/linux/list.h:132 [inline]
list_del include/linux/list.h:146 [inline]
p9_fd_cancelled+0x95/0x220 net/9p/trans_fd.c:736
p9_client_flush+0x392/0x570 net/9p/client.c:677
p9_client_rpc+0xb35/0x1290 net/9p/client.c:784
p9_client_create+0x9b4/0x1000 net/9p/client.c:1052
v9fs_session_init+0x1fe/0x1910 fs/9p/v9fs.c:409
v9fs_mount+0x72/0x860 fs/9p/vfs_super.c:126
legacy_get_tree+0xeb/0x180 fs/fs_context.c:610
vfs_get_tree+0x88/0x270 fs/super.c:1499
do_new_mount+0x28b/0xad0 fs/namespace.c:2994
do_mount fs/namespace.c:3337 [inline]
__do_sys_mount fs/namespace.c:3545 [inline]
__se_sys_mount+0x2d5/0x3c0 fs/namespace.c:3522
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3d/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x61/0xcb
RIP: 0033:0x7f60140ce0f9
Code: 28 00 00 00 75 05 48 83 c4 28 c3 e8 f1 19 00 00 90 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:00007f60125fe168 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007f60141ee120 RCX: 00007f60140ce0f9
RDX: 0000000020000040 RSI: 0000000020000000 RDI: 0000000000000000
RBP: 00007f6014129b39 R08: 0000000020000180 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffca8ca124f R14: 00007f60125fe300 R15: 0000000000022000
</TASK>
Modules linked in:
---[ end trace 3d9658d3efb09063 ]---
RIP: 0010:__list_del_entry_valid+0xe5/0x120 lib/list_debug.c:53
Code: 4c 89 f6 e8 46 4c 0b 06 0f 0b 48 c7 c7 80 54 d8 8a 4c 89 f6 e8 35 4c 0b 06 0f 0b 48 c7 c7 e0 54 d8 8a 4c 89 f6 e8 24 4c 0b 06 <0f> 0b 48 c7 c7 40 55 d8 8a 4c 89 f6 e8 13 4c 0b 06 0f 0b 48 c7 c7
RSP: 0018:ffffc90011017510 EFLAGS: 00010246
RAX: 000000000000004e RBX: dead000000000100 RCX: b8a53d36ca552f00
RDX: ffffc9000462b000 RSI: 0000000000006565 RDI: 0000000000006566
RBP: ffff88806dfae300 R08: ffffffff8166101c R09: ffffed10173667a0
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff888039e7a800 R14: ffff88806dfae3b0 R15: dead000000000122
FS: 00007f60125fe700(0000) GS:ffff8880b9b00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fca4e464718 CR3: 0000000023bdd000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400


---
This report 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 issue. See:
https://goo.gl/tpsmEJ#status for how to communicate with syzbot.

syzbot

unread,
Jul 23, 2023, 12:06:50 AM7/23/23
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