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 D370621A447 for ; Wed, 26 Feb 2025 02:24:37 +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=1740536677; cv=none; b=qah9YGP7kjonutz9RoFeAbuWja8ENl5uK71LfNn9skXjEHmnmvOaxryu3XheVoPoD0dDB2nPJjVBZNm3awN5PVx6GZLawvxDbC0rij+KruHVgGSO0lWYKI9Te1NZMhQFM/YdESNgwcd2gAQH8lD3NMKN3Ow5M0wa1D53/CYpXjE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740536677; c=relaxed/simple; bh=wAAqJIDNUMZN2LmSHb0QWT7cSYoejRG2VAb68iS5xzA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=OlmtCLKfwIihrW/nuTyJu3+NPFGuwLRuU1QKwgkGSDvhpZoH8twgb/13J4aG8a4MAkB+LvJzVTEw9MUHseW6OjYqZj1ysjGwtdRvwO4zmIT3QoamoF18zDNdfeHJmo1/7yeUW9UOusd+z2ukIjApG/jWVCKSNuxM9yUdyQ5YHVM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=rBIV8vds; 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="rBIV8vds" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9ABA3C4CEDD; Wed, 26 Feb 2025 02:24:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740536677; bh=wAAqJIDNUMZN2LmSHb0QWT7cSYoejRG2VAb68iS5xzA=; h=From:To:Cc:Subject:Date:Reply-to:From; b=rBIV8vdsCuQb7EOjDDgSi751Z7oAv/nUpS6hUuK9RKhzDg7wMZgoVjBH0fvmqpWot eIoUxH9e41ipbFB3QupLe4IC6vqnX+2Qf8F4RDHWSXdLZ92wR333MCtKbu6X8G2nwA h4Xg2qwK/N1ERfUONW0PEk1RvpDXePJ0o1IIp29I= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49585: tcp: Fix data-races around sysctl_tcp_fastopen_blackhole_timeout. Date: Wed, 26 Feb 2025 03:22:28 +0100 Message-ID: <2025022609-CVE-2022-49585-659c@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=2367; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=wAAqJIDNUMZN2LmSHb0QWT7cSYoejRG2VAb68iS5xzA=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7qi4e4Tu37OyO2T2ODa03tJNu5BxqlNpx5I3whK+r+ C9OZZnQ3RHLwiDIxCArpsjyZRvP0f0VhxS9DG1Pw8xhZQIZwsDFKQATcfjIMJMxNOKIys/kH8ot fVvrr1S9mniMp55hnvFVvqaseUxvJYUvhfdnmvt5FPsuBgA= 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_fastopen_blackhole_timeout. While reading sysctl_tcp_fastopen_blackhole_timeout, it can be changed concurrently. Thus, we need to add READ_ONCE() to its readers. The Linux kernel CVE team has assigned CVE-2022-49585 to this issue. Affected and fixed versions =========================== Issue introduced in 4.12 with commit cf1ef3f0719b4dcb74810ed507e2a2540f9811b4 and fixed in 5.10.134 with commit 0dc2f19d8c2636cebda7976b5ea40c6d69f0d891 Issue introduced in 4.12 with commit cf1ef3f0719b4dcb74810ed507e2a2540f9811b4 and fixed in 5.15.58 with commit a77a75a0e7f397550ab039f96115103e78dd5c69 Issue introduced in 4.12 with commit cf1ef3f0719b4dcb74810ed507e2a2540f9811b4 and fixed in 5.18.15 with commit 8afa5604e295046c02b79ccf9e2bbbf8d969d60e Issue introduced in 4.12 with commit cf1ef3f0719b4dcb74810ed507e2a2540f9811b4 and fixed in 5.19 with commit 021266ec640c7a4527e6cd4b7349a512b351de1d 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-49585 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_fastopen.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/0dc2f19d8c2636cebda7976b5ea40c6d69f0d891 https://git.kernel.org/stable/c/a77a75a0e7f397550ab039f96115103e78dd5c69 https://git.kernel.org/stable/c/8afa5604e295046c02b79ccf9e2bbbf8d969d60e https://git.kernel.org/stable/c/021266ec640c7a4527e6cd4b7349a512b351de1d