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 94B8513A40B for ; Wed, 3 Apr 2024 14:57:00 +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=1712156220; cv=none; b=XVOfrJkcOYRMaYUdsBJibFYyzz0/6yVQnXfaABMQAWLAHRvsvZK2ksB3xa1ixpGIsZFGSkB0cRuuM0o+L6UO+fzLN0sbJXDME1hg4HLEF8w2apXcsJ5ZD19b0MEeG09N1qQStpnxUdKwI/SnUx4I9FBUpa26IOP/HXENmaXXSmA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712156220; c=relaxed/simple; bh=nFZKJoj8kCh+Tyng9sCBYJV5k2GfPMzX6egig/MiyrE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=D79uR7UmHyF+93oH/UwM4ZERHjnur0YLx7t0jE9VsC3NfBqPyFgmuXz0Yi6V2VFwxC8I5W7cTbnl55qEYXWCY5m7rVpZM1REtdXg29QyTMAH67bBbuANTpIXG9MCOlD1k4xoJIspcOi95ZoBABh8OH7Fb9lbEWtJcH04v3XhLdk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=uOD35QVz; 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="uOD35QVz" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 01158C43390; Wed, 3 Apr 2024 14:56:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1712156220; bh=nFZKJoj8kCh+Tyng9sCBYJV5k2GfPMzX6egig/MiyrE=; h=From:To:Cc:Subject:Date:Reply-to:From; b=uOD35QVzS43pc/Sws45bBL9LgADh5QZWIgUqG6+ATijEhuOp/DJwdJDA0tDEOv2uW ENAiKeLrvyR7L+KJbXeSEldbfjFDh0MG+YLacE8FCZuYyFeyAzZ0Z577sDfdFOQPQC lPNZz2/rVqEDuBrNzZP5AjX0oc9B8pbIbWQ3+iz8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-26708: mptcp: really cope with fastopen race Date: Wed, 3 Apr 2024 16:55:59 +0200 Message-ID: <2024040341-CVE-2024-26708-c98a@gregkh> X-Mailer: git-send-email 2.44.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=2132; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=nFZKJoj8kCh+Tyng9sCBYJV5k2GfPMzX6egig/MiyrE=; b=owGbwMvMwCRo6H6F97bub03G02pJDGm8uW8DLizm5Jkvk5qyq4QhV/k83+LDb/UazN78FS5bU icXb7KjI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACZy3IJhfmb5/K64M3eTjCWt vyyY57k+M7uZm2HByY32q9Ma/8w4kcB7SaOXc0fnymB3AA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: mptcp: really cope with fastopen race Fastopen and PM-trigger subflow shutdown can race, as reported by syzkaller. In my first attempt to close such race, I missed the fact that the subflow status can change again before the subflow_state_change callback is invoked. Address the issue additionally copying with all the states directly reachable from TCP_FIN_WAIT1. The Linux kernel CVE team has assigned CVE-2024-26708 to this issue. Affected and fixed versions =========================== Issue introduced in 6.2 with commit 1e777f39b4d7 and fixed in 6.6.18 with commit 4bfe217e075d Issue introduced in 6.2 with commit 1e777f39b4d7 and fixed in 6.7.6 with commit e158fb9679d1 Issue introduced in 6.2 with commit 1e777f39b4d7 and fixed in 6.8 with commit 337cebbd850f 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-2024-26708 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/protocol.h 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/4bfe217e075d04e63c092df9d40c608e598c2ef2 https://git.kernel.org/stable/c/e158fb9679d15a2317ec13b4f6301bd26265df2f https://git.kernel.org/stable/c/337cebbd850f94147cee05252778f8f78b8c337f