smc: removing ib device syz1
rdma_rxe: rxe-pd pool destroyed with unfree'd elem
rdma_rxe: rxe-mr pool destroyed with unfree'd elem
------------[ cut here ]------------
WARNING: CPU: 1 PID: 6031 at drivers/infiniband/core/restrack.c:52 rdma_restrack_clean+0x2a6/0x300
Modules linked in:
CPU: 1 PID: 6031 Comm: syz.1.604 Not tainted 5.15.178-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 12/27/2024
RIP: 0010:rdma_restrack_clean+0x2a6/0x300 drivers/infiniband/core/restrack.c:52
Code: 20 92 e3 f9 49 81 c7 68 02 00 00 4c 89 ff e8 a1 b4 9e fc 4c 89 f7 5b 41 5c 41 5d 41 5e 41 5f 5d e9 3f db 2c fa e8 fa 91 e3 f9 <0f> 0b e9 b9 fd ff ff e8 ee 91 e3 f9 0f 0b e9 f9 fd ff ff e8 e2 91
RSP: 0018:ffffc9000326f190 EFLAGS: 00010246
RAX: ffffffff879cf396 RBX: ffff88801fca6848 RCX: 0000000000080000
RDX: ffffc9000f34d000 RSI: 000000000007ffff RDI: 0000000000080000
RBP: 1ffff11004dbc9d7 R08: ffffffff8796044d R09: ffffed1004dbc9da
R10: 0000000000000000 R11: dffffc0000000001 R12: dffffc0000000000
R13: dffffc0000000000 R14: ffff88801fca6800 R15: ffff888026de4eb8
FS: 00007f6b6cce36c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 000000110c428268 CR3: 0000000026b6e000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
<TASK>
ib_dealloc_device+0x15e/0x1f0 drivers/infiniband/core/device.c:675
__ib_unregister_device+0x111/0x170 drivers/infiniband/core/device.c:1491
ib_unregister_device_and_put+0xb2/0xe0 drivers/infiniband/core/device.c:1538
nldev_dellink+0x2d0/0x320 drivers/infiniband/core/nldev.c:1740
rdma_nl_rcv_skb drivers/infiniband/core/netlink.c:239 [inline]
rdma_nl_rcv+0x6b6/0x9a0 drivers/infiniband/core/netlink.c:259
netlink_unicast_kernel net/netlink/af_netlink.c:1311 [inline]
netlink_unicast+0x7b6/0x980 net/netlink/af_netlink.c:1337
netlink_sendmsg+0xa30/0xd60 net/netlink/af_netlink.c:1905
sock_sendmsg_nosec net/socket.c:704 [inline]
__sock_sendmsg net/socket.c:716 [inline]
____sys_sendmsg+0x59e/0x8f0 net/socket.c:2436
___sys_sendmsg+0x252/0x2e0 net/socket.c:2490
__sys_sendmsg net/socket.c:2519 [inline]
__do_sys_sendmsg net/socket.c:2528 [inline]
__se_sys_sendmsg+0x19a/0x260 net/socket.c:2526
do_syscall_x64 arch/x86/entry/common.c:50 [inline]
do_syscall_64+0x3b/0xb0 arch/x86/entry/common.c:80
entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f6b6eebbde9
Code: ff ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 40 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 a8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007f6b6cce3038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f6b6f0d5160 RCX: 00007f6b6eebbde9
RDX: 0000000000000840 RSI: 00004000000000c0 RDI: 0000000000000004
RBP: 00007f6b6ef3d2a0 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 0000000000000000 R14: 00007f6b6f0d5160 R15: 00007fff32856668
</TASK>