smc: removing ib device rxe0 smbdirect: ib_dev[rxe0] removed ------------[ cut here ]------------ !xa_empty(&pool->xa) WARNING: drivers/infiniband/sw/rxe/rxe_pool.c:116 at rxe_pool_cleanup+0x48/0x60 drivers/infiniband/sw/rxe/rxe_pool.c:116, CPU#0: syz.0.0/5351 Modules linked in: CPU: 0 UID: 0 PID: 5351 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014 RIP: 0010:rxe_pool_cleanup+0x48/0x60 drivers/infiniband/sw/rxe/rxe_pool.c:116 Code: 00 fc ff df 80 3c 08 00 74 08 48 89 df e8 e0 08 2b f9 48 83 3b 00 75 0c e8 05 b9 b1 f8 5b c3 cc cc cc cc cc e8 f9 b8 b1 f8 90 <0f> 0b 90 5b e9 8f 62 f4 02 cc 66 66 66 66 66 2e 0f 1f 84 00 00 00 RSP: 0018:ffffc9000f97f000 EFLAGS: 00010246 RAX: ffffffff891766c7 RBX: ffff888013bd1458 RCX: 0000000000100000 RDX: ffffc90020001000 RSI: 00000000000fffff RDI: 0000000000100000 RBP: ffff888013bd1138 R08: ffff888013bd07e3 R09: 1ffff1100277a0fc R10: dffffc0000000000 R11: ffffffff89159370 R12: ffff888013bd1138 R13: 1ffff1100277a1f7 R14: ffffffff89159370 R15: dffffc0000000000 FS: 00007f1e03c6f6c0(0000) GS:ffff88808a9fa000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc35637df80 CR3: 00000000144c3000 CR4: 0000000000352ef0 Call Trace: rxe_dealloc+0x27/0xc0 drivers/infiniband/sw/rxe/rxe.c:26 ib_dealloc_device+0x54/0x200 drivers/infiniband/core/device.c:691 __ib_unregister_device+0x38f/0x400 drivers/infiniband/core/device.c:1589 ib_unregister_device_and_put+0xb8/0xf0 drivers/infiniband/core/device.c:1636 nldev_dellink+0x3a4/0x440 drivers/infiniband/core/nldev.c:1905 rdma_nl_rcv_msg drivers/infiniband/core/netlink.c:-1 [inline] rdma_nl_rcv_skb drivers/infiniband/core/netlink.c:239 [inline] rdma_nl_rcv+0x6ef/0xa40 drivers/infiniband/core/netlink.c:259 netlink_unicast_kernel net/netlink/af_netlink.c:1335 [inline] netlink_unicast+0x8ef/0xa80 net/netlink/af_netlink.c:1361 netlink_sendmsg+0x7f0/0xb20 net/netlink/af_netlink.c:1920 sock_sendmsg_nosec+0x14e/0x190 net/socket.c:800 __sock_sendmsg net/socket.c:818 [inline] ____sys_sendmsg+0x54e/0x850 net/socket.c:2715 ___sys_sendmsg+0x2a5/0x360 net/socket.c:2769 __sys_sendmsg net/socket.c:2801 [inline] __do_sys_sendmsg net/socket.c:2806 [inline] __se_sys_sendmsg net/socket.c:2804 [inline] __x64_sys_sendmsg+0x1b1/0x290 net/socket.c:2804 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f1e02d9fb19 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 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 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f1e03c6efe8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f1e03026090 RCX: 00007f1e02d9fb19 RDX: 0000000000000000 RSI: 0000200000000300 RDI: 0000000000000005 RBP: 00007f1e02e37b70 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f1e03026128 R14: 00007f1e03026090 R15: 00007fff3edc0a68