KernelScan.io

HIGH Introduced in 5.10

infiniband Restrack UAF

CVE-2026-92507

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 AI6.9MEDIUM

01

In the Linux kernel, the following vulnerability has been resolved: RDMA/core: Fix potential use after free in ib_dealloc_pd_user() When accessing a PD via the netlink path the only synchronization mechanism for the said PD is rdma_restrack_get(). Currently, rdma_restrack_del() is invoked at the end of ib_dealloc_pd_user(), which is too late, since by that point vendor-specific resources associated with the PD might already be freed. This can leave a short window where the PD 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_dealloc_pd_user(), ensuring that the PD is removed from restrack before its internal resources are released. This guarantees that no new users hold references to a PD 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 use-after-free vulnerability exists in the RDMA core's protection domain (PD) deallocation path. When a PD is freed, it remains accessible through the resource tracking subsystem until after vendor-specific resources are released, creating a race window where a concurrent netlink query can access freed memory. A local attacker with access to RDMA subsystem operations can exploit this to cause memory corruption, potentially leading to privilege escalation or denial of service.

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

Vulnerability analysis

During protection domain deallocation, the RDMA core removes the PD from the resource tracking database only after vendor-specific resources have already been freed. This leaves a brief window where a concurrent netlink query can still look up and access the PD, touching memory that has already been released. The fix moves the removal from the tracking database to the very beginning of the deallocation routine, so no new references can be acquired while teardown is in progress; if the vendor deallocation then fails, the removal is rolled back. The vulnerable path is reachable locally by any process that can interact with the RDMA subsystem and issue netlink resource-tracking queries, which typically requires appropriate RDMA device access or capabilities.

03

BranchIntroducedFixed inPatch commit
6.15.106.1.188df0e9efe61ca
6.125.106.12.110d9c0daf9362a
6.185.106.18.5266d65f36d397
6.65.106.6.1577647363fa020
7.25.107.2.6c06f2856a1d7
mainline5.107.38b90e7013422
cip/6.15.106.1.189-cip61df0e9efe61ca
cip/6.1-rt5.106.1.189-cip61-rt32df0e9efe61ca
cip/6.125.106.12.111-cip32d9c0daf9362a

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
cip/5.10Affected — no CIP fix yet (latest 5.10.272-cip79)
cip/5.10-rtAffected — no CIP fix yet (latest 5.10.272-cip79-rt35)