list_add corruption. prev->next should be next (ffffffff891c41a0), but was ffffffff867ff6d0. (prev=ffff88808d4ecb20). ------------[ cut here ]------------ kernel BUG at lib/list_debug.c:26! team0: Device hsr0 is up. Set it down before adding it as a team port invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 1 PID: 7549 Comm: syz-executor5 Not tainted 5.0.0-rc5 #60 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 4c 89 ee 48 c7 c7 00 45 a2 87 e8 b9 71 2f fe 0f 0b 48 89 f1 48 c7 c7 80 44 a2 87 4c 89 e6 e8 a5 71 2f fe <0f> 0b 4c 89 f6 48 c7 c7 20 46 a2 87 e8 94 71 2f fe 0f 0b 4c 89 ea RSP: 0018:ffff88801d52fae8 EFLAGS: 00010282 RAX: 0000000000000075 RBX: ffff88808796a6b0 RCX: 0000000000000000 RDX: 0000000000000000 RSI: ffffffff815a8c66 RDI: ffffed1003aa5f4f RBP: ffff88801d52fb00 R08: 0000000000000075 R09: ffffed1015d25021 R10: ffffed1015d25020 R11: ffff8880ae928107 R12: ffffffff891c41a0 R13: ffff88808796a4e0 R14: ffff88808796a4e0 R15: 0000000000000000 FS: 00007f7176be2700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00000000013163a8 CR3: 0000000026488000 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:2477 [inline] rdma_listen+0x63b/0x8e0 drivers/infiniband/core/cma.c:3492 ucma_listen+0x14d/0x1c0 drivers/infiniband/core/ucma.c:1100 ucma_write+0x2da/0x3c0 drivers/infiniband/core/ucma.c:1689 __vfs_write+0x116/0x8e0 fs/read_write.c:485 vfs_write+0x20c/0x580 fs/read_write.c:549 ksys_write+0xea/0x1f0 fs/read_write.c:598 __do_sys_write fs/read_write.c:610 [inline] __se_sys_write fs/read_write.c:607 [inline] __x64_sys_write+0x73/0xb0 fs/read_write.c:607 do_syscall_64+0x103/0x610 arch/x86/entry/common.c:290 entry_SYSCALL_64_after_hwframe+0x49/0xbe RIP: 0033:0x457e39 Code: ad b8 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 b8 fb ff c3 66 2e 0f 1f 84 00 00 00 00 RSP: 002b:00007f7176be1c78 EFLAGS: 00000246 ORIG_RAX: 0000000000000001 RAX: ffffffffffffffda RBX: 0000000000000003 RCX: 0000000000457e39 RDX: 0000000000000010 RSI: 00000000200001c0 RDI: 0000000000000005 RBP: 000000000073bf00 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 00007f7176be26d4 R13: 00000000004c6ffc R14: 00000000004dc920 R15: 00000000ffffffff Modules linked in: ---[ end trace c1b235aa2416414e ]--- RIP: 0010:__list_add_valid.cold+0x3a/0x3c lib/list_debug.c:26 Code: 0b 48 89 f2 4c 89 e1 4c 89 ee 48 c7 c7 00 45 a2 87 e8 b9 71 2f fe 0f 0b 48 89 f1 48 c7 c7 80 44 a2 87 4c 89 e6 e8 a5 71 2f fe <0f> 0b 4c 89 f6 48 c7 c7 20 46 a2 87 e8 94 71 2f fe 0f 0b 4c 89 ea kobject: 'loop0' (0000000024e7169f): kobject_uevent_env RSP: 0018:ffff88801d52fae8 EFLAGS: 00010282 kobject: 'loop0' (0000000024e7169f): fill_kobj_path: path = '/devices/virtual/block/loop0' RAX: 0000000000000075 RBX: ffff88808796a6b0 RCX: 0000000000000000 team0: Device hsr0 is up. Set it down before adding it as a team port kobject: 'loop2' (00000000e0b45236): kobject_uevent_env RDX: 0000000000000000 RSI: ffffffff815a8c66 RDI: ffffed1003aa5f4f RBP: ffff88801d52fb00 R08: 0000000000000075 R09: ffffed1015d25021 kobject: 'loop2' (00000000e0b45236): fill_kobj_path: path = '/devices/virtual/block/loop2' R10: ffffed1015d25020 R11: ffff8880ae928107 R12: ffffffff891c41a0 kobject: 'loop4' (00000000687eea02): kobject_uevent_env R13: ffff88808796a4e0 R14: ffff88808796a4e0 R15: 0000000000000000 kobject: 'loop4' (00000000687eea02): fill_kobj_path: path = '/devices/virtual/block/loop4' FS: 00007f7176be2700(0000) GS:ffff8880ae900000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000c43723f000 CR3: 0000000026488000 CR4: 00000000001406e0 kobject: 'loop1' (0000000011960491): kobject_uevent_env DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 kobject: 'loop1' (0000000011960491): fill_kobj_path: path = '/devices/virtual/block/loop1' DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 team0: Device hsr0 is up. Set it down before adding it as a team port