syzbot


WARNING in rdma_restrack_clean (2)

Status: upstream: reported on 2025/06/05 03:52
Reported-by: syzbot+98dcc437ef897cdabe39@syzkaller.appspotmail.com
First crash: 238d, last: 1d16h
Similar bugs (2)
Kernel Title Rank 🛈 Repro Cause bisect Fix bisect Count Last Reported Patched Status
linux-5.15 WARNING in rdma_restrack_clean -1 1 352d 352d 0/3 auto-obsoleted due to no activity on 2025/05/21 13:05
upstream WARNING in rdma_restrack_clean rdma -1 2 289d 375d 0/29 auto-obsoleted due to no activity on 2025/07/24 09:06

Sample crash report:
smc: removing ib device syz1
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: 4483 at drivers/infiniband/core/restrack.c:52 rdma_restrack_clean+0x2a6/0x300 drivers/infiniband/core/restrack.c:52
Modules linked in:
CPU: 1 PID: 4483 Comm: syz.0.47 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 10/25/2025
RIP: 0010:rdma_restrack_clean+0x2a6/0x300 drivers/infiniband/core/restrack.c:52
Code: 30 d3 44 fa 49 81 c6 68 02 00 00 4c 89 f7 e8 51 1d d5 fc 48 89 df 5b 41 5c 41 5d 41 5e 41 5f 5d e9 6f 41 89 fa e8 0a d3 44 fa <0f> 0b e9 b9 fd ff ff e8 fe d2 44 fa 0f 0b e9 f9 fd ff ff e8 f2 d2
RSP: 0018:ffffc90003dcf260 EFLAGS: 00010246
RAX: ffffffff87344c96 RBX: ffff88807d231800 RCX: 0000000000080000
RDX: ffffc900039c2000 RSI: 000000000007ffff RDI: 0000000000080000
RBP: 1ffff1100f82e9d8 R08: ffff88807c174ed3 R09: 1ffff1100f82e9da
R10: dffffc0000000000 R11: ffffed100f82e9db R12: 1ffff1100f82e9c9
R13: dffffc0000000000 R14: ffff88807c174ec0 R15: ffff88807d231848
FS:  00007ffaf59b96c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007fed34bb2000 CR3: 000000007512e000 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:684
 __ib_unregister_device+0x120/0x170 drivers/infiniband/core/device.c:1505
 ib_unregister_device_and_put+0xb4/0xf0 drivers/infiniband/core/device.c:1552
 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:0x7ffaf7bc2eb9
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:00007ffaf59b9028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007ffaf7e3e270 RCX: 00007ffaf7bc2eb9
RDX: 0000000000000000 RSI: 00002000000002c0 RDI: 0000000000000004
RBP: 00007ffaf7c30c1f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007ffaf7e3e308 R14: 00007ffaf7e3e270 R15: 00007ffc0b788d28
 </TASK>

Crashes (9):
Time Kernel Commit Syzkaller Config Log Report Syz repro C repro VM info Assets (help?) Manager Title
2026/01/27 20:09 linux-5.15.y 9eec9a14ee10 9a514c2f .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in rdma_restrack_clean
2025/10/23 11:08 linux-5.15.y ac56c046adf4 c0460fcd .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in rdma_restrack_clean
2025/10/18 04:20 linux-5.15.y 29e53a5b1c4f 1c8c8cd8 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in rdma_restrack_clean
2025/10/02 20:02 linux-5.15.y 29e53a5b1c4f 49379ee0 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in rdma_restrack_clean
2025/09/12 16:12 linux-5.15.y 43bb85222e53 e2beed91 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in rdma_restrack_clean
2025/06/08 19:00 linux-5.15.y 1c700860e8bc 4826c28e .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in rdma_restrack_clean
2025/06/05 04:50 linux-5.15.y 1c700860e8bc 6b6b5f21 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in rdma_restrack_clean
2025/06/05 03:52 linux-5.15.y 1c700860e8bc 6b6b5f21 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan WARNING in rdma_restrack_clean
2025/07/22 18:41 linux-5.15.y c79648372d02 8e9d1dc1 .config console log report info [disk image] [vmlinux] [kernel image] ci2-linux-5-15-kasan-arm64 WARNING in rdma_restrack_clean
* Struck through repros no longer work on HEAD.