HIGH Introduced in 5.10
infiniband Restrack UAF
CVE-2026-92507
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
KernelScan AI6.9MEDIUM
01Description
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.
02KernelScan AI Analysis
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.
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.
Lifecycle
03Fix Versions
| Branch | Introduced | Fixed in | Patch commit |
|---|---|---|---|
| 6.1 | 5.10 | 6.1.188 | df0e9efe61ca |
| 6.12 | 5.10 | 6.12.110 | d9c0daf9362a |
| 6.18 | 5.10 | 6.18.52 | 66d65f36d397 |
| 6.6 | 5.10 | 6.6.157 | 7647363fa020 |
| 7.2 | 5.10 | 7.2.6 | c06f2856a1d7 |
| mainline | 5.10 | 7.3 | 8b90e7013422 |
| cip/6.1 | 5.10 | 6.1.189-cip61 | df0e9efe61ca |
| cip/6.1-rt | 5.10 | 6.1.189-cip61-rt32 | df0e9efe61ca |
| cip/6.12 | 5.10 | 6.12.111-cip32 | d9c0daf9362a |
04CIP Kernels
State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.
| CIP tree | State |
|---|---|
| cip/6.12 | Fixed in 6.12.111-cip32 |
| cip/6.1 | Fixed in 6.1.189-cip61 |
| cip/6.1-rt | Fixed in 6.1.189-cip61-rt32 |
| cip/5.10 | Affected — no CIP fix yet (latest 5.10.272-cip79) |
| cip/5.10-rt | Affected — no CIP fix yet (latest 5.10.272-cip79-rt35) |