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 B8D6C219A74 for ; Wed, 26 Feb 2025 02:24:08 +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=1740536648; cv=none; b=Fz7zl5NCGixMqqT4X6LQr6+uwsPxoxelyZVXtsirWcYmYRr/MmlXuiSLOu8TlR4//OaXjZacc70Lh1p3rXoZwGxdBux40lpdnRXeSGEmmLCQ9bEbRg7o0m1GBa2y5kjMCJTDHSX9VmZ3DrHealpRwtWYs5UiyNTKEEil+ijL1CQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740536648; c=relaxed/simple; bh=d6KhUJ1IXy6AGGpjueB14Dj0mH3O1f3r6JSJ+KH/9/A=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=XSRmEfpCCGPwdTboz5r50nhBP3nAG2V/hkRQUefw2DZw7ZEBrvkFI2ZDxTW1w8WhLLaaMznBbOZjnQu4UAHzgSrH+YN+k2vBr5S4wav+tqR8W23/s7bwNCX1S2+Iypi5Mgj1jgR8fxak6umOIJCVt6j9AollBtNIOLZY2TxkODw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ND8iPi/h; 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="ND8iPi/h" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 861D6C4CEE6; Wed, 26 Feb 2025 02:24:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740536648; bh=d6KhUJ1IXy6AGGpjueB14Dj0mH3O1f3r6JSJ+KH/9/A=; h=From:To:Cc:Subject:Date:Reply-to:From; b=ND8iPi/hm4CrltXKa0IIIU3H4D/URK859rGUxVmBXwsSDN+sqamMos8QM4tRFJp+a J6wk0wmEtdv8D4/VmQoUIYtrQdk2MnuA3KtxXsLv4dCiH24eUW1lTJKAyN8VBQ2vY0 Z8gH5481HfbULdWMT4a1UVHjjwGrm1oVPvoqiE1o= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49596: tcp: Fix data-races around sysctl_tcp_min_snd_mss. Date: Wed, 26 Feb 2025 03:22:39 +0100 Message-ID: <2025022611-CVE-2022-49596-ebcf@gregkh> X-Mailer: git-send-email 2.48.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=3079; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=d6KhUJ1IXy6AGGpjueB14Dj0mH3O1f3r6JSJ+KH/9/A=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7qi5Xs0mYp//qkPtQJDwhqNtM6N+GqLgZJwoLl1Wba 1y/vvp7RywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEzkpDXDXOFLU8WelnyS4tYt nKzPIf4t1qz3LcP8pLPle70Nlh7wa2Bdw6HqUzB1c8QzAA== 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: tcp: Fix data-races around sysctl_tcp_min_snd_mss. While reading sysctl_tcp_min_snd_mss, it can be changed concurrently. Thus, we need to add READ_ONCE() to its readers. The Linux kernel CVE team has assigned CVE-2022-49596 to this issue. Affected and fixed versions =========================== Issue introduced in 5.2 with commit 5f3e2bf008c2221478101ee72f5cb4654b9fc363 and fixed in 5.4.208 with commit fdb96b69f5909ffcdd6f1e0902219fc6d7689ff7 Issue introduced in 5.2 with commit 5f3e2bf008c2221478101ee72f5cb4654b9fc363 and fixed in 5.10.134 with commit 97992e8feff33b3ae154a113ec398546bbacda80 Issue introduced in 5.2 with commit 5f3e2bf008c2221478101ee72f5cb4654b9fc363 and fixed in 5.15.58 with commit 0fc9357282df055e30990b29f4b7afa53ab42cdb Issue introduced in 5.2 with commit 5f3e2bf008c2221478101ee72f5cb4654b9fc363 and fixed in 5.18.15 with commit 0d8a39feb58910a7f7746b1770ee5578cc551fe6 Issue introduced in 5.2 with commit 5f3e2bf008c2221478101ee72f5cb4654b9fc363 and fixed in 5.19 with commit 78eb166cdefcc3221c8c7c1e2d514e91a2eb5014 Issue introduced in 3.16.69 with commit 6b7e7997ad3505db7de85ff12276fc84659481d3 Issue introduced in 4.4.182 with commit e757d052f3b8ce739d068a1e890643376c16b7a9 Issue introduced in 4.9.182 with commit 8e39cbc03dafa3731d22533f869bf326c0e6e6f8 Issue introduced in 4.14.127 with commit cd6f35b8421ff20365ff711c0ac7647fd70e9af7 Issue introduced in 4.19.52 with commit 7f9f8a37e563c67b24ccd57da1d541a95538e8d9 Issue introduced in 5.1.11 with commit 2efabe3e1491f10bf3cf82ae1a371755ba054a1b 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-49596 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/ipv4/tcp_output.c net/ipv4/tcp_timer.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/fdb96b69f5909ffcdd6f1e0902219fc6d7689ff7 https://git.kernel.org/stable/c/97992e8feff33b3ae154a113ec398546bbacda80 https://git.kernel.org/stable/c/0fc9357282df055e30990b29f4b7afa53ab42cdb https://git.kernel.org/stable/c/0d8a39feb58910a7f7746b1770ee5578cc551fe6 https://git.kernel.org/stable/c/78eb166cdefcc3221c8c7c1e2d514e91a2eb5014