syzbot


WARNING in gid_table_release_one (4)

Status: upstream: reported on 2026/03/07 12:38
Subsystems: rdma
[Documentation on labels]
Reported-by: syzbot+0e8fa99d40c1f50c1527@syzkaller.appspotmail.com
First crash: 56d, last: 8d10h
Discussions (3)
Title Replies (including bot) Last reply
[syzbot] Monthly rdma report (Apr 2026) 0 (1) 2026/04/28 08:56
[syzbot] Monthly rdma report (Mar 2026) 0 (1) 2026/03/27 20:36
[syzbot] [rdma?] WARNING in gid_table_release_one (4) 0 (1) 2026/03/07 12:38
Similar bugs (8)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in gid_table_release_one origin:upstream -1 syz 47 106d 351d 0/3 auto-obsoleted due to no activity on 2026/03/28 03:00
upstream WARNING in gid_table_release_one (3) rdma -1 C done 455 116d 350d 29/29 fixed on 2026/01/26 05:07
linux-6.1 WARNING in gid_table_release_one -1 1 620d 620d 0/3 auto-obsoleted due to no activity on 2024/11/25 05:33
upstream WARNING in gid_table_release_one (2) rdma -1 1 608d 604d 28/29 fixed on 2024/10/24 03:35
upstream WARNING in gid_table_release_one rdma -1 12 670d 678d 0/29 auto-obsoleted due to no activity on 2024/08/06 20:20
linux-6.1 WARNING in gid_table_release_one (3) origin:upstream -1 syz error 15 118d 179d 0/3 upstream: reported syz repro on 2025/10/31 21:06
linux-6.6 WARNING in gid_table_release_one origin:upstream -1 syz error 43 111d 311d 0/2 auto-obsoleted due to no activity on 2026/03/18 18:53
linux-6.1 WARNING in gid_table_release_one (2) -1 3 334d 354d 0/3 auto-obsoleted due to no activity on 2025/09/06 20:49

Sample crash report:
infiniband syz1: set active
infiniband syz1: added syz_tun
smbdirect: ib_dev[syz1]: added: IB_CA max_fast_reg_page_list_len=512 device_cap_flags=0x1c001223c76 kernel_cap_flags=0x14 page_size_cap=0xfffff000
smbdirect: ib_dev[syz1]: num_ports=1 max_qp_rd_atom=128 max_qp_init_rd_atom=128 max_sgl_rd=0 max_sge_rd=32 max_cqe=32767 max_qp_wr=1048576 max_send_sge=32 max_recv_sge=32
smbdirect: ib_dev[syz1]PORT[1]: iwarp=0 ib=0 roce=1 v1=0 v2=1 core_cap_flags=0x803005
RDS/IB: syz1: added
smc: adding ib device syz1 with port count 1
smc:    ib device syz1 port 1 has no pnetid
syz.0.0: attempt to access beyond end of device
loop0: rw=2057, sector=68719479088, nr_sectors = 2056 limit=32768
gfs2: fsid=syz:syz.0: Failed to zero data buffers
syz.0.0: attempt to access beyond end of device
loop0: rw=2049, sector=68719479088, nr_sectors = 8 limit=32768
syz.0.0: attempt to access beyond end of device
loop0: rw=2049, sector=68719481144, nr_sectors = 8 limit=32768
syz.0.0: attempt to access beyond end of device
loop0: rw=14337, sector=68719479080, nr_sectors = 8 limit=32768
Buffer I/O error on dev loop0, logical block 8589934885, lost async page write
syz.0.0: attempt to access beyond end of device
loop0: rw=12288, sector=68719479080, nr_sectors = 8 limit=32768
smc: removing ib device syz1
smbdirect: ib_dev[syz1] removed
------------[ cut here ]------------
GID entry ref leak for dev syz1 index 2 ref=1
WARNING: drivers/infiniband/core/cache.c:808 at release_gid_table drivers/infiniband/core/cache.c:805 [inline], CPU#0: syz.0.0/5341
WARNING: drivers/infiniband/core/cache.c:808 at gid_table_release_one+0x1fa/0x440 drivers/infiniband/core/cache.c:885, CPU#0: syz.0.0/5341
Modules linked in:
CPU: 0 UID: 0 PID: 5341 Comm: syz.0.0 Not tainted syzkaller #0 PREEMPT(full) 
Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS 1.16.3-debian-1.16.3-2 04/01/2014
RIP: 0010:release_gid_table drivers/infiniband/core/cache.c:805 [inline]
RIP: 0010:gid_table_release_one+0x2aa/0x440 drivers/infiniband/core/cache.c:885
Code: 00 48 89 ef be 04 00 00 00 e8 f2 3c 8c f9 48 89 e8 48 c1 e8 03 42 0f b6 04 28 84 c0 75 54 8b 4d 00 48 89 df 4c 89 fe 44 89 e2 <67> 48 0f b9 3a 4d 89 ef 4c 8b 6c 24 68 48 8b 44 24 70 42 0f b6 04
RSP: 0018:ffffc9000f1e7030 EFLAGS: 00010246
RAX: 0000000000000000 RBX: ffffffff9041ae60 RCX: 0000000000000001
RDX: 0000000000000002 RSI: ffff88801ed9ba40 RDI: ffffffff9041ae60
RBP: ffff888037480b00 R08: ffff888037480b03 R09: 1ffff11006e90160
R10: dffffc0000000000 R11: ffffed1006e90161 R12: 0000000000000002
R13: dffffc0000000000 R14: ffff88804291d0d0 R15: ffff88801ed9ba40
FS:  00007fcee1ac66c0(0000) GS:ffff88808c812000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fcee1ac3f20 CR3: 000000001f6a7000 CR4: 0000000000352ef0
Call Trace:
 <TASK>
 ib_device_release+0xd2/0x1c0 drivers/infiniband/core/device.c:482
 device_release+0xc4/0x1f0 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+0x228/0x560 lib/kobject.c:737
 nldev_dellink+0x288/0x320 drivers/infiniband/core/nldev.c:1827
 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+0x6d1/0xa10 drivers/infiniband/core/netlink.c:259
 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline]
 netlink_unicast+0x75c/0x8e0 net/netlink/af_netlink.c:1344
 netlink_sendmsg+0x813/0xb40 net/netlink/af_netlink.c:1894
 sock_sendmsg_nosec net/socket.c:787 [inline]
 __sock_sendmsg net/socket.c:802 [inline]
 ____sys_sendmsg+0x972/0x9f0 net/socket.c:2698
 ___sys_sendmsg+0x2a5/0x360 net/socket.c:2752
 __sys_sendmsg net/socket.c:2784 [inline]
 __do_sys_sendmsg net/socket.c:2789 [inline]
 __se_sys_sendmsg net/socket.c:2787 [inline]
 __x64_sys_sendmsg+0x1bd/0x2a0 net/socket.c:2787
 do_syscall_x64 arch/x86/entry/syscall_64.c:63 [inline]
 do_syscall_64+0x15f/0xf80 arch/x86/entry/syscall_64.c:94
 entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7fcee0b9c819
Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 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 e8 ff ff ff f7 d8 64 89 01 48
RSP: 002b:00007fcee1ac5fe8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fcee0e15fa0 RCX: 00007fcee0b9c819
RDX: 0000000000000000 RSI: 00002000000002c0 RDI: 000000000000000a
RBP: 00007fcee0c32c91 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fcee0e16038 R14: 00007fcee0e15fa0 R15: 00007ffde4e47ea8
 </TASK>
----------------
Code disassembly (best guess):
   0:	00 48 89             	add    %cl,-0x77(%rax)
   3:	ef                   	out    %eax,(%dx)
   4:	be 04 00 00 00       	mov    $0x4,%esi
   9:	e8 f2 3c 8c f9       	call   0xf98c3d00
   e:	48 89 e8             	mov    %rbp,%rax
  11:	48 c1 e8 03          	shr    $0x3,%rax
  15:	42 0f b6 04 28       	movzbl (%rax,%r13,1),%eax
  1a:	84 c0                	test   %al,%al
  1c:	75 54                	jne    0x72
  1e:	8b 4d 00             	mov    0x0(%rbp),%ecx
  21:	48 89 df             	mov    %rbx,%rdi
  24:	4c 89 fe             	mov    %r15,%rsi
  27:	44 89 e2             	mov    %r12d,%edx
* 2a:	67 48 0f b9 3a       	ud1    (%edx),%rdi <-- trapping instruction
  2f:	4d 89 ef             	mov    %r13,%r15
  32:	4c 8b 6c 24 68       	mov    0x68(%rsp),%r13
  37:	48 8b 44 24 70       	mov    0x70(%rsp),%rax
  3c:	42                   	rex.X
  3d:	0f                   	.byte 0xf
  3e:	b6 04                	mov    $0x4,%dh

Crashes (5):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/04/20 23:50 upstream c1f49dea2b8f e65da4ee .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in gid_table_release_one
2026/03/28 15:26 upstream be762d8b6dd7 b5ceaad2 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in gid_table_release_one
2026/03/25 06:26 upstream 24f9515de877 35e4ff71 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in gid_table_release_one
2026/03/15 02:42 upstream 69237f8c1f69 ee8d34d6 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in gid_table_release_one
2026/03/03 12:32 upstream af4e9ef3d784 28b83e23 .config console log report [disk image (non-bootable)] [vmlinux] [kernel image] ci-snapshot-upstream-root WARNING in gid_table_release_one
* Struck through repros no longer work on HEAD.