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 54108219A7D for ; Wed, 26 Feb 2025 02:24:07 +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=1740536647; cv=none; b=pWT/yDYuxyv7x3EaqJCKiTjT3++G4SKlmNsagdBAN/34jvkSySYggcf66WCBJ2+RZizIeO1d2zJzmN3c3rfN3I4nIS2GZvOsqWmIL2803z7dvzBKs4j7MdUSe8siEsOgZSe9vtt1ITN3DXFAhy1Vs7wOki7xX6ViS78PW42LhP4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740536647; c=relaxed/simple; bh=lLqD+AdHCbBchKdPCTJTTvkeqnQh8zzDg7QXzHcQrK8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=T1l8m7508eVhqYtk88a2RQMrUy98uu/10mSeySfLquDAtuAmdTu2aGL0oNEalwMHnMqHAgkABKsDsnIJRPU6IEIKoPFHHSV71iKkujXfWFt/m0KVa7AHK/IiL6dEBdMFxvaqJM19JAdb2LRYAgya/OrVyBp/UN50iZx7uKkcbyo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=C2oygjNi; 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="C2oygjNi" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 26338C4CEDD; Wed, 26 Feb 2025 02:24:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740536647; bh=lLqD+AdHCbBchKdPCTJTTvkeqnQh8zzDg7QXzHcQrK8=; h=From:To:Cc:Subject:Date:Reply-to:From; b=C2oygjNi0zNvDp4anSxXT62DoXA7Jy5D+tXoR23kIR9fC6V9EWAK/Q18LBTLnVpQE tbT2ZH7Mc6YWCqVakxZFs13xFn4qyIvPXu2OKILzgOncdzustkRmLr4E+o0ygp/fRQ sxYn9NqKH9d3Uh7EFJ+g8GeVvlCNUm9ghHv8J5tw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49586: tcp: Fix data-races around sysctl_tcp_fastopen. Date: Wed, 26 Feb 2025 03:22:29 +0100 Message-ID: <2025022609-CVE-2022-49586-f70a@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=2821; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=lLqD+AdHCbBchKdPCTJTTvkeqnQh8zzDg7QXzHcQrK8=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7qi5yLZVaUZd7UvAWPwOD2Dum0KDXTAExE5cVzXmfe eJwc8jGjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZjIVQuG+Wn5neqfdd5+6bu6 Ptbw8J9b2RGJaxjmcF6K09nLsPq3Zt9JybLHc/bfaz9+CwA= 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. While reading sysctl_tcp_fastopen, it can be changed concurrently. Thus, we need to add READ_ONCE() to its readers. The Linux kernel CVE team has assigned CVE-2022-49586 to this issue. Affected and fixed versions =========================== Issue introduced in 3.6 with commit 2100c8d2d9db23c0a09901a782bb4e3b21bee298 and fixed in 4.19.254 with commit 03da610696a32578fc4f986479341ce9d430df08 Issue introduced in 3.6 with commit 2100c8d2d9db23c0a09901a782bb4e3b21bee298 and fixed in 5.4.208 with commit 25d53d858a6c0b89a6e69e376c2a57c4f4c2c8cc Issue introduced in 3.6 with commit 2100c8d2d9db23c0a09901a782bb4e3b21bee298 and fixed in 5.10.134 with commit 22938534c611136f35e2ca545bb668073ca5ef49 Issue introduced in 3.6 with commit 2100c8d2d9db23c0a09901a782bb4e3b21bee298 and fixed in 5.15.58 with commit 539d9ab79eba3974b479cad61a8688c41fe62e12 Issue introduced in 3.6 with commit 2100c8d2d9db23c0a09901a782bb4e3b21bee298 and fixed in 5.18.15 with commit 448ab998947996a0a451f8229f19087964cf2670 Issue introduced in 3.6 with commit 2100c8d2d9db23c0a09901a782bb4e3b21bee298 and fixed in 5.19 with commit 5a54213318c43f4009ae158347aa6016e3b9b55a 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-49586 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/af_inet.c net/ipv4/tcp.c 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/03da610696a32578fc4f986479341ce9d430df08 https://git.kernel.org/stable/c/25d53d858a6c0b89a6e69e376c2a57c4f4c2c8cc https://git.kernel.org/stable/c/22938534c611136f35e2ca545bb668073ca5ef49 https://git.kernel.org/stable/c/539d9ab79eba3974b479cad61a8688c41fe62e12 https://git.kernel.org/stable/c/448ab998947996a0a451f8229f19087964cf2670 https://git.kernel.org/stable/c/5a54213318c43f4009ae158347aa6016e3b9b55a