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 2CB212DFA26 for ; Wed, 1 Oct 2025 11:53:54 +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=1759319634; cv=none; b=ge3e5Lw/zyDUL8AgTDIvsqj19pkwyxYhL1tc7sXslTSx0qvvu50tzS9eyCKUQaYuM+l40ygISPRtQ2EujePTdk3g0dX3TpGsZOHyYx9u/dRhI8DAGBVWMNoSIrYRfPpItsZqGuHJLSM36kAks0P4fWgwJWnN06xgwXTvO+GS4NU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1759319634; c=relaxed/simple; bh=goe6y1W3vG9niHsmrTqzrq0SyGQ6pqXH6uUlxl/Wml8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=bB+QLmC9z4gH6HEdoxsjqTT9MRW+aYd0IAto1P+QufwMSvhHPGCvS1cYhAHcXPbAVsa3whWBrH/34RGcYQ58sz6DNyEmh6NDMsLBrwHGFu11IPxLEfg1Zk61u+IjyT4qNNDMNMhIq3N81Vk0YVVt4lKYfzCeXTSC/ZHtKiqr5d0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=IU8vg7Ye; 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="IU8vg7Ye" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8F773C4CEF4; Wed, 1 Oct 2025 11:53:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1759319634; bh=goe6y1W3vG9niHsmrTqzrq0SyGQ6pqXH6uUlxl/Wml8=; h=From:To:Cc:Subject:Date:Reply-to:From; b=IU8vg7YefunJ7rSkI6MunKtfUUl8X2uxOa3dNteWvP4HNKDWdtSPf6OTAtKx7Apyf tyeweyz8R0ZUfj4Kd6daQChC3fJxYdrgoS0FOzl3PlGldY3fdVqvhFMcEFm9QJoy+6 w0+brlxB4L5xsi3mM/nddhuvOzJPDsBMBzkdZ1Po= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53476: iw_cxgb4: Fix potential NULL dereference in c4iw_fill_res_cm_id_entry() Date: Wed, 1 Oct 2025 13:42:46 +0200 Message-ID: <2025100111-CVE-2023-53476-d6d3@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=2519; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=QFn0kzgjScUnwSC8I9FAuGo8kRNnb09z3I7IaRwuazg=; b=owGbwMvMwCRo6H6F97bub03G02pJDBl3hSevWbx9j+RBm8UTzxy6d0io+pLPVt3Y1fPYVc+/U RPMFvY36IhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJiL9lWNB0l/djPMdzjlJJ 18jXr+/pcM16L8uw4GJOf4hYvIFw0lTxS+WzRSuULzFcBQA= 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: iw_cxgb4: Fix potential NULL dereference in c4iw_fill_res_cm_id_entry() This condition needs to match the previous "if (epcp->state == LISTEN) {" exactly to avoid a NULL dereference of either "listen_ep" or "ep". The problem is that "epcp" has been re-assigned so just testing "if (epcp->state == LISTEN) {" a second time is not sufficient. The Linux kernel CVE team has assigned CVE-2023-53476 to this issue. Affected and fixed versions =========================== Issue introduced in 4.18 with commit 116aeb8873712ea559d26b0d9d88147af5c88db5 and fixed in 5.15.99 with commit 76e0396313c79ecd0df44ee3c18745cfac52b3e6 Issue introduced in 4.18 with commit 116aeb8873712ea559d26b0d9d88147af5c88db5 and fixed in 6.1.16 with commit 24278dc380aab6a1aef0a75317f57ad4c2453cf6 Issue introduced in 4.18 with commit 116aeb8873712ea559d26b0d9d88147af5c88db5 and fixed in 6.2.3 with commit dd55240e4364d64befcc575b0d33091881524f42 Issue introduced in 4.18 with commit 116aeb8873712ea559d26b0d9d88147af5c88db5 and fixed in 6.3 with commit 4ca446b127c568b59cb8d9748b6f70499624bb18 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-53476 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/restrack.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/76e0396313c79ecd0df44ee3c18745cfac52b3e6 https://git.kernel.org/stable/c/24278dc380aab6a1aef0a75317f57ad4c2453cf6 https://git.kernel.org/stable/c/dd55240e4364d64befcc575b0d33091881524f42 https://git.kernel.org/stable/c/4ca446b127c568b59cb8d9748b6f70499624bb18