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: 86d, last: 17d
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: 12164 at drivers/infiniband/core/restrack.c:52 rdma_restrack_clean+0x2a6/0x300 drivers/infiniband/core/restrack.c:52
Modules linked in:
CPU: 1 PID: 12164 Comm: syz.3.1833 Not tainted syzkaller #0
Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 06/25/2026
RIP: 0010:rdma_restrack_clean+0x2a6/0x300 drivers/infiniband/core/restrack.c:52
Code: 50 70 41 fa 49 81 c6 68 02 00 00 4c 89 f7 e8 d1 2e d6 fc 48 89 df 5b 41 5c 41 5d 41 5e 41 5f 5d e9 1f fa 85 fa e8 2a 70 41 fa <0f> 0b e9 b9 fd ff ff e8 1e 70 41 fa 0f 0b e9 f9 fd ff ff e8 12 70
RSP: 0000:ffffc90002fbf240 EFLAGS: 00010246
RAX: ffffffff87378276 RBX: ffff88807ac1a000 RCX: 0000000000080000
RDX: ffffc9000c8e1000 RSI: 000000000007ffff RDI: 0000000000080000
RBP: 1ffff1100f6f49d9 R08: ffff88807b7a4edb R09: 1ffff1100f6f49db
R10: dffffc0000000000 R11: ffffed100f6f49dc R12: 1ffff1100f6f49ca
R13: dffffc0000000000 R14: ffff88807b7a4ec8 R15: ffff88807ac1a048
FS: 00007fa050d9f6c0(0000) GS:ffff8880b9100000(0000) knlGS:0000000000000000
CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
CR2: 00007f27c5f59368 CR3: 000000002330f000 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+0x110/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+0x6d8/0xa00 drivers/infiniband/core/netlink.c:259
netlink_unicast_kernel net/netlink/af_netlink.c:1318 [inline]
netlink_unicast+0x78f/0x940 net/netlink/af_netlink.c:1344
netlink_sendmsg+0x8ba/0xbe0 net/netlink/af_netlink.c:1923
sock_sendmsg_nosec net/socket.c:706 [inline]
__sock_sendmsg net/socket.c:718 [inline]
____sys_sendmsg+0x5be/0x8f0 net/socket.c:2446
___sys_sendmsg+0x236/0x2e0 net/socket.c:2500
__sys_sendmsg net/socket.c:2529 [inline]
__do_sys_sendmsg net/socket.c:2538 [inline]
__se_sys_sendmsg+0x1b7/0x2a0 net/socket.c:2536
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:0x7fa052b46e59
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:00007fa050d9f028 EFLAGS: 00000246 ORIG_RAX: 000000000000002e
RAX: ffffffffffffffda RBX: 00007fa052dcefa0 RCX: 00007fa052b46e59
RDX: 0000000000000000 RSI: 00002000000002c0 RDI: 000000000000000b
RBP: 00007fa052bdce6f R08: 0000000000000000 R09: 0000000000000000
R10: 0000000000000000 R11: 0000000000000246 R12: 0000000000000000
R13: 00007fa052dcf038 R14: 00007fa052dcefa0 R15: 00007ffd58defd78
</TASK>
* Struck through repros no longer work on HEAD.