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 8D1DF33AD9B for ; Wed, 24 Dec 2025 13:08:23 +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=1766581703; cv=none; b=NOolFb8IkDFM1HyzMw8AMp2E8jBG1+ZdrcDWW79IGHNyM3jItyg2P/hrPTtlBPEzvkgoIyiCti5fyqPPwXCStB7g2vq+pDwh+ti8NTnYn/4qGXqOUHeXO8HCEh0vJabrZjbH9vpz7XoHGxFtr2OaXLPku2XZwYmB4wtm4fpyJrU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766581703; c=relaxed/simple; bh=rzENP+7E92KiFaap4U21Oc6N3UGHVB4dnqvBInkJF7I=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=cFswi0Rj13nkhSoD6mGk6Lqplz+PWa9IH4pMFzF5pJT49ArojnFSsptqV/RKVi/HloRyWAk39bh+8UhmYUmRRoJwhCDyvb31z3UPGSsejHCWDqlreFSywf0CoJB2pp7W0Ol3JnMGxjctVyWjF2gnFwT3iYSNgD+jpkwzgpDdZlI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=NynBlL4H; 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="NynBlL4H" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 16E39C116D0; Wed, 24 Dec 2025 13:08:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1766581703; bh=rzENP+7E92KiFaap4U21Oc6N3UGHVB4dnqvBInkJF7I=; h=From:To:Cc:Subject:Date:Reply-To:From; b=NynBlL4H9S9rykSR8s0aCFgeWjAVUbd4wrypzMLUhLkbEma2iJbv4Ai9bVgI1uFUA +8NIvh/vaSVbAaehwQFiRJ3qdjaEdvfX0tEX1uqjwZXrVu16YLsbpTaca5A0nba7z5 6B4NC53216DFdixKf3wSkqZSM9lAqR671OjGVJwM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50783: mptcp: use proper req destructor for IPv6 Date: Wed, 24 Dec 2025 14:06:34 +0100 Message-ID: <2025122402-CVE-2022-50783-3109@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=2687; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=O2Xpe61IEjaUdNf5sXC2TNm6zXXo6t46dMyX9cBUcRE=; b=owGbwMvMwCRo6H6F97bub03G02pJDJneT63KMpZK7nxy6Unyt11rVt6udldVk/4r9lrEULXih Hbd540SHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRcxoM82MPzJSafXZ69BFZ H4Vn18KbUguEZjMsOM09Z4Kwj/hWx3pD7gmR/XueqDMVAQA= 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: use proper req destructor for IPv6 Before, only the destructor from TCP request sock in IPv4 was called even if the subflow was IPv6. It is important to use the right destructor to avoid memory leaks with some advanced IPv6 features, e.g. when the request socks contain specific IPv6 options. The Linux kernel CVE team has assigned CVE-2022-50783 to this issue. Affected and fixed versions =========================== Issue introduced in 5.6 with commit 79c0949e9a09f6a14a6dd18dc8396029423f9b68 and fixed in 5.10.163 with commit 6eb02c596ec02e5897ae377e065cb7df55337a96 Issue introduced in 5.6 with commit 79c0949e9a09f6a14a6dd18dc8396029423f9b68 and fixed in 5.15.87 with commit bd5dc96fea4edd16d2e22f41b4dd50a4cfbeb919 Issue introduced in 5.6 with commit 79c0949e9a09f6a14a6dd18dc8396029423f9b68 and fixed in 6.0.18 with commit 092953f3c4cd65f88b27b87a922f6c725f34ee04 Issue introduced in 5.6 with commit 79c0949e9a09f6a14a6dd18dc8396029423f9b68 and fixed in 6.1.4 with commit 1922ea6b0ae2ea0c9a09be0eafafe1cd1069d259 Issue introduced in 5.6 with commit 79c0949e9a09f6a14a6dd18dc8396029423f9b68 and fixed in 6.2 with commit d3295fee3c756ece33ac0d935e172e68c0a4161b 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-2022-50783 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/6eb02c596ec02e5897ae377e065cb7df55337a96 https://git.kernel.org/stable/c/bd5dc96fea4edd16d2e22f41b4dd50a4cfbeb919 https://git.kernel.org/stable/c/092953f3c4cd65f88b27b87a922f6c725f34ee04 https://git.kernel.org/stable/c/1922ea6b0ae2ea0c9a09be0eafafe1cd1069d259 https://git.kernel.org/stable/c/d3295fee3c756ece33ac0d935e172e68c0a4161b