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 A6AA22AD33 for ; Fri, 13 Sep 2024 06:34:03 +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=1726209243; cv=none; b=RNXLHUMH2HdG6z9n6Cy4hGEfQqX9cdTmA76kQmACpIeErh+MkHU6QnXwshLmC0LsXRYIvLw3WnPJjR5vnP+e1lKdSjLunrAAJqkME3202L+le0NwiK5s8xys/8jWLGrjAMQpaDXxGnJv0ATZfHhYL+a7mDs0qQVv97Kc4z/soWY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726209243; c=relaxed/simple; bh=O3UimMI81bw7kQC763ZSwmEpcbPV0Y9ybQEpxLeOuCY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=XVVd3uMcHYW85zZx/TtMwRRoEIUnZhoXHjWd/drd0m45bhAZKwUYRpnpGlwhLjGK1kt2AmiKwGmhW86IWc2DCHukaebfjz6ghC/u9Rc4dW+V0zJ6QgndzI7mLepW1+WoqBNkE5NSBTMP7ppweFfUZgdck7+ydl3VxQkQxxpQIqU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=rOS9h84D; 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="rOS9h84D" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B0E3EC4CEC0; Fri, 13 Sep 2024 06:34:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1726209243; bh=O3UimMI81bw7kQC763ZSwmEpcbPV0Y9ybQEpxLeOuCY=; h=From:To:Cc:Subject:Date:Reply-to:From; b=rOS9h84DRoNXKJlJuc7TMUMai5hC+3pLqV4VJrovp0G5NTL7p4Zxs8zRbaRv1P18o xwIgrFlQMggt2fN1aZ7q55Y/1bAKxMVe6a6KJc83yBZ37FxhqRPM8Ep/5NrUtyP/TJ 82BIwBx8mCXWxYfYJ2dPspo+qSGPmGRlbsBhRLJY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-46711: mptcp: pm: fix ID 0 endp usage after multiple re-creations Date: Fri, 13 Sep 2024 08:33:51 +0200 Message-ID: <2024091348-CVE-2024-46711-ab95@gregkh> X-Mailer: git-send-email 2.46.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=2532; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=O3UimMI81bw7kQC763ZSwmEpcbPV0Y9ybQEpxLeOuCY=; b=owGbwMvMwCRo6H6F97bub03G02pJDGmP75zZyztjzdrozDWnylZwcrxSP1Nb9vx22h1Xu/8cY btnTmJz6ohlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJKEswzA+oU19hbvTa2GPS 8aWa9XsWz1/te5dhQbtki/j2D6VPO2LXBB35cynvuv1DJQA= 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: pm: fix ID 0 endp usage after multiple re-creations 'local_addr_used' and 'add_addr_accepted' are decremented for addresses not related to the initial subflow (ID0), because the source and destination addresses of the initial subflows are known from the beginning: they don't count as "additional local address being used" or "ADD_ADDR being accepted". It is then required not to increment them when the entrypoint used by the initial subflow is removed and re-added during a connection. Without this modification, this entrypoint cannot be removed and re-added more than once. The Linux kernel CVE team has assigned CVE-2024-46711 to this issue. Affected and fixed versions =========================== Issue introduced in 6.0 with commit 3ad14f54bd74 and fixed in 6.1.109 with commit c9c744666f73 Issue introduced in 6.0 with commit 3ad14f54bd74 and fixed in 6.6.49 with commit 53e2173172d2 Issue introduced in 6.0 with commit 3ad14f54bd74 and fixed in 6.10.8 with commit 119806ae4e46 Issue introduced in 6.0 with commit 3ad14f54bd74 and fixed in 6.11-rc6 with commit 9366922adc6a 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-46711 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/pm_netlink.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/c9c744666f7308a4daba520191e29d395260bcfe https://git.kernel.org/stable/c/53e2173172d26c0617b29dd83618b71664bed1fb https://git.kernel.org/stable/c/119806ae4e46cf239db8e6ad92bc2fd3daae86dc https://git.kernel.org/stable/c/9366922adc6a71378ca01f898c41be295309f044