syzbot


WARNING in rdma_restrack_clean (3)

Status: upstream: reported on 2026/05/08 04:31
Reported-by: syzbot+3638d6c9daa6b48d4b3b@syzkaller.appspotmail.com
First crash: 6d01h, last: 2d19h
Similar bugs (3)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in rdma_restrack_clean -1 1 457d 457d 0/3 auto-obsoleted due to no activity on 2025/05/21 13:05
linux-5.15 WARNING in rdma_restrack_clean (2) -1 9 106d 343d 0/3 auto-obsoleted due to no activity on 2026/05/07 20:10
upstream WARNING in rdma_restrack_clean rdma -1 2 393d 480d 0/29 auto-obsoleted due to no activity on 2025/07/24 09:06

Sample crash report:
siw: device registration error -23
smc: removing ib device syz2
rdma_rxe: rxe-pd pool destroyed with unfree'd elem
rdma_rxe: rxe-mr pool destroyed with unfree'd elem
------------[ cut here ]------------
WARNING: CPU: 1 PID: 8803 at drivers/infiniband/core/restrack.c:52 rdma_restrack_clean+0x2a6/0x300 drivers/infiniband/core/restrack.c:52
Modules linked in:
CPU: 1 PID: 8803 Comm: syz.7.1019 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/18/2026
RIP: 0010:rdma_restrack_clean+0x2a6/0x300 drivers/infiniband/core/restrack.c:52
Code: 50 8c 44 fa 49 81 c6 68 02 00 00 4c 89 f7 e8 81 0f d5 fc 48 89 df 5b 41 5c 41 5d 41 5e 41 5f 5d e9 3f 15 89 fa e8 2a 8c 44 fa <0f> 0b e9 b9 fd ff ff e8 1e 8c 44 fa 0f 0b e9 f9 fd ff ff e8 12 8c
RSP: 0018:ffffc9000330f260 EFLAGS: 00010246
RAX: ffffffff8734a866 RBX: ffff88806627b800 RCX: 0000000000080000
RDX: ffffc9000ed5b000 RSI: 000000000007ffff RDI: 0000000000080000
RBP: 1ffff1100f14e1d8 R08: ffff888078a70ed3 R09: 1ffff1100f14e1da
R10: dffffc0000000000 R11: ffffed100f14e1db R12: 1ffff1100f14e1c9
R13: dffffc0000000000 R14: ffff888078a70ec0 R15: ffff88806627b848
FS:  00007f16ca9cd6c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f0147a04dac CR3: 000000005a4b3000 CR4: 00000000003506e0
DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
DR3: 0000000000000000 DR6: 00000000fffe0ff0 DR7: 0000000000000400
Call Trace:
 <TASK>
 ib_dealloc_device+0x160/0x1f0 drivers/infiniband/core/device.c:685
 __ib_unregister_device+0x120/0x170 drivers/infiniband/core/device.c:1506
 ib_unregister_device_and_put+0xb4/0xf0 drivers/infiniband/core/device.c:1553
 nldev_dellink+0x281/0x310 drivers/infiniband/core/nldev.c:1741
 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+0x6be/0x9d0 drivers/infiniband/core/netlink.c:259
 netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline]
 netlink_unicast+0x774/0x920 net/netlink/af_netlink.c:1344
 netlink_sendmsg+0x8ba/0xbe0 net/netlink/af_netlink.c:1918
 sock_sendmsg_nosec net/socket.c:706 [inline]
 __sock_sendmsg net/socket.c:718 [inline]
 ____sys_sendmsg+0x5b7/0x8f0 net/socket.c:2445
 ___sys_sendmsg+0x236/0x2e0 net/socket.c:2499
 __sys_sendmsg net/socket.c:2528 [inline]
 __do_sys_sendmsg net/socket.c:2537 [inline]
 __se_sys_sendmsg+0x1af/0x290 net/socket.c:2535
 do_syscall_x64 arch/x86/entry/common.c:50 [inline]
 do_syscall_64+0x4c/0xa0 arch/x86/entry/common.c:80
 entry_SYSCALL_64_after_hwframe+0x66/0xd0
RIP: 0033:0x7f16cc794dd9
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:00007f16ca9cd028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f16cca0e090 RCX: 00007f16cc794dd9
RDX: 0000000000000000 RSI: 00002000000002c0 RDI: 0000000000000003
RBP: 00007f16cc82ad69 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f16cca0e128 R14: 00007f16cca0e090 R15: 00007fffbf0c2ed8
 </TASK>

Crashes (2):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/05/11 10:40 linux-5.15.y de8dfb3f0278 845acb1c .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in rdma_restrack_clean
2026/05/08 04:30 linux-5.15.y ef251c45f1cd 5633175a .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in rdma_restrack_clean
* Struck through repros no longer work on HEAD.