Skip to contentSkip to conversation

CVE-2026-92488: RDMA/erdma: complete object teardown when the destroy command fails

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 17

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

RDMA/erdma: complete object teardown when the destroy command fails

erdma_destroy_qp(), erdma_destroy_cq(), erdma_dereg_mr(), and erdma_destroy_ah() returned early when erdma_post_cmd_wait() failed, leaking the queue buffers, MTTs, doorbells and the STAG, QPN, CQN and AHN identifiers. A command timeout clears ERDMA_CMDQ_STATE_OK_BIT and permanently disables the command queue, so no retry can succeed; the RDMA core keeps the object after a failed destructor and forced uverbs cleanup then nulls the pointers, making the resources unreachable.

Warn on failure but release every software-owned resource and return success, since during terminal destruction the hardware command result is only diagnostic.

The Linux kernel CVE team has assigned CVE-2026-92488 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 6.0 with commit 155055771704f8cbb5c176a4309b7dc30a50450c and fixed in 6.12.110 with commit 5fcfc988ecf3e2bbe308b95c2c0d2f011d9afabe
	Issue introduced in 6.0 with commit 155055771704f8cbb5c176a4309b7dc30a50450c and fixed in 6.18.52 with commit ce7d205c264665517c25e8a3231cf2d0c2443e3c
	Issue introduced in 6.0 with commit 155055771704f8cbb5c176a4309b7dc30a50450c and fixed in 7.2.6 with commit 334145d683ad3e31d052247f10807f2ebc950351
	Issue introduced in 6.0 with commit 155055771704f8cbb5c176a4309b7dc30a50450c and fixed in 7.3-rc1 with commit 652befcba956ef357f480525ccbe25c59bc81d4d

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-92488

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
drivers/infiniband/hw/erdma/erdma_verbs.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/5fcfc988ecf3e2bbe308b95c2c0d2f011d9afabe
	https://git.kernel.org/stable/c/ce7d205c264665517c25e8a3231cf2d0c2443e3c
	https://git.kernel.org/stable/c/334145d683ad3e31d052247f10807f2ebc950351
	https://git.kernel.org/stable/c/652befcba956ef357f480525ccbe25c59bc81d4d