BUG: corrupted list in rdma_listen

6 views
Skip to first unread message

syzbot

unread,
Feb 10, 2020, 5:45:15 PM2/10/20
to syzkaller...@googlegroups.com
Hello,

syzbot found the following crash on:

HEAD commit: e0f8b8a6 Linux 4.14.170
git tree: linux-4.14.y
console output: https://syzkaller.appspot.com/x/log.txt?x=13c3407ee00000
kernel config: https://syzkaller.appspot.com/x/.config?x=633dd9db249084f5
dashboard link: https://syzkaller.appspot.com/bug?extid=b7c41d34fd59d00eb01f
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+b7c41d...@syzkaller.appspotmail.com

------------[ cut here ]------------
kernel BUG at lib/list_debug.c:26!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 0 PID: 10565 Comm: syz-executor.4 Not tainted 4.14.170-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff88803f8e8000 task.stack: ffff888070d70000
RIP: 0010:__list_add_valid.cold+0x3a/0x3c lib/list_debug.c:26
RSP: 0018:ffff888070d77b80 EFLAGS: 00010286
RAX: 0000000000000075 RBX: ffff8880a0c2e698 RCX: 0000000000000000
RDX: 000000000000f5c8 RSI: ffffffff814b5755 RDI: ffffed100e1aef66
RBP: ffff888070d77b98 R08: 0000000000000075 R09: ffff88803f8e88a0
R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff887af9e0
R13: ffff8880a5a641d8 R14: 0000000000000002 R15: 0000000000000000
FS: 00007f965160d700(0000) GS:ffff8880aec00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000001b2f223000 CR3: 0000000068f03000 CR4: 00000000001426f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
__list_add include/linux/list.h:60 [inline]
list_add_tail include/linux/list.h:93 [inline]
cma_listen_on_all drivers/infiniband/core/cma.c:2321 [inline]
rdma_listen+0x5a7/0x840 drivers/infiniband/core/cma.c:3319
ucma_listen+0x10e/0x170 drivers/infiniband/core/ucma.c:1078
ucma_write+0x231/0x310 drivers/infiniband/core/ucma.c:1672
__vfs_write+0x105/0x6b0 fs/read_write.c:480
vfs_write+0x198/0x500 fs/read_write.c:544
SYSC_write fs/read_write.c:590 [inline]
SyS_write+0xfd/0x230 fs/read_write.c:582
do_syscall_64+0x1e8/0x640 arch/x86/entry/common.c:292
entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x45b3b9
RSP: 002b:00007f965160cc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007f965160d6d4 RCX: 000000000045b3b9
RDX: 0000000000000010 RSI: 0000000020000000 RDI: 0000000000000004
RBP: 000000000075bf20 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 0000000000000c8b R14: 00000000004cd6b1 R15: 000000000075bf2c
Code: 0f 0b 48 89 f2 4c 89 e1 4c 89 ee 48 c7 c7 40 55 04 87 e8 b8 e7 3c fe 0f 0b 48 89 f1 48 c7 c7 c0 54 04 87 4c 89 e6 e8 a4 e7 3c fe <0f> 0b 4c 89 f6 48 c7 c7 60 56 04 87 e8 93 e7 3c fe 0f 0b 4c 89
RIP: __list_add_valid.cold+0x3a/0x3c lib/list_debug.c:26 RSP: ffff888070d77b80
---[ end trace 500dcaa1c5d26a1a ]---


---
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,
Jul 18, 2020, 11:58:13 AM7/18/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