list_add corruption. prev->next should be next (ffffffff894a99a0), but was 0000000000000000. (prev=ffff88804805ada0). ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:26! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 21344 Comm: syz-executor.5 Not tainted 4.19.107-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 01/01/2011 RIP: 0010:__list_add_valid.cold+0x3a/0x3c lib/list_debug.c:26 Code: 0b 48 89 f2 4c 89 e1 48 89 ee 48 c7 c7 c0 02 ab 87 e8 a4 02 fd fd 0f 0b 48 89 f1 48 c7 c7 40 02 ab 87 4c 89 e6 e8 90 02 fd fd <0f> 0b 48 89 ee 48 c7 c7 e0 03 ab 87 e8 7f 02 fd fd 0f 0b 4c 89 ea RSP: 0018:ffff888052ddfb60 EFLAGS: 00010282 RAX: 0000000000000075 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8152c6e1 RDI: ffffed100a5bbf5e RBP: ffff8880497ba2a0 R08: 0000000000000075 R09: ffffed1015ce5079 R10: ffffed1015ce5078 R11: ffff8880ae7283c7 R12: ffffffff894a99a0 R13: ffff8880497ba2a0 R14: 0000000000000000 R15: ffff8880497ba470 FS: 00007f04fb216700(0000) GS:ffff8880ae700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000029d24748 CR3: 0000000079a97000 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:2380 [inline] rdma_listen+0x609/0x880 drivers/infiniband/core/cma.c:3408 ucma_listen+0x14d/0x1c0 drivers/infiniband/core/ucma.c:1100 ucma_write+0x285/0x350 drivers/infiniband/core/ucma.c:1689 __vfs_write+0xf7/0x760 fs/read_write.c:485 vfs_write+0x206/0x550 fs/read_write.c:549 ksys_write+0x12b/0x2a0 fs/read_write.c:599 do_syscall_64+0xf9/0x620 arch/x86/entry/common.c:293 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x45c479 Code: ad b6 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 7b b6 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f04fb215c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 00007f04fb2166d4 RCX: 000000000045c479 RDX: 0000000000000010 RSI: 0000000020000000 RDI: 0000000000000003 RBP: 000000000076bf20 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00000000ffffffff R13: 0000000000000cbe R14: 00000000004cea34 R15: 000000000076bf2c Modules linked in: ---[ end trace baf0ce479a1bae64 ]--- RIP: 0010:__list_add_valid.cold+0x3a/0x3c lib/list_debug.c:26 Code: 0b 48 89 f2 4c 89 e1 48 89 ee 48 c7 c7 c0 02 ab 87 e8 a4 02 fd fd 0f 0b 48 89 f1 48 c7 c7 40 02 ab 87 4c 89 e6 e8 90 02 fd fd <0f> 0b 48 89 ee 48 c7 c7 e0 03 ab 87 e8 7f 02 fd fd 0f 0b 4c 89 ea RSP: 0018:ffff888052ddfb60 EFLAGS: 00010282 RAX: 0000000000000075 RBX: 0000000000000000 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff8152c6e1 RDI: ffffed100a5bbf5e RBP: ffff8880497ba2a0 R08: 0000000000000075 R09: ffffed1015ce5079 R10: ffffed1015ce5078 R11: ffff8880ae7283c7 R12: ffffffff894a99a0 R13: ffff8880497ba2a0 R14: 0000000000000000 R15: ffff8880497ba470 FS: 00007f04fb216700(0000) GS:ffff8880ae600000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 0000000029d75508 CR3: 0000000079a97000 CR4: 00000000001426f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400