Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 9956B31AA82 for ; Wed, 24 Dec 2025 10:58:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766573883; cv=none; b=b1+1/bgu+S7XMjDveA+ygqUorm24K7j8eGcGYvHxw8bw8wiqVbFZci89prFnUm9cdrmzO2GfBzNQ0UOyqpB6cWHyImOmVXOh1WCE7WPmus6e0nfZ1L1NA1iJysIg1v7jdIeU4J1dJ0F8hY1j3CXmVCu5rEPN7QVjLL/H+JqdS5g= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766573883; c=relaxed/simple; bh=AY3dCgUMNwdyehF7AyIN3uGusCVL+uUM8fKZF3vDrxQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=RH/ECQ0FB+e322/YkWh563l/FeDvRZqS2skAYx3jmWc2oYfyOtYxj1K2VxV97H4mBR62Q+UR7KqbuIO5Whp9UuX6xlC7Wxeg8ih0GQVCuUQBtzGjDQ52bT37TV/rI1HTndoUOjTQxZeku0/EN3RDzBe7+ARFGsXBWJbmmILmHxc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=saDiZTM4; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="saDiZTM4" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CB645C4CEFB; Wed, 24 Dec 2025 10:58:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1766573883; bh=AY3dCgUMNwdyehF7AyIN3uGusCVL+uUM8fKZF3vDrxQ=; h=From:To:Cc:Subject:Date:Reply-To:From; b=saDiZTM4twRJ30ij3t+dkB5dWJLzw8+Zr2qw+Ti/ZycE3WLU+Wr3DMxLqqYQx1spN qWPtp/4FwjaHdj/k5qVin8o3GhWelk04ZGT3TaVlGEN9kGpwO6ysBriGviY3kJ6e00 mXHq9XbRut4AtWCelywSv8tgjGUuMV72mMOg1F2Q= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-54003: RDMA/core: Fix GID entry ref leak when create_ah fails Date: Wed, 24 Dec 2025 11:56:47 +0100 Message-ID: <2025122427-CVE-2023-54003-01b7@gregkh> X-Mailer: git-send-email 2.52.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=2801; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=oc/Pj4hGsZu9hd/CfXgL87WUblw+k3P2S0rFUXv5j2M=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnex+6w56fn905lWHDWpfyhsgNDnKRdM/tT742v9hcvE TTJjzrZEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABPx+cewYKb9ybWOXHMXuavJ bC2/+n7xFv8PBQwLelapqGw40nfg4EK5I473F3GFt6xfCQA= 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 GID entry ref leak when create_ah fails If AH create request fails, release sgid_attr to avoid GID entry referrence leak reported while releasing GID table The Linux kernel CVE team has assigned CVE-2023-54003 to this issue. Affected and fixed versions =========================== Issue introduced in 4.19 with commit 1a1f460ff151710289c2f8d4badd8b603b87d610 and fixed in 5.4.241 with commit 9c46c49ad3ffe84121715d392b5a0a94f9f10669 Issue introduced in 4.19 with commit 1a1f460ff151710289c2f8d4badd8b603b87d610 and fixed in 5.10.178 with commit d1b9b3191697a80aca8e247320eba46f24d41d18 Issue introduced in 4.19 with commit 1a1f460ff151710289c2f8d4badd8b603b87d610 and fixed in 5.15.108 with commit e97ff11b396c320d2cc025b09741ba432fcb20a2 Issue introduced in 4.19 with commit 1a1f460ff151710289c2f8d4badd8b603b87d610 and fixed in 6.1.25 with commit 370280c65c28a515b841c9f2c08524f06182510c Issue introduced in 4.19 with commit 1a1f460ff151710289c2f8d4badd8b603b87d610 and fixed in 6.2.12 with commit 632d6baf8884d803e598bf5164008d23fd9b736c Issue introduced in 4.19 with commit 1a1f460ff151710289c2f8d4badd8b603b87d610 and fixed in 6.3 with commit aca3b0fa3d04b40c96934d86cc224cccfa7ea8e0 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-2023-54003 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/9c46c49ad3ffe84121715d392b5a0a94f9f10669 https://git.kernel.org/stable/c/d1b9b3191697a80aca8e247320eba46f24d41d18 https://git.kernel.org/stable/c/e97ff11b396c320d2cc025b09741ba432fcb20a2 https://git.kernel.org/stable/c/370280c65c28a515b841c9f2c08524f06182510c https://git.kernel.org/stable/c/632d6baf8884d803e598bf5164008d23fd9b736c https://git.kernel.org/stable/c/aca3b0fa3d04b40c96934d86cc224cccfa7ea8e0