Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0F6C9598BEB for ; Thu, 17 Sep 2026 16:33:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789662794; cv=none; b=l6u1hNPeS71G1fpRSyrXlhAOWEq4G9gYLev3uZQ6JMpvZUhmJRBlQVgDyeeQfrNPySHmRqjhUHuttjX+v6YycHqNE6MZyu/L7XmooP+hmwsa9GQ4Vv6YTPXNPii7t6OgHXsLbUhEPSrTLhzEdkCIdPVo6rTm8N8DYc5ik7F9NqM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1789662794; c=relaxed/simple; bh=Vr9a+P7z58HlKa3gKRg7iM4pxfuZC6EQa/kKIglG+uE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Uehb5aKYhocV5HHpjDcOcaR4J1gdK/WDLqS7hIhd2gKoAvDJCVGfJh7X4nFduNAznXhIUod8UFLV2hVH/n+Lm3Ql3pAnqLjiYqY1uyECfc/QbEL/I6v4VZx2mVUDv2ZaxH4SzVy+oOC6gQZ8l8f5Fhd2CWbrwYZrRYQ0Nuwxk6I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=GheAS1vN; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="GheAS1vN" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2B3171F00898; Thu, 17 Sep 2026 16:33:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1789662792; bh=lm4FHO9KDq479S4spDQ114O7y1ewqRcZPX5R3HF4dc4=; h=From:To:Cc:Subject:Date:Reply-To; b=GheAS1vNLjhGGoDU3PL8y0rHbBgJDOsMw2/sHW3GYN4XN+KL+gd1lUiuhiUMsXrTl MIIqRjTZP/bVzdvsLS/rXY/ULpns8VKKGV65/Zxet4yBfhEMYjjlN0jLnjvgHoIlCA JodcQ0X5/Ge+kzChdwP5IvpLeXLt/BfoyovPslWE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-92511: RDMA/core: Fix potential use after free in ib_destroy_cq_user() Date: Thu, 17 Sep 2026 17:15:01 +0100 Message-ID: <2026091728-CVE-2026-92511-6fd4@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3737; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=8HiH/hPZ+NsOXONWXewP8ESxuQYMdmtlBd6c8IC06ok=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlrBHa23rhcdnDh599MPz9xbTAunlUSXa9i5+uvYawYN OXCJYtpHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjARoY0MC6apn5mybMrC3dVn J+yI1nSIU1Vl384wh+9QoXPzmdsV5zhCy4rzf0xy8PD3AwA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: RDMA/core: Fix potential use after free in ib_destroy_cq_user() When accessing a CQ via the netlink path the only synchronization mechanism for the said CQ is rdma_restrack_get(). Currently, rdma_restrack_del() is invoked at the end of ib_destroy_cq_user(), which is too late, since by that point vendor-specific resources associated with the CQ might already be freed. This can leave a short window where the CQ 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_cq_user(), ensuring that the CQ is removed from restrack before its internal resources are released. This guarantees that no new users hold references to a CQ 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. The Linux kernel CVE team has assigned CVE-2026-92511 to this issue. Affected and fixed versions =========================== Issue introduced in 4.16 with commit 08f294a1524bc3211a28091daa6c7513828c7d33 and fixed in 6.1.188 with commit 42f7a0c7a94003059540cce448acabfa62ad119d Issue introduced in 4.16 with commit 08f294a1524bc3211a28091daa6c7513828c7d33 and fixed in 6.6.157 with commit 253c2ed71a532c70fa0e64317ceb02bb1a50c84c Issue introduced in 4.16 with commit 08f294a1524bc3211a28091daa6c7513828c7d33 and fixed in 6.12.110 with commit b85a148731eceffacb6a030950187d785175607f Issue introduced in 4.16 with commit 08f294a1524bc3211a28091daa6c7513828c7d33 and fixed in 6.18.52 with commit 197c262dbf94c0f7ab7ac54b66f892ce9f343232 Issue introduced in 4.16 with commit 08f294a1524bc3211a28091daa6c7513828c7d33 and fixed in 7.2.6 with commit 8a72a6aad84b3928dbb5e564bff1f56a7ec222ae Issue introduced in 4.16 with commit 08f294a1524bc3211a28091daa6c7513828c7d33 and fixed in 7.3-rc1 with commit 3481bec4dfc4aee24ffea5a547ee95b70b67d9d5 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-92511 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/core/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/42f7a0c7a94003059540cce448acabfa62ad119d https://git.kernel.org/stable/c/253c2ed71a532c70fa0e64317ceb02bb1a50c84c https://git.kernel.org/stable/c/b85a148731eceffacb6a030950187d785175607f https://git.kernel.org/stable/c/197c262dbf94c0f7ab7ac54b66f892ce9f343232 https://git.kernel.org/stable/c/8a72a6aad84b3928dbb5e564bff1f56a7ec222ae https://git.kernel.org/stable/c/3481bec4dfc4aee24ffea5a547ee95b70b67d9d5