list_add corruption. prev->next should be next (ffffffff887af9e0), but was (null). (prev=ffff88808e811cd8). ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:26! invalid opcode: 0000 [#1] PREEMPT SMP KASAN Modules linked in: CPU: 1 PID: 15658 Comm: syz-executor.5 Not tainted 4.14.170-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 task: ffff8880933f6600 task.stack: ffff8880594f0000 RIP: 0010:__list_add_valid.cold+0x3a/0x3c lib/list_debug.c:26 RSP: 0018:ffff8880594f7b80 EFLAGS: 00010286 RAX: 0000000000000075 RBX: ffff88808e811cd8 RCX: 0000000000000000 RDX: 000000000000fbfe RSI: ffffffff814b5755 RDI: ffffed100b29ef66 RBP: ffff8880594f7b98 R08: 0000000000000075 R09: ffff8880933f6ea0 R10: 0000000000000000 R11: 0000000000000000 R12: ffffffff887af9e0 R13: ffff88809fbd3418 R14: 0000000000000400 R15: 0000000000000000 FS: 00007ffb58c3d700(0000) GS:ffff8880aed00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000001b32729000 CR3: 0000000088bdb000 CR4: 00000000001406e0 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:00007ffb58c3cc78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007ffb58c3d6d4 RCX: 000000000045b3b9 RDX: 0000000000000010 RSI: 00000000200001c0 RDI: 0000000000000005 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: ffff8880594f7b80 ---[ end trace 5c5995b3b7369a9b ]---