------------[ 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.4.3071/18556 WARNING: drivers/infiniband/core/cache.c:806 at gid_table_release_one+0x1ad/0x450 drivers/infiniband/core/cache.c:886, CPU#0: syz.4.3071/18556 Modules linked in: CPU: 0 UID: 0 PID: 18556 Comm: syz.4.3071 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 8a 77 4d f9 48 8d 3d 33 c1 23 08 48 8b 34 24 89 e9 44 89 f2 <67> 48 0f b9 3a e8 70 77 4d f9 48 89 d8 41 83 c6 01 48 c1 e8 03 42 RSP: 0018:ffffc90003527a18 EFLAGS: 00010246 RAX: 0000000000080000 RBX: ffff88802af99400 RCX: 0000000000000001 RDX: 0000000000000002 RSI: ffff888056d5cd20 RDI: ffffffff90953270 RBP: 0000000000000001 R08: 0000000000000000 R09: ffffed1006691f20 R10: ffff88803348f903 R11: ffffffff81000130 R12: ffffed10055f329b R13: ffff888053acc000 R14: 0000000000000002 R15: dffffc0000000000 FS: 00007f5c7f3696c0(0000) GS:ffff8881248f5000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007fc2d4c7dd58 CR3: 00000000592b1000 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 rdma_dev_exit_net+0x2e5/0x590 drivers/infiniband/core/device.c:1183 ops_exit_list net/core/net_namespace.c:199 [inline] ops_undo_list+0x2ee/0xab0 net/core/net_namespace.c:252 setup_net+0x1ff/0x3a0 net/core/net_namespace.c:462 copy_net_ns+0x351/0x7c0 net/core/net_namespace.c:581 create_new_namespaces+0x3ea/0xab0 kernel/nsproxy.c:130 unshare_nsproxy_namespaces+0xc0/0x1f0 kernel/nsproxy.c:226 ksys_unshare+0x45b/0xa40 kernel/fork.c:3171 __do_sys_unshare kernel/fork.c:3242 [inline] __se_sys_unshare kernel/fork.c:3240 [inline] __x64_sys_unshare+0x31/0x40 kernel/fork.c:3240 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:0x7f5c7e58f749 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:00007f5c7f369038 EFLAGS: 00000246 ORIG_RAX: 0000000000000110 RAX: ffffffffffffffda RBX: 00007f5c7e7e5fa0 RCX: 00007f5c7e58f749 RDX: 0000000000000000 RSI: 0000000000000000 RDI: 0000000048020200 RBP: 00007f5c7e613f91 R08: 0000000000000000 R09: 0000000000000000 R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000 R13: 00007f5c7e7e6038 R14: 00007f5c7e7e5fa0 R15: 00007fffe4551c78 ---------------- 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 8a 77 4d f9 call 0xf94d77a4 1a: 48 8d 3d 33 c1 23 08 lea 0x823c133(%rip),%rdi # 0x823c154 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 70 77 4d f9 call 0xf94d77a4 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