smc: removing ib device syz0 ------------[ cut here ]------------ WARNING: CPU: 1 PID: 8716 at drivers/infiniband/sw/rxe/rxe_pool.c:116 rxe_pool_cleanup+0x41/0x60 drivers/infiniband/sw/rxe/rxe_pool.c:116 Modules linked in: CPU: 1 UID: 0 PID: 8716 Comm: syz.3.674 Not tainted 6.12.0-rc6-syzkaller-00077-g2e1b3cc9d7f7 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 09/13/2024 RIP: 0010:rxe_pool_cleanup+0x41/0x60 drivers/infiniband/sw/rxe/rxe_pool.c:116 Code: 00 00 00 00 fc ff df 48 89 fa 48 c1 ea 03 80 3c 02 00 75 1f 48 83 bb 80 00 00 00 00 75 06 5b e9 a5 2d 3c f9 e8 a0 2d 3c f9 90 <0f> 0b 90 5b e9 96 2d 3c f9 e8 a1 b7 9d f9 eb da 66 66 2e 0f 1f 84 RSP: 0018:ffffc900037cf1c8 EFLAGS: 00010246 RAX: 0000000000040000 RBX: ffff88805f9052f8 RCX: ffffc9000be42000 RDX: 0000000000040000 RSI: ffffffff88514db0 RDI: ffff88805f905378 RBP: ffffffff884fb6f0 R08: 0000000000000005 R09: 0000000000000001 R10: 0000000000000002 R11: 0000000000000000 R12: ffff88805f904648 R13: ffff88805f903fe0 R14: ffff88805f903fe0 R15: ffff88805f905058 FS: 00007fa8a9f326c0(0000) GS:ffff8880b8700000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000055bb355910e0 CR3: 000000005e38c000 CR4: 00000000003526f0 DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000 DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400 Call Trace: rxe_dealloc+0x26/0x110 drivers/infiniband/sw/rxe/rxe.c:24 ib_dealloc_device+0x46/0x230 drivers/infiniband/core/device.c:663 __ib_unregister_device+0x396/0x480 drivers/infiniband/core/device.c:1536 ib_unregister_device_and_put+0x5a/0x80 drivers/infiniband/core/device.c:1583 nldev_dellink+0x211/0x300 drivers/infiniband/core/nldev.c:1825 rdma_nl_rcv_msg+0x388/0x6e0 drivers/infiniband/core/netlink.c:195 rdma_nl_rcv_skb.constprop.0.isra.0+0x2e6/0x450 drivers/infiniband/core/netlink.c:239 netlink_unicast_kernel net/netlink/af_netlink.c:1331 [inline] netlink_unicast+0x53c/0x7f0 net/netlink/af_netlink.c:1357 netlink_sendmsg+0x8b8/0xd70 net/netlink/af_netlink.c:1901 sock_sendmsg_nosec net/socket.c:729 [inline] __sock_sendmsg net/socket.c:744 [inline] ____sys_sendmsg+0xaaf/0xc90 net/socket.c:2607 ___sys_sendmsg+0x135/0x1e0 net/socket.c:2661 __sys_sendmsg+0x117/0x1f0 net/socket.c:2690 do_syscall_x64 arch/x86/entry/common.c:52 [inline] do_syscall_64+0xcd/0x250 arch/x86/entry/common.c:83 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7fa8a917e719 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:00007fa8a9f32038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007fa8a9335f80 RCX: 00007fa8a917e719 RDX: 0000000020000000 RSI: 00000000200002c0 RDI: 0000000000000006 RBP: 00007fa8a91f139e R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 0000000000000000 R14: 00007fa8a9335f80 R15: 00007ffefb2c6b08