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 84045217727 for ; Wed, 26 Feb 2025 02:24:05 +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=1740536645; cv=none; b=gEB3sPKTA74GOrcNDJgFzYedzDxVDhGhIXY3LiTutYx2M4IH9BrewQ+YaVIRmEQeU/4CjfZMr4nhabz/gwpFLoRBsyfWeDjy/TwdqYYWYKCWP7vLScmfPRbdnXKEPeRLIAz8QlqygQMMDf2JxLCYT35MiCn/Is8q2whYb7lHwzM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740536645; c=relaxed/simple; bh=iqU5ha5V8NaP5B8E0KMA+ruECDtwMlFshJpbR2R5V2I=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=a5ictF7szIGqfjHosIM/B6+fRGwcrj4Y8yh/Uj3QXxcYg8xsGotEfYid1teROlaymR1iEzyjFlieChoNp5hgpD9Hjcr90sFQhBf2A7cgogroGybo78KKH7dNJr+uDz4WYhTbYhJLbnFcjoncEA6NTXHWuyjeiQ6g+oD1oyfYa94= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=1pLZI/vm; 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="1pLZI/vm" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E0037C4CEDD; Wed, 26 Feb 2025 02:24:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740536645; bh=iqU5ha5V8NaP5B8E0KMA+ruECDtwMlFshJpbR2R5V2I=; h=From:To:Cc:Subject:Date:Reply-to:From; b=1pLZI/vmPahnq44IfiyItsUXVYRmaX7kNiHyXEGZHV3iJvk1GI+rH/e9skRT1ZHbb FgveLxhexlfgim+q6cmh7PyDq2lapOqaKc3NqYb1cgdTbJgOs2lqNIbqLlM0byUm6n 09J8305rGDaVc8oYq7qztINh/tBE9H3TxKLAK9S0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49571: tcp: Fix data-races around sysctl_tcp_max_reordering. Date: Wed, 26 Feb 2025 03:22:14 +0100 Message-ID: <2025022606-CVE-2022-49571-74ee@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=2799; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=iqU5ha5V8NaP5B8E0KMA+ruECDtwMlFshJpbR2R5V2I=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7qs6Z39/+T72lmSHN2ehkXFV1lUWYXy/fZ7WjM07+j 7V56hPdEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABNZeIVhwWWGmpkyU5JKdzJs 83KL+So6yaJgOcOCI4uP3pnXNqGm9WDgwTq1+4cL+k7dAwA= 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_max_reordering. While reading sysctl_tcp_max_reordering, it can be changed concurrently. Thus, we need to add READ_ONCE() to its readers. The Linux kernel CVE team has assigned CVE-2022-49571 to this issue. Affected and fixed versions =========================== Issue introduced in 3.19 with commit dca145ffaa8d39ea1904491ac81b92b7049372c0 and fixed in 4.19.254 with commit 5e38cee24f19d19280c68f1ac8bf6790d607f60a Issue introduced in 3.19 with commit dca145ffaa8d39ea1904491ac81b92b7049372c0 and fixed in 5.4.208 with commit 50a1d3d097503a90cf84ebe120afcde37e9c33b3 Issue introduced in 3.19 with commit dca145ffaa8d39ea1904491ac81b92b7049372c0 and fixed in 5.10.134 with commit 064852663308c801861bd54789d81421fa4c2928 Issue introduced in 3.19 with commit dca145ffaa8d39ea1904491ac81b92b7049372c0 and fixed in 5.15.58 with commit ce3731c61589ed73364a5b55ce34131762ef9b60 Issue introduced in 3.19 with commit dca145ffaa8d39ea1904491ac81b92b7049372c0 and fixed in 5.18.15 with commit 46deb91ac8a790286ad6d24cf92e7ab0ab2582bb Issue introduced in 3.19 with commit dca145ffaa8d39ea1904491ac81b92b7049372c0 and fixed in 5.19 with commit a11e5b3e7a59fde1a90b0eaeaa82320495cf8cae 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-49571 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_input.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/5e38cee24f19d19280c68f1ac8bf6790d607f60a https://git.kernel.org/stable/c/50a1d3d097503a90cf84ebe120afcde37e9c33b3 https://git.kernel.org/stable/c/064852663308c801861bd54789d81421fa4c2928 https://git.kernel.org/stable/c/ce3731c61589ed73364a5b55ce34131762ef9b60 https://git.kernel.org/stable/c/46deb91ac8a790286ad6d24cf92e7ab0ab2582bb https://git.kernel.org/stable/c/a11e5b3e7a59fde1a90b0eaeaa82320495cf8cae