smc: removing ib device syz0 smbdirect: ib_dev[syz0] removed ------------[ cut here ]------------ !xa_empty(&pool->xa) WARNING: drivers/infiniband/sw/rxe/rxe_pool.c:116 at rxe_pool_cleanup+0x4b/0x60 drivers/infiniband/sw/rxe/rxe_pool.c:116, CPU#1: syz.4.199/6667 Modules linked in: CPU: 1 UID: 0 PID: 6667 Comm: syz.4.199 Not tainted syzkaller #0 PREEMPT_{RT,(full)} Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/16/2026 RIP: 0010:rxe_pool_cleanup+0x4b/0x60 drivers/infiniband/sw/rxe/rxe_pool.c:116 Code: 00 fc ff df 80 3c 08 00 74 08 48 89 df e8 8d 01 d0 f9 48 83 3b 00 75 0c e8 b2 8e 66 f9 5b c3 cc cc cc cc cc e8 a6 8e 66 f9 90 <0f> 0b 90 5b e9 0c 44 e8 02 cc 66 66 2e 0f 1f 84 00 00 00 00 00 90 RSP: 0018:ffffc90004537028 EFLAGS: 00010246 RAX: ffffffff885f3c4a RBX: ffff88803b65d6b0 RCX: 0000000000080000 RDX: ffffc90012fd2000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: ffff88803b65d318 R08: 0000000000000000 R09: 0000000000000000 R10: dffffc0000000000 R11: ffffffff885d7360 R12: ffff88803b65d318 R13: 1ffff110076cba2d R14: ffffffff885d7360 R15: dffffc0000000000 FS: 00007f1b6dcb16c0(0000) GS:ffff888125d41000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c2424de CR3: 000000005fde2000 CR4: 00000000003526f0 Call Trace: rxe_dealloc+0x25/0xc0 drivers/infiniband/sw/rxe/rxe.c:26 ib_dealloc_device+0x54/0x200 drivers/infiniband/core/device.c:668 __ib_unregister_device+0x38f/0x400 drivers/infiniband/core/device.c:1554 ib_unregister_device_and_put+0xb8/0xf0 drivers/infiniband/core/device.c:1601 nldev_dellink+0x39e/0x430 drivers/infiniband/core/nldev.c:1860 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+0x6f6/0xa40 drivers/infiniband/core/netlink.c:259 netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline] netlink_unicast+0x7f5/0x990 net/netlink/af_netlink.c:1345 netlink_sendmsg+0x813/0xb40 net/netlink/af_netlink.c:1900 sock_sendmsg_nosec+0x13a/0x180 net/socket.c:775 __sock_sendmsg net/socket.c:790 [inline] ____sys_sendmsg+0x565/0x870 net/socket.c:2684 ___sys_sendmsg+0x2a5/0x360 net/socket.c:2738 __sys_sendmsg net/socket.c:2770 [inline] __do_sys_sendmsg net/socket.c:2775 [inline] __se_sys_sendmsg net/socket.c:2773 [inline] __x64_sys_sendmsg+0x1b7/0x290 net/socket.c:2773 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0x174/0x580 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f1b6febde99 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:00007f1b6dcb1028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f1b70146270 RCX: 00007f1b6febde99 RDX: 0000000000000000 RSI: 0000200000000180 RDI: 0000000000000009 RBP: 00007f1b6ff53eaf R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f1b70146308 R14: 00007f1b70146270 R15: 00007fff99320958