syzbot
WARNING in rdma_restrack_clean (2)
Status:
upstream: reported on 2026/06/07 05:29
Subsystems:
rdma
Labels:
prio:low
[Documentation on labels]
Reported-by: syzbot+47c9ad191991e1bb459b@syzkaller.appspotmail.com
First crash: 100d, last: 21d
Sample crash report:
netlink: 8 bytes leftover after parsing attributes in process `syz.2.465'.
netlink: 20 bytes leftover after parsing attributes in process `syz.2.465'.
smc: removing ib device syz0
smbdirect: ib_dev[syz0] removed
------------[ cut here ]------------
!xa_empty(xa)
WARNING: drivers/infiniband/core/restrack.c:52 at rdma_restrack_clean+0xe6/0x110 drivers/infiniband/core/restrack.c:52, CPU#1: syz.2.465/7209
Modules linked in:
CPU: 1 UID: 0 PID: 7209 Comm: syz.2.465 Not tainted syzkaller #0 PREEMPT(full)
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/16/2026
RIP: 0010:rdma_restrack_clean+0xe6/0x110 drivers/infiniband/core/restrack.c:52
Code: 43 f9 83 fd 09 75 a8 e8 e8 ee 43 f9 48 8b 7c 24 08 48 83 c4 10 5b 5d 41 5c 41 5d 41 5e 41 5f e9 90 72 a8 f9 e8 cb ee 43 f9 90 <0f> 0b 90 eb b3 e8 30 8f b4 f9 eb a5 48 8b 3c 24 e8 25 8f b4 f9 e9
RSP: 0018:ffffc90003d9f168 EFLAGS: 00010246
RAX: 0000000000080000 RBX: ffff88807e212800 RCX: ffffc9000dc4a000
RDX: 0000000000080000 RSI: ffffffff88c6dfc5 RDI: ffff88807e212848
RBP: 0000000000000000 R08: 0000000000000005 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000000
R13: ffff888077eac000 R14: ffffed100efd59d8 R15: dffffc0000000000
FS: 00007f337e8c96c0(0000) GS:ffff888123cc6000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 0000000000000000 CR3: 000000002910b000 CR4: 00000000003526f0
Call Trace:
<TASK>
ib_dealloc_device+0x17e/0x230 drivers/infiniband/core/device.c:687
__ib_unregister_device+0x396/0x480 drivers/infiniband/core/device.c:1554
ib_unregister_device_and_put+0x5a/0x80 drivers/infiniband/core/device.c:1601
nldev_dellink+0x308/0x430 drivers/infiniband/core/nldev.c:1860
rdma_nl_rcv_msg+0x392/0x6f0 drivers/infiniband/core/netlink.c:195
rdma_nl_rcv_skb.constprop.0.isra.0+0x2cb/0x410 drivers/infiniband/core/netlink.c:239
netlink_unicast_kernel net/netlink/af_netlink.c:1319 [inline]
netlink_unicast+0x585/0x850 net/netlink/af_netlink.c:1345
netlink_sendmsg+0x8b0/0xda0 net/netlink/af_netlink.c:1900
sock_sendmsg_nosec net/socket.c:800 [inline]
__sock_sendmsg net/socket.c:815 [inline]
____sys_sendmsg+0xa4d/0xbe0 net/socket.c:2709
___sys_sendmsg+0x190/0x1e0 net/socket.c:2763
__sys_sendmsg+0x160/0x210 net/socket.c:2795
do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline]
do_syscall_64+0x123/0x790 arch/x86/entry/syscall_64.c:84
entry_SYSCALL_64_after_hwframe+0x77/0x7f
RIP: 0033:0x7f337d99e0d9
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:00007f337e8c9028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007f337dc25fa0 RCX: 00007f337d99e0d9
RDX: 0000000000000000 RSI: 00002000000002c0 RDI: 000000000000000c
RBP: 00007f337da35024 R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007f337dc26038 R14: 00007f337dc25fa0 R15: 00007ffe8e7ed078
</TASK>
* Struck through repros no longer work on HEAD.