KernelScan.io

HIGH Introduced in 5.13

rdma Srq UAF

CVE-2026-92510

CVSS 7.8 / 10.0 NVD

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

KernelScan AI7.0HIGH

01

In the Linux kernel, the following vulnerability has been resolved: RDMA/core: Fix potential use after free in ib_destroy_srq_user() When accessing a SRQ via the netlink path the only synchronization mechanism for the said SRQ is rdma_restrack_get(). Currently, rdma_restrack_del() is invoked at the end of ib_destroy_srq_user(), which is too late, since by that point vendor-specific resources associated with the SRQ might already be freed. This can leave a short window where the SRQ remains accessible through restrack, leading to a potential use-after-free. Fix this by moving the rdma_restrack_begin_del() call to the start of ib_destroy_srq_user(), ensuring that the SRQ is removed from restrack before its internal resources are released. This guarantees that no new users hold references to a SRQ that is in the process of destruction. In addition, this change preserves the intended inverted order between create and destroy routines: resources are added to restrack at the end of successful creation, and hence shall be removed from the restrack first thing during the destruction flow, which keeps the lifecycle management consistent and predictable.

02

Engine v0.6.0

Risk summary

A local attacker who can access RDMA resource tracking via netlink can race an SRQ destruction to trigger a use-after-free, potentially achieving kernel memory read/write or a system crash. Systems with RDMA hardware (InfiniBand/RoCE) and local user access are at risk; systems without RDMA devices are unaffected.

Affecteddrivers/infiniband/core/verbs.c (RDMA core)

Vulnerability analysis

When a Shared Receive Queue is destroyed in the RDMA subsystem, its entry in the kernel resource tracking database is removed too late — after vendor-specific hardware resources have already been released. During this window, a concurrent netlink query can acquire a reference to the SRQ through the resource tracking interface and access already-freed memory, resulting in a use-after-free. The fix moves the resource tracking removal to the very beginning of the destruction flow using a begin/abort/commit pattern, ensuring no new references can be acquired before internal resources are torn down. The vulnerable path is reachable locally by any process that can query RDMA resource tracking via netlink while SRQ destruction is in progress, and requires RDMA hardware to be present and configured on the system.

03

BranchIntroducedFixed inPatch commit
6.15.136.1.188a5bfd9fe05d5
6.125.136.12.1109c7043835290
6.185.136.18.52bedd7dee7258
6.65.136.6.157d3d0eabe6e39
7.25.137.2.695c992c869df
mainline5.137.388244ecc71cc
cip/6.15.136.1.189-cip61a5bfd9fe05d5
cip/6.1-rt5.136.1.189-cip61-rt32a5bfd9fe05d5
cip/6.125.136.12.111-cip329c7043835290

04

State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.

CIP treeState
cip/6.12Fixed in 6.12.111-cip32
cip/6.1Fixed in 6.1.189-cip61
cip/6.1-rtFixed in 6.1.189-cip61-rt32