[v6.1] BUG: corrupted list in p9_fd_cancelled

6 views
Skip to first unread message

syzbot

unread,
Mar 11, 2023, 9:32:51 PM3/11/23
to syzkaller...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: 1cc3fcf63192 Linux 6.1.18
git tree: linux-6.1.y
console output: https://syzkaller.appspot.com/x/log.txt?x=13e86624c80000
kernel config: https://syzkaller.appspot.com/x/.config?x=ac04a15f4a80e9d0
dashboard link: https://syzkaller.appspot.com/bug?extid=635350641ce8921ffbea
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/9dee98921f5a/disk-1cc3fcf6.raw.xz
vmlinux: https://storage.googleapis.com/syzbot-assets/713a648558bd/vmlinux-1cc3fcf6.xz
kernel image: https://storage.googleapis.com/syzbot-assets/6b9e84fcf1df/bzImage-1cc3fcf6.xz

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

9pnet_fd: Insufficient options for proto=fd
9pnet_fd: Insufficient options for proto=fd
list_del corruption, ffff88807a39b2b0->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: 12030 Comm: syz-executor.3 Not tainted 6.1.18-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 fe e8 06 a1 48 06 0f 0b 48 c7 c7 00 10 3d 8b 4c 89 fe e8 f5 a0 48 06 0f 0b 48 c7 c7 60 10 3d 8b 4c 89 fe e8 e4 a0 48 06 <0f> 0b 48 c7 c7 c0 10 3d 8b 4c 89 fe e8 d3 a0 48 06 0f 0b 48 c7 c7
RSP: 0018:ffffc90014a7f830 EFLAGS: 00010246
RAX: 000000000000004e RBX: dead000000000122 RCX: a4200e77ffbcb400
RDX: ffffc9000cd6a000 RSI: 0000000000007bd0 RDI: 0000000000007bd1
RBP: ffff88807a39b200 R08: ffffffff816e120c R09: fffff5200294febd
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff88804a842800 R14: dead000000000100 R15: ffff88807a39b2b0
FS: 00007fd55d71b700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2fb35000 CR3: 00000000778c6000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
__list_del_entry include/linux/list.h:134 [inline]
list_del include/linux/list.h:148 [inline]
p9_fd_cancelled+0x95/0x220 net/9p/trans_fd.c:734
p9_client_flush+0x3b6/0x530 net/9p/client.c:610
p9_client_rpc+0x82b/0x9e0 net/9p/client.c:730
p9_client_stat+0x10a/0x270 net/9p/client.c:1677
v9fs_mount+0x77d/0xc30 fs/9p/vfs_super.c:172
legacy_get_tree+0xeb/0x180 fs/fs_context.c:610
vfs_get_tree+0x88/0x270 fs/super.c:1544
do_new_mount+0x28b/0xad0 fs/namespace.c:3040
do_mount fs/namespace.c:3383 [inline]
__do_sys_mount fs/namespace.c:3591 [inline]
__se_sys_mount+0x2d5/0x3c0 fs/namespace.c:3568
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+0x63/0xcd
RIP: 0033:0x7fd55ca8c0f9
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:00007fd55d71b168 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 00007fd55cbac120 RCX: 00007fd55ca8c0f9
RDX: 0000000020000040 RSI: 0000000020000180 RDI: 0000000000000000
RBP: 00007fd55cae7ae9 R08: 0000000020000300 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffe8b5ad57f R14: 00007fd55d71b300 R15: 0000000000022000
</TASK>
Modules linked in:
---[ end trace 0000000000000000 ]---
RIP: 0010:__list_del_entry_valid+0xe5/0x120 lib/list_debug.c:53
Code: 4c 89 fe e8 06 a1 48 06 0f 0b 48 c7 c7 00 10 3d 8b 4c 89 fe e8 f5 a0 48 06 0f 0b 48 c7 c7 60 10 3d 8b 4c 89 fe e8 e4 a0 48 06 <0f> 0b 48 c7 c7 c0 10 3d 8b 4c 89 fe e8 d3 a0 48 06 0f 0b 48 c7 c7
RSP: 0018:ffffc90014a7f830 EFLAGS: 00010246
RAX: 000000000000004e RBX: dead000000000122 RCX: a4200e77ffbcb400
RDX: ffffc9000cd6a000 RSI: 0000000000007bd0 RDI: 0000000000007bd1
RBP: ffff88807a39b200 R08: ffffffff816e120c R09: fffff5200294febd
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: ffff88804a842800 R14: dead000000000100 R15: ffff88807a39b2b0
FS: 00007fd55d71b700(0000) GS:ffff8880b9900000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2fb35000 CR3: 00000000778c6000 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.
Reply all
Reply to author
Forward
0 new messages