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 E3EEB332A3C for ; Wed, 17 Sep 2025 14:57:27 +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=1758121048; cv=none; b=dCSCAxdE2yscmzW8tK/LbjhpZtn46klGxakKWeAGnxKdfRvsbbtGxMz9rA8bMX+ZOeYS5oIQwgfk0YYsJPrSlasI4KWe2UneuxQ6XcpMFXEuaGgI5FsplJ0Hge3gPobHqja8YUqdxRKc8lI1KzieI+TsKMDpK1sO3vIrUDJLptE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758121048; c=relaxed/simple; bh=edP5lv5Y3GgKIw7CcArMWgKaSI+Itru++CuA5yYEr54=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=I3lsW+Gj7sh07zAlNUmbeQNZmTEr7hGumTlW/Z7pC3gmNvGgLurGzbFlW6uoDasc1269EmI6y1LPT56+AcgqShv1cgrhdyumVpI8XE/n0xrf1Z3fpjRkOFBsSFKCR565yjuuSnoexOmDMzwL9lTZmMoh9iY0rbd/2Ts0WDV7Zg8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=KJggP+GO; 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="KJggP+GO" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 62F85C4CEF0; Wed, 17 Sep 2025 14:57:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1758121047; bh=edP5lv5Y3GgKIw7CcArMWgKaSI+Itru++CuA5yYEr54=; h=From:To:Cc:Subject:Date:Reply-to:From; b=KJggP+GObjQcTTIamTluZ6PBfERyuD94vO5uORfLCdo12scQX6YOr5ehCfArTPtN9 Xe6BBGsFh1P+NjJmvVDHxKU4bGpxS8IiVSSabUX0dz94JDwq3rj1KutnB6zIa0XKDa Ig1uqBofBKw8C0AlCW1N83i1TZdqj1a0QmMAUjQ8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53335: RDMA/cxgb4: Fix potential null-ptr-deref in pass_establish() Date: Wed, 17 Sep 2025 16:56:34 +0200 Message-ID: <2025091717-CVE-2023-53335-1e5d@gregkh> X-Mailer: git-send-email 2.51.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2473; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=cBvuLTNxVP+DUyBYACMH7c8P0aSd/NtrUdTDOqr00N8=; b=owGbwMvMwCRo6H6F97bub03G02pJDBmnzgiGt+69PblcOzmUM+NACldPQo7lf5O5mUdElOwXx ah12Tp1xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwES4GxkWTFy2cmV6scny7Sdi M1v5NsidfRzNyzDfVfOlfiPDuj+9q3V5uFnr3E8Wi24GAA== 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/cxgb4: Fix potential null-ptr-deref in pass_establish() If get_ep_from_tid() fails to lookup non-NULL value for ep, ep is dereferenced later regardless of whether it is empty. This patch adds a simple sanity check to fix the issue. Found by Linux Verification Center (linuxtesting.org) with SVACE. The Linux kernel CVE team has assigned CVE-2023-53335 to this issue. Affected and fixed versions =========================== Issue introduced in 4.7 with commit 944661dd97f4f257cd914fffec7eb80832ff9141 and fixed in 5.15.99 with commit 9dca64042d855a24b0bd81ce242e5dc7e939f6eb Issue introduced in 4.7 with commit 944661dd97f4f257cd914fffec7eb80832ff9141 and fixed in 6.1.16 with commit 2cfc00e974d75a3aa8155f2660f57d342e1f67ca Issue introduced in 4.7 with commit 944661dd97f4f257cd914fffec7eb80832ff9141 and fixed in 6.2.3 with commit 9ddc77eefb2a567b705c3c86ab2ddabe43cadf1b Issue introduced in 4.7 with commit 944661dd97f4f257cd914fffec7eb80832ff9141 and fixed in 6.3 with commit 283861a4c52c1ea4df3dd1b6fc75a50796ce3524 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-53335 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/cxgb4/cm.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/9dca64042d855a24b0bd81ce242e5dc7e939f6eb https://git.kernel.org/stable/c/2cfc00e974d75a3aa8155f2660f57d342e1f67ca https://git.kernel.org/stable/c/9ddc77eefb2a567b705c3c86ab2ddabe43cadf1b https://git.kernel.org/stable/c/283861a4c52c1ea4df3dd1b6fc75a50796ce3524