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 8244E33D6C2 for ; Wed, 24 Dec 2025 13:08:49 +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=1766581729; cv=none; b=aBpr3S/GBxTbCtG9tvgOsiD5M10K6MrAlacXJUOACnkRT4qQ/qmcb9uebPvnAOMvGuUNQTTgxeGyKBDPB6Rh6lHbLrJsqsGwb9AzFnw2lVRw7/O1T4xdo8lwKmfVEWHioo3h54KqXRJxMS/a5PCfuMXSqu5wLD0u/MRWa3ktq94= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766581729; c=relaxed/simple; bh=7O/dgQGUDeaj6xvuz4ME++ciBBPkdjGfmGUepVKPxZk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Ccm2od4UmfIiJm/lcNmaJCGpIyG78gaPouNB9P5VGZA9baeZ4KbyEIUd/ypHk1eAYPGb1ZpQ/7c9n9fNYaYY9KQbtnkR+bFVnw5m6yr6uDGjStpejkI+7wwCSFv+NbuHq+TRjNNPzRPI1jRQd45yFTt2gxC4JnUkUx6JwhpNQrk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=TKY0lax9; 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="TKY0lax9" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DFC33C2BC86; Wed, 24 Dec 2025 13:08:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1766581729; bh=7O/dgQGUDeaj6xvuz4ME++ciBBPkdjGfmGUepVKPxZk=; h=From:To:Cc:Subject:Date:Reply-To:From; b=TKY0lax9jhXJXvlZ+pwpYAy3Dv2zHhxA0paVTFSIWGZUQhR/3ygKRHktqSaxn4SUm 1hFSZRsar55XTGcxRs/e3Yh60MNLtOLWDXgr2ZOgTQR50kTY6ULpYLI8cZpnZ4rbgq g5CVFfY0ZNexPS0HwhOd59pMjfZgNKWhFiHt2O6c= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-54085: mptcp: fix NULL pointer dereference on fastopen early fallback Date: Wed, 24 Dec 2025 14:06:42 +0100 Message-ID: <2025122405-CVE-2023-54085-7e32@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=2009; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=1O8+5MJqmUVHJbfvGTTjAQ8mrzEV9OfNODLFF6chRRQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDJneT22ZS06d3STks2K7z132WM5/U/qirB5uPn5Abe67k iXOpxRPd8SyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBE+oIY5hm+nPhF4YtJz9mP C6PmL65bxTqT7R3D/CChiX93xpd2zbU9bKx7wdhBvCiFCwA= 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: mptcp: fix NULL pointer dereference on fastopen early fallback In case of early fallback to TCP, subflow_syn_recv_sock() deletes the subflow context before returning the newly allocated sock to the caller. The fastopen path does not cope with the above unconditionally dereferencing the subflow context. The Linux kernel CVE team has assigned CVE-2023-54085 to this issue. Affected and fixed versions =========================== Issue introduced in 6.2 with commit 36b122baf6a8bd46b4a591f12f4ed17b22257408 and fixed in 6.2.12 with commit 95135835519b0ab931c39908b2c99e9fb3c9068b Issue introduced in 6.2 with commit 36b122baf6a8bd46b4a591f12f4ed17b22257408 and fixed in 6.3 with commit c0ff6f6da66a7791a32c0234388b1bdc00244917 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-54085 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: net/mptcp/fastopen.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/95135835519b0ab931c39908b2c99e9fb3c9068b https://git.kernel.org/stable/c/c0ff6f6da66a7791a32c0234388b1bdc00244917