list_add corruption. prev->next should be next (ffffffff885af500), but was (null). (prev=ffff88808d14d418). ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:26! invalid opcode: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 0 PID: 20104 Comm: syz-executor.4 Not tainted 4.14.173-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff88802c36a6c0 task.stack: ffff88808ab18000 RIP: 0010:__list_add_valid.cold+0x3a/0x3c lib/list_debug.c:26 RSP: 0018:ffff88808ab1fbd0 EFLAGS: 00010282 RAX: 0000000000000075 RBX: ffff88808d14d418 RCX: 0000000000000000 RDX: 0000000000014d51 RSI: ffffffff81491300 RDI: ffffed1011563f70 RBP: ffff88800e0cc1d8 R08: 0000000000000075 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff885af500 R13: 00000000000000ff R14: 0000000000000000 R15: 0000000000000008 FS: 00007f6d4f231700(0000) GS:ffff8880aea00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b2c023000 CR3: 000000005bb5f000 CR4: 00000000001406f0 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:00007f6d4f230c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f6d4f2316d4 RCX: 000000000045c849 RDX: 0000000000000010 RSI: 0000000020000100 RDI: 0000000000000003 RBP: 000000000076bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000cc1 R14: 00000000004cee7d R15: 000000000076bf0c Code: 0f 0b 48 89 f2 4c 89 e1 48 89 ee 48 c7 c7 40 59 e4 86 e8 e6 db 4a fe 0f 0b 48 89 f1 48 c7 c7 c0 58 e4 86 4c 89 e6 e8 d2 db 4a fe <0f> 0b 48 89 ee 48 c7 c7 60 5a e4 86 e8 c1 db 4a fe 0f 0b 4c 89 RIP: __list_add_valid.cold+0x3a/0x3c lib/list_debug.c:26 RSP: ffff88808ab1fbd0 ---[ end trace fedf46d99dbfda5b ]---