BUG: corrupted list in p9_fd_cancelled

5 views
Skip to first unread message

syzbot

unread,
Nov 30, 2020, 5:08:18 PM11/30/20
to syzkaller-a...@googlegroups.com
Hello,

syzbot found the following issue on:

HEAD commit: e37aca80 ANDROID: modpost: Forbid double exports
git tree: android12-5.4
console output: https://syzkaller.appspot.com/x/log.txt?x=168c09e9500000
kernel config: https://syzkaller.appspot.com/x/.config?x=ad643f8e0f1f7aa8
dashboard link: https://syzkaller.appspot.com/bug?extid=8edd00b8edb393f8dd95
compiler: Android (6032204 based on r370808) clang version 10.0.1 (https://android.googlesource.com/toolchain/llvm-project 6e765c10313d15c02ab29977a82938f66742c3a9)

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

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

list_del corruption, ffff8881ebcbcd80->next is LIST_POISON1 (dead000000000100)
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:47!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
CPU: 1 PID: 678 Comm: syz-executor.5 Not tainted 5.4.80-syzkaller-00759-ge37aca80313f #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
RIP: 0010:__list_del_entry_valid+0xbb/0x100 lib/list_debug.c:45
Code: 89 df e8 48 f5 6c ff 48 8b 13 4c 39 f2 75 43 b0 01 5b 41 5c 41 5e 41 5f c3 48 c7 c7 fc 8b fe 84 4c 89 f6 31 c0 e8 b1 89 27 ff <0f> 0b 48 c7 c7 34 8c fe 84 4c 89 f6 31 c0 e8 9e 89 27 ff 0f 0b 48
RSP: 0018:ffff8881e20af498 EFLAGS: 00010246
RAX: 000000000000004e RBX: dead000000000100 RCX: 452ecbcf3139e500
RDX: ffffc90002eaa000 RSI: 000000000000f3ff RDI: 000000000000f400
RBP: 0000000000000005 R08: ffffffff814c5a01 R09: ffffed103ee25e08
R10: ffffed103ee25e08 R11: 0000000000000000 R12: dffffc0000000000
R13: ffff8881ebcbcd00 R14: ffff8881ebcbcd80 R15: dead000000000122
FS: 00007f82096fa700(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000001590004 CR3: 00000001e2bea000 CR4: 00000000001406e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__list_del_entry include/linux/list.h:131 [inline]
list_del include/linux/list.h:139 [inline]
p9_fd_cancelled+0x71/0x1b0 net/9p/trans_fd.c:722
p9_client_flush+0x374/0x560 net/9p/client.c:675
p9_client_rpc+0x8de/0xb80 net/9p/client.c:782
p9_client_version+0x183/0x700 net/9p/client.c:943
p9_client_create+0x8e5/0xb90 net/9p/client.c:1053
v9fs_session_init+0x208/0x1a00 fs/9p/v9fs.c:406
v9fs_mount+0x7f/0x790 fs/9p/vfs_super.c:124
legacy_get_tree+0xde/0x170 fs/fs_context.c:647
vfs_get_tree+0x85/0x260 fs/super.c:1547
do_new_mount fs/namespace.c:2822 [inline]
do_mount+0x18ab/0x2660 fs/namespace.c:3142
ksys_mount+0xc2/0xf0 fs/namespace.c:3351
__do_sys_mount fs/namespace.c:3365 [inline]
__se_sys_mount fs/namespace.c:3362 [inline]
__x64_sys_mount+0xb1/0xc0 fs/namespace.c:3362
do_syscall_64+0xcb/0x150 arch/x86/entry/common.c:290
entry_SYSCALL_64_after_hwframe+0x44/0xa9
RIP: 0033:0x45deb9
Code: 0d b4 fb ff c3 66 2e 0f 1f 84 00 00 00 00 00 66 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 0f 83 db b3 fb ff c3 66 2e 0f 1f 84 00 00 00 00
RSP: 002b:00007f82096f9c78 EFLAGS: 00000246 ORIG_RAX: 00000000000000a5
RAX: ffffffffffffffda RBX: 0000000000021840 RCX: 000000000045deb9
RDX: 0000000020000140 RSI: 0000000020000000 RDI: 0000000000000000
RBP: 000000000118bf70 R08: 0000000020000580 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 000000000118bf2c
R13: 00007ffe9f89231f R14: 00007f82096fa9c0 R15: 000000000118bf2c
Modules linked in:
---[ end trace 5484adbae8c155c7 ]---
RIP: 0010:__list_del_entry_valid+0xbb/0x100 lib/list_debug.c:45
Code: 89 df e8 48 f5 6c ff 48 8b 13 4c 39 f2 75 43 b0 01 5b 41 5c 41 5e 41 5f c3 48 c7 c7 fc 8b fe 84 4c 89 f6 31 c0 e8 b1 89 27 ff <0f> 0b 48 c7 c7 34 8c fe 84 4c 89 f6 31 c0 e8 9e 89 27 ff 0f 0b 48
RSP: 0018:ffff8881e20af498 EFLAGS: 00010246
RAX: 000000000000004e RBX: dead000000000100 RCX: 452ecbcf3139e500
RDX: ffffc90002eaa000 RSI: 000000000000f3ff RDI: 000000000000f400
RBP: 0000000000000005 R08: ffffffff814c5a01 R09: ffffed103ee25e08
R10: ffffed103ee25e08 R11: 0000000000000000 R12: dffffc0000000000
R13: ffff8881ebcbcd00 R14: ffff8881ebcbcd80 R15: dead000000000122
FS: 00007f82096fa700(0000) GS:ffff8881f7100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000001590004 CR3: 00000001e2bea000 CR4: 00000000001406e0
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,
Oct 25, 2021, 8:29:15 AM10/25/21
to syzkaller-a...@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