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 8E4D731B123 for ; Wed, 24 Dec 2025 11:00:16 +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=1766574017; cv=none; b=aPriLVReK5xWG47tl1M5GS7ZoQ44Cd4Qw4QpRu96rCR6kdOd4RcSh1643HbsQ6Yh8PoqgtkQKmaqr3AAGTyKUGHZie1YuBmWuMpAQ+uAuWdNw3RG/+dVlMvnIfv+R26VCkEVj+Xf4OzqjNDIltstVzSjetsVT26+OK7lW1hY6xo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766574017; c=relaxed/simple; bh=IIP/aKdnmCfFZ65wntuRDyt2YLflQLcQwb4DrhJ4ZQQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=O1rVLn36gzuqIJKqDidL38f6GHnoN5UcxCHlWwxcHLgFpRXVu2ES/3gAGy3EcYeLgCUQMzx3ZvOM7WNOgHx+o4UgeJHQsAPP/wkw05P8u3lp13L5q6mpS3ubVw34EbQVuq39ggB61Uv1Ay6MQmYEkz8Joac2LEaLFH95xLJ+C1I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=OIWW1OVZ; 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="OIWW1OVZ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9EA2DC4CEFB; Wed, 24 Dec 2025 11:00:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1766574016; bh=IIP/aKdnmCfFZ65wntuRDyt2YLflQLcQwb4DrhJ4ZQQ=; h=From:To:Cc:Subject:Date:Reply-To:From; b=OIWW1OVZQA8aONnYPm7qtjwxSfDyQnHX5k7hzMjxCqgCuJ7Teitn3YPGrdXrUihjI pkxXY1BVLNW4jLE29WAW7yFj9XsYhBcfZWtulXx+cWCF6MBqy9Bj7gh2Lm1LLJACAU K4lu2ptJLCjv7le3u38TcIhcuFcC9InrVa5wmvgo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-54028: RDMA/rxe: Fix the error "trying to register non-static key in rxe_cleanup_task" Date: Wed, 24 Dec 2025 11:57:12 +0100 Message-ID: <2025122436-CVE-2023-54028-2399@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=2685; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=+AkJRJYQtKyu0rHeb0hpvJ2sAm7WjF7OOY1M+D7cV78=; b=owGbwMvMwCRo6H6F97bub03G02pJDJnex56c/ROhczXj4PLcBf8WXPJ8skDp6t77thYRWzo+L nqyWJOpvCOWhUGQiUFWTJHlyzaeo/srDil6GdqehpnDygQyhIGLUwAmklXPMFeyZcnxiT9Wrwl5 E9aZl/aibP4JM1aGWcwc9ts9lsSem/v6y+wF3aqb710/HQgA 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/rxe: Fix the error "trying to register non-static key in rxe_cleanup_task" In the function rxe_create_qp(), rxe_qp_from_init() is called to initialize qp, internally things like rxe_init_task are not setup until rxe_qp_init_req(). If an error occurred before this point then the unwind will call rxe_cleanup() and eventually to rxe_qp_do_cleanup()/rxe_cleanup_task() which will oops when trying to access the uninitialized spinlock. If rxe_init_task is not executed, rxe_cleanup_task will not be called. The Linux kernel CVE team has assigned CVE-2023-54028 to this issue. Affected and fixed versions =========================== Issue introduced in 4.8 with commit 8700e3e7c4857d28ebaa824509934556da0b3e76 and fixed in 6.1.32 with commit 3236221bb8e4de8e3d0c8385f634064fb26b8e38 Issue introduced in 4.8 with commit 8700e3e7c4857d28ebaa824509934556da0b3e76 and fixed in 6.2.15 with commit c8473cd5b301279a41dc75e5afb26b3d5223b6c7 Issue introduced in 4.8 with commit 8700e3e7c4857d28ebaa824509934556da0b3e76 and fixed in 6.3.2 with commit 0d938264fcfe4927e54f0e519da05af1d5d720b4 Issue introduced in 4.8 with commit 8700e3e7c4857d28ebaa824509934556da0b3e76 and fixed in 6.4 with commit b2b1ddc457458fecd1c6f385baa9fbda5f0c63ad 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-54028 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/sw/rxe/rxe_qp.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/3236221bb8e4de8e3d0c8385f634064fb26b8e38 https://git.kernel.org/stable/c/c8473cd5b301279a41dc75e5afb26b3d5223b6c7 https://git.kernel.org/stable/c/0d938264fcfe4927e54f0e519da05af1d5d720b4 https://git.kernel.org/stable/c/b2b1ddc457458fecd1c6f385baa9fbda5f0c63ad