syzbot


WARNING in gid_table_release_one

Status: upstream: reported on 2025/05/12 20:58
Reported-by: syzbot+8b474f5d9a002f13359f@syzkaller.appspotmail.com
First crash: 6d00h, last: 5d02h
Similar bugs (5)
Kernel Title Repro Cause bisect Fix bisect Count Last Reported Patched Status
upstream WARNING in gid_table_release_one (3) rdma syz 8 8d18h 5d09h 0/28 upstream: reported syz repro on 2025/05/13 11:35
linux-6.1 WARNING in gid_table_release_one 1 274d 274d 0/3 auto-obsoleted due to no activity on 2024/11/25 05:33
upstream WARNING in gid_table_release_one (2) rdma 1 262d 258d 28/28 fixed on 2024/10/24 03:35
upstream WARNING in gid_table_release_one rdma 12 325d 332d 0/28 auto-obsoleted due to no activity on 2024/08/06 20:20
linux-6.1 WARNING in gid_table_release_one (2) 1 8d21h 8d21h 0/3 upstream: reported on 2025/05/09 23:30

Sample crash report:
------------[ cut here ]------------
GID entry ref leak for dev syz1 index 2 ref=1
WARNING: CPU: 1 PID: 154 at drivers/infiniband/core/cache.c:809 release_gid_table drivers/infiniband/core/cache.c:806 [inline]
WARNING: CPU: 1 PID: 154 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: 154 Comm: kworker/u4:2 Not tainted 5.15.182-syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/19/2025
Workqueue: events_unbound ib_unregister_work
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 e0 a0 e2 8a 48 8b 74 24 20 44 89 fa e8 a1 55 7a 02 <0f> 0b e9 14 ff ff ff 44 89 e9 80 e1 07 80 c1 03 38 c1 0f 8c 1a ff
RSP: 0018:ffffc90001ea7ae8 EFLAGS: 00010246
RAX: 6c631fd022aa0100 RBX: ffff88801fdd94d8 RCX: ffff88801d828000
RDX: 0000000000000000 RSI: 0000000080000000 RDI: 0000000000000000
RBP: 1ffff11003fbb280 R08: dffffc0000000000 R09: ffffed10172267a8
R10: ffffed10172267a8 R11: 1ffff110172267a7 R12: 1ffff11003fbb29b
R13: ffff88801fdd9400 R14: ffff88805f106d00 R15: 0000000000000002
FS:  0000000000000000(0000) GS:ffff8880b9000000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fbd432f8286 CR3: 000000000be8e000 CR4: 00000000003506f0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ib_device_release+0xce/0x1b0 drivers/infiniband/core/device.c:497
 device_release+0x92/0x1c0 drivers/base/core.c:-1
 kobject_cleanup lib/kobject.c:713 [inline]
 kobject_release lib/kobject.c:744 [inline]
 kref_put include/linux/kref.h:65 [inline]
 kobject_put+0x21d/0x460 lib/kobject.c:761
 process_one_work+0x863/0x1000 kernel/workqueue.c:2310
 worker_thread+0xaa8/0x12a0 kernel/workqueue.c:2457
 kthread+0x436/0x520 kernel/kthread.c:334
 ret_from_fork+0x1f/0x30 arch/x86/entry/entry_64.S:287
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2025/05/13 18:49 linux-5.15.y 3b8db0e4f263 7344edeb .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in gid_table_release_one
2025/05/12 20:57 linux-5.15.y 3b8db0e4f263 f6671af7 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in gid_table_release_one
* Struck through repros no longer work on HEAD.