------------[ cut here ]------------ GID entry ref leak for dev syz1 index 2 ref=2 WARNING: CPU: 1 PID: 6340 at drivers/infiniband/core/cache.c:809 release_gid_table drivers/infiniband/core/cache.c:806 [inline] WARNING: CPU: 1 PID: 6340 at drivers/infiniband/core/cache.c:809 gid_table_release_one+0x30f/0x490 drivers/infiniband/core/cache.c:886 Modules linked in: CPU: 1 PID: 6340 Comm: syz.0.60 Not tainted syzkaller #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025 RIP: 0010:release_gid_table drivers/infiniband/core/cache.c:806 [inline] RIP: 0010:gid_table_release_one+0x30f/0x490 drivers/infiniband/core/cache.c:886 Code: 03 48 b9 00 00 00 00 00 fc ff df 0f b6 04 08 84 c0 75 3c 41 8b 0e 48 c7 c7 20 11 86 8b 48 8b 74 24 20 44 89 fa e8 91 b5 af f9 <0f> 0b e9 14 ff ff ff 44 89 e9 80 e1 07 80 c1 03 38 c1 0f 8c 1a ff RSP: 0000:ffffc900034470c8 EFLAGS: 00010246 RAX: 81afce7c2351c300 RBX: ffff888078add4d8 RCX: 0000000000080000 RDX: ffffc9000ca79000 RSI: 000000000007ffff RDI: 0000000000080000 RBP: 1ffff1100f15ba80 R08: ffff8880b8f28c13 R09: 1ffff110171e5182 R10: dffffc0000000000 R11: ffffed10171e5183 R12: 1ffff1100f15ba9b R13: ffff888078add400 R14: ffff88805ecc7b00 R15: 0000000000000002 FS: 00007f20b0fd56c0(0000) GS:ffff8880b8f00000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f086ca27000 CR3: 0000000076623000 CR4: 00000000003506e0 Call Trace: ib_device_release+0xd2/0x1b0 drivers/infiniband/core/device.c:498 device_release+0x96/0x1c0 drivers/base/core.c:-1 kobject_cleanup lib/kobject.c:689 [inline] kobject_release lib/kobject.c:720 [inline] kref_put include/linux/kref.h:65 [inline] kobject_put+0x221/0x470 lib/kobject.c:737 nldev_dellink+0x2af/0x300 drivers/infiniband/core/nldev.c:1762 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+0x6b9/0x9a0 drivers/infiniband/core/netlink.c:259 netlink_unicast_kernel net/netlink/af_netlink.c:1320 [inline] netlink_unicast+0x751/0x8d0 net/netlink/af_netlink.c:1346 netlink_sendmsg+0x8c1/0xbe0 net/netlink/af_netlink.c:1894 sock_sendmsg_nosec net/socket.c:730 [inline] __sock_sendmsg net/socket.c:745 [inline] ____sys_sendmsg+0x5bf/0x950 net/socket.c:2595 ___sys_sendmsg+0x220/0x290 net/socket.c:2649 __sys_sendmsg net/socket.c:2678 [inline] __do_sys_sendmsg net/socket.c:2687 [inline] __se_sys_sendmsg+0x1a5/0x270 net/socket.c:2685 do_syscall_x64 arch/x86/entry/common.c:51 [inline] do_syscall_64+0x55/0xb0 arch/x86/entry/common.c:81 entry_SYSCALL_64_after_hwframe+0x68/0xd2 RIP: 0033:0x7f20b018f749 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:00007f20b0fd5038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f20b03e5fa0 RCX: 00007f20b018f749 RDX: 0000000000000000 RSI: 00002000000002c0 RDI: 0000000000000005 RBP: 00007f20b0213f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f20b03e6038 R14: 00007f20b03e5fa0 R15: 00007ffd5e2d3878