------------[ cut here ]------------ GID entry ref leak for dev syz1 index 2 ref=1 WARNING: drivers/infiniband/core/cache.c:806 at release_gid_table drivers/infiniband/core/cache.c:806 [inline], CPU#0: syz.1.667/8446 WARNING: drivers/infiniband/core/cache.c:806 at gid_table_release_one+0x1ad/0x450 drivers/infiniband/core/cache.c:886, CPU#0: syz.1.667/8446 Modules linked in: CPU: 0 UID: 0 PID: 8446 Comm: syz.1.667 Tainted: G L syzkaller #0 PREEMPT(full) Tainted: [L]=SOFTLOCKUP 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+0x1b6/0x450 drivers/infiniband/core/cache.c:886 Code: 4c 24 38 48 c1 e8 03 4d 01 fc 48 89 44 24 08 eb 54 48 89 34 24 e8 3a 73 4d f9 48 8d 3d a3 ba 23 08 48 8b 34 24 89 e9 44 89 f2 <67> 48 0f b9 3a e8 20 73 4d f9 48 89 d8 41 83 c6 01 48 c1 e8 03 42 RSP: 0018:ffffc90003127158 EFLAGS: 00010246 RAX: 0000000000080000 RBX: ffff88807d0ae800 RCX: 0000000000000001 RDX: 0000000000000002 RSI: ffff88807d0975e0 RDI: ffffffff90952e30 RBP: 0000000000000001 R08: 0000000000000000 R09: ffffed100fa399a0 R10: ffff88807d1ccd03 R11: ffffffff82288a43 R12: ffffed100fa15d1b R13: ffff88802a9f8000 R14: 0000000000000002 R15: dffffc0000000000 FS: 00007f33729cd6c0(0000) GS:ffff8881248f5000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 000000110c43d5f0 CR3: 0000000077e6e000 CR4: 00000000003526f0 Call Trace: ib_device_release+0xef/0x1e0 drivers/infiniband/core/device.c:509 device_release+0xa4/0x240 drivers/base/core.c:2565 kobject_cleanup lib/kobject.c:689 [inline] kobject_release lib/kobject.c:720 [inline] kref_put include/linux/kref.h:65 [inline] kobject_put+0x1ef/0x6f0 lib/kobject.c:737 put_device+0x1f/0x30 drivers/base/core.c:3797 nldev_dellink+0x21f/0x320 drivers/infiniband/core/nldev.c:1827 rdma_nl_rcv_msg+0x38a/0x6e0 drivers/infiniband/core/netlink.c:195 rdma_nl_rcv_skb.constprop.0.isra.0+0x2d0/0x430 drivers/infiniband/core/netlink.c:239 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline] netlink_unicast+0x5aa/0x870 net/netlink/af_netlink.c:1344 netlink_sendmsg+0x8c8/0xdd0 net/netlink/af_netlink.c:1894 sock_sendmsg_nosec net/socket.c:727 [inline] __sock_sendmsg net/socket.c:742 [inline] ____sys_sendmsg+0xa5d/0xc30 net/socket.c:2592 ___sys_sendmsg+0x134/0x1d0 net/socket.c:2646 __sys_sendmsg+0x16d/0x220 net/socket.c:2678 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline] do_syscall_64+0xcd/0xf80 arch/x86/entry/syscall_64.c:94 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f337478f749 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:00007f33729cd038 EFLAGS: 00000246 ORIG_RAX: 000000000000002e RAX: ffffffffffffffda RBX: 00007f33749e6090 RCX: 00007f337478f749 RDX: 0000000000000000 RSI: 00002000000002c0 RDI: 0000000000000009 RBP: 00007f3374813f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f33749e6128 R14: 00007f33749e6090 R15: 00007ffdb9dc1a68 ---------------- Code disassembly (best guess): 0: 4c 24 38 rex.WR and $0x38,%al 3: 48 c1 e8 03 shr $0x3,%rax 7: 4d 01 fc add %r15,%r12 a: 48 89 44 24 08 mov %rax,0x8(%rsp) f: eb 54 jmp 0x65 11: 48 89 34 24 mov %rsi,(%rsp) 15: e8 3a 73 4d f9 call 0xf94d7354 1a: 48 8d 3d a3 ba 23 08 lea 0x823baa3(%rip),%rdi # 0x823bac4 21: 48 8b 34 24 mov (%rsp),%rsi 25: 89 e9 mov %ebp,%ecx 27: 44 89 f2 mov %r14d,%edx * 2a: 67 48 0f b9 3a ud1 (%edx),%rdi <-- trapping instruction 2f: e8 20 73 4d f9 call 0xf94d7354 34: 48 89 d8 mov %rbx,%rax 37: 41 83 c6 01 add $0x1,%r14d 3b: 48 c1 e8 03 shr $0x3,%rax 3f: 42 rex.X