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: 10810 at drivers/infiniband/core/restrack.c:52 rdma_restrack_clean+0x2a6/0x300 drivers/infiniband/core/restrack.c:52 Modules linked in: CPU: 1 PID: 10810 Comm: syz.2.2187 Not tainted 5.15.185-syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 05/07/2025 RIP: 0010:rdma_restrack_clean+0x2a6/0x300 drivers/infiniband/core/restrack.c:52 Code: 40 21 56 fa 49 81 c6 68 02 00 00 4c 89 f7 e8 51 54 df fc 48 89 df 5b 41 5c 41 5d 41 5e 41 5f 5d e9 6f 03 9b fa e8 1a 21 56 fa <0f> 0b e9 b9 fd ff ff e8 0e 21 56 fa 0f 0b e9 f9 fd ff ff e8 02 21 RSP: 0018:ffffc9000335f260 EFLAGS: 00010246 RAX: ffffffff8721a106 RBX: ffff888075c80800 RCX: 0000000000080000 RDX: ffffc900100d2000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: 1ffff110044359d8 R08: dffffc0000000000 R09: ffffed10044359db R10: ffffed10044359db R11: 1ffff110044359da R12: 1ffff110044359c9 R13: dffffc0000000000 R14: ffff8880221acec0 R15: ffff888075c80848 FS: 00007f4a0c3226c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f144b5e79ba CR3: 000000005fa87000 CR4: 00000000003506e0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: ib_dealloc_device+0x160/0x1f0 drivers/infiniband/core/device.c:684 __ib_unregister_device+0x120/0x170 drivers/infiniband/core/device.c:1500 ib_unregister_device_and_put+0xb4/0xf0 drivers/infiniband/core/device.c:1547 nldev_dellink+0x2be/0x310 drivers/infiniband/core/nldev.c:1740 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+0x69b/0x970 drivers/infiniband/core/netlink.c:259 netlink_unicast_kernel net/netlink/af_netlink.c:1311 [inline] netlink_unicast+0x77c/0x920 net/netlink/af_netlink.c:1337 netlink_sendmsg+0x8ab/0xbc0 net/netlink/af_netlink.c:1905 sock_sendmsg_nosec net/socket.c:704 [inline] __sock_sendmsg net/socket.c:716 [inline] ____sys_sendmsg+0x5a2/0x8c0 net/socket.c:2436 ___sys_sendmsg+0x1f0/0x260 net/socket.c:2490 __sys_sendmsg net/socket.c:2519 [inline] __do_sys_sendmsg net/socket.c:2528 [inline] __se_sys_sendmsg+0x190/0x250 net/socket.c:2526 do_syscall_x64 arch/x86/entry/common.c:50 [inline] do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80 entry_SYSCALL_64_after_hwframe+0x66/0xd0 RIP: 0033:0x7f4a0e4fc929 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:00007f4a0c322038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f4a0e724160 RCX: 00007f4a0e4fc929 RDX: 0000000000000000 RSI: 00002000000002c0 RDI: 0000000000000008 RBP: 00007f4a0e57eb39 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007f4a0e724160 R15: 00007ffcdf9bb598