From mboxrd@z Thu Jan 1 00:00:00 1970 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 5BEDE5C613 for ; Fri, 17 May 2024 14:28:17 +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=1715956097; cv=none; b=S0+gGklOJD4jH0M5VcdiPSjqIcReoabPHdTTp83kw3rwzIuGXJ3Py0sWje4G9mYUtzxIOJpGpxgRxqqYOCnLfWCcbKggohigoOB19Hb5a2u9wD0Ny9yonMZ0Eng3lsJJpJx9weYzhlgUyVnf2TV71+TH+YEbfzFFIoIQylPpOIM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715956097; c=relaxed/simple; bh=CvWdxhYhS545w0C29DwEM2r1wTv78F/M2iMqq27in6I=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=r1h0HmOmzkvhBQWpKwsyvCFzM0i7DE4p162s80YfVU90lVEin9HrYpIfaCXK7qEVEfEM9fV3vvvZAlmleYE7hB6PoSUjx/SpNsP15nIkmbPyD/XiNmn8Ek4gMTYU11VH1DN9hb69iKUT07xpB0yAlRb55k31WKj3Ioj4YsYpZfg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=b+r5b40f; 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="b+r5b40f" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 89F38C2BD10; Fri, 17 May 2024 14:28:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1715956096; bh=CvWdxhYhS545w0C29DwEM2r1wTv78F/M2iMqq27in6I=; h=From:To:Cc:Subject:Date:Reply-to:From; b=b+r5b40fG63DU7V0vaITAgHTzfIlNdNUXYXaMOE+CvinxRGwRjHAMTIEi8qrbgbuU v+l7PLDiQj/ZJdedpLcCYfVaDWMGFPd6V0x65T2qAIvRkhk7rTO2F6i/M8zGHYnfEQ FrprlF9kA4aD20XTN2aU7CXKJs5K0MfWRPcGOD9o= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-35840: mptcp: use OPTION_MPTCP_MPJ_SYNACK in subflow_finish_connect() Date: Fri, 17 May 2024 16:27:13 +0200 Message-ID: <2024051756-CVE-2024-35840-99fa@gregkh> X-Mailer: git-send-email 2.45.1 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=2331; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=CvWdxhYhS545w0C29DwEM2r1wTv78F/M2iMqq27in6I=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnumQZ6+3u2WD33i43ao+91TGZfvfppztIjLoKVexvfp kY5OqzpiGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgIks+8cwP1ljm19Sroieo3+6 h8HnHWVlfDYSDAu6sxzKb6SpqXyQZStu8rx3MJp/pQUA 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: use OPTION_MPTCP_MPJ_SYNACK in subflow_finish_connect() subflow_finish_connect() uses four fields (backup, join_id, thmac, none) that may contain garbage unless OPTION_MPTCP_MPJ_SYNACK has been set in mptcp_parse_option() The Linux kernel CVE team has assigned CVE-2024-35840 to this issue. Affected and fixed versions =========================== Issue introduced in 5.7 with commit f296234c98a8 and fixed in 5.15.148 with commit 413b91350732 Issue introduced in 5.7 with commit f296234c98a8 and fixed in 6.1.75 with commit 51e4cb032d49 Issue introduced in 5.7 with commit f296234c98a8 and fixed in 6.6.14 with commit ad3e8f5c3d5c Issue introduced in 5.7 with commit f296234c98a8 and fixed in 6.7.2 with commit 76e8de7273a2 Issue introduced in 5.7 with commit f296234c98a8 and fixed in 6.8 with commit be1d9d9d38da 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-35840 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/subflow.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/413b913507326972135d2977975dbff8b7f2c453 https://git.kernel.org/stable/c/51e4cb032d49ce094605f27e45eabebc0408893c https://git.kernel.org/stable/c/ad3e8f5c3d5c53841046ef7a947c04ad45a20721 https://git.kernel.org/stable/c/76e8de7273a22a00d27e9b8b7d4d043d6433416a https://git.kernel.org/stable/c/be1d9d9d38da922bd4beeec5b6dd821ff5a1dfeb