syzbot


BUG: corrupted list in rdma_listen

Status: auto-closed as invalid on 2020/07/18 15:58
Reported-by: syzbot+b7c41d34fd59d00eb01f@syzkaller.appspotmail.com
First crash: 1746d, last: 1707d
Similar bugs (4)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream BUG: corrupted list in rdma_listen rdma C 202 1829d 2408d 15/28 fixed on 2020/05/10 10:41
upstream BUG: corrupted list in rdma_listen (2) rdma C inconclusive 5 1017d 1083d 22/28 fixed on 2023/02/24 13:50
linux-4.19 BUG: corrupted list in rdma_listen 3 1688d 1722d 0/1 auto-closed as invalid on 2020/08/06 14:55
linux-4.14 BUG: corrupted list in rdma_listen (2) C error 21 814d 1575d 0/1 upstream: reported C repro on 2020/07/30 18:22

Sample crash report:
list_add corruption. prev->next should be next (ffffffff885af3e0), but was           (null). (prev=ffff888093519cd8).
------------[ cut here ]------------
kernel BUG at lib/list_debug.c:26!
invalid opcode: 0000 [#1] PREEMPT SMP KASAN
Modules linked in:
CPU: 1 PID: 3752 Comm: syz-executor.5 Not tainted 4.14.174-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011
task: ffff888058686000 task.stack: ffff88803e420000
RIP: 0010:__list_add_valid.cold+0x3a/0x3c lib/list_debug.c:26
RSP: 0018:ffff88803e427bd0 EFLAGS: 00010282
RAX: 0000000000000075 RBX: ffff888093519cd8 RCX: 0000000000000000
RDX: 00000000000138e6 RSI: ffffffff81491370 RDI: ffffed1007c84f70
RBP: ffff8880815dbcd8 R08: 0000000000000075 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff885af3e0
R13: 0000000000000400 R14: 0000000000000000 R15: 0000000000000008
FS:  00007fd0c8daf700(0000) GS:ffff8880aeb00000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 0000000090c91000 CR4: 00000000001426e0
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+0x580/0x800 drivers/infiniband/core/cma.c:3319
 ucma_listen+0x10b/0x160 drivers/infiniband/core/ucma.c:1078
 ucma_write+0x206/0x2c0 drivers/infiniband/core/ucma.c:1672
 __vfs_write+0xe4/0x630 fs/read_write.c:480
 vfs_write+0x192/0x4e0 fs/read_write.c:544
 SYSC_write fs/read_write.c:590 [inline]
 SyS_write+0xf2/0x210 fs/read_write.c:582
 do_syscall_64+0x1d5/0x640 arch/x86/entry/common.c:292
 entry_SYSCALL_64_after_hwframe+0x42/0xb7
RIP: 0033:0x45c849
RSP: 002b:00007fd0c8daec78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
RAX: ffffffffffffffda RBX: 00007fd0c8daf6d4 RCX: 000000000045c849
RDX: 0000000000000010 RSI: 0000000020000040 RDI: 0000000000000005
RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff
R13: 0000000000000cc0 R14: 00000000004cee66 R15: 000000000076bf0c
Code: 0f 0b 48 89 f2 4c 89 e1 48 89 ee 48 c7 c7 40 59 e4 86 e8 96 d9 4a fe 0f 0b 48 89 f1 48 c7 c7 c0 58 e4 86 4c 89 e6 e8 82 d9 4a fe <0f> 0b 48 89 ee 48 c7 c7 60 5a e4 86 e8 71 d9 4a fe 0f 0b 4c 89 
RIP: __list_add_valid.cold+0x3a/0x3c lib/list_debug.c:26 RSP: ffff88803e427bd0
---[ end trace f6497a2e2ef87949 ]---

Crashes (4):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2020/03/20 15:57 linux-4.14.y 01364dad1d45 2c31c529 .config console log report ci2-linux-4-14
2020/03/14 07:22 linux-4.14.y 12cd844a39ed 749688d2 .config console log report ci2-linux-4-14
2020/02/11 03:20 linux-4.14.y e0f8b8a65a47 d9e55b05 .config console log report ci2-linux-4-14
2020/02/10 22:45 linux-4.14.y e0f8b8a65a47 d9e55b05 .config console log report ci2-linux-4-14
* Struck through repros no longer work on HEAD.