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 F02D2256D for ; Wed, 26 Feb 2025 02:23:52 +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=1740536633; cv=none; b=ZQ45z+01FuBP7lxTQ8Rjl7Xr61irOor2rE77tntXborHanxwzby9wcB9+ChmFJs0YCZXzQd1x3Z5M5dLvxfPGoc9B9twU0B2LvMOz7haX90Hp7lxIj7G96b0stbgNzXvvToOWg/g8MjWLqKnYnTuZkmu4yMJjD7nfg54221TRVc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740536633; c=relaxed/simple; bh=DqYK+xV2ai6dBgDXgJZU4RJ8LEKIkITcipf4x4l7QuY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=lA3fhv3LR4DtKeQ7oAKS/06uDH5W18MQhrjAizf4iPq3bfQa1MttDwTcK4B/oiNjk00FNvasoJgkoptmsO311BI3HwltzUgPrlPdfYRh6sMf29Pg8xqwMss6FhB9N7jFirdgck19hCsiB4MbJnHIrRpyxcpmeA4EyPR542w+BiA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=vncXLJqg; 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="vncXLJqg" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B89C3C4CEE7; Wed, 26 Feb 2025 02:23:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740536632; bh=DqYK+xV2ai6dBgDXgJZU4RJ8LEKIkITcipf4x4l7QuY=; h=From:To:Cc:Subject:Date:Reply-to:From; b=vncXLJqgcUghEVboWWU+APKZZwE4RbpRJd+OrDPKYnOm4+/R1tW2XeIXz7Oc4oQ5t FBgfcooWRJMuoEqp7Uo/EjoUNsseIBDvKYKehNzs4gaw0VHBk9nnKFstx5StcRRnLD thxs2p2r8bnjvhrrDU1sre2PJpHLYAk6PSgKBMns= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49574: tcp: Fix data-races around sysctl_tcp_recovery. Date: Wed, 26 Feb 2025 03:22:17 +0100 Message-ID: <2025022607-CVE-2022-49574-018f@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=2806; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=DqYK+xV2ai6dBgDXgJZU4RJ8LEKIkITcipf4x4l7QuY=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7qs732dslic24IPzuezCv9yFOplkN0TFbEtpfL+G2S 1759/HcjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhI2kGGBWdCBMs+efHvPPB3 66IpJ93Ced7oJTHM4Ztx4cpDl8j2RXofWGx6LIN0vy/wBQA= 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_recovery. While reading sysctl_tcp_recovery, it can be changed concurrently. Thus, we need to add READ_ONCE() to its readers. The Linux kernel CVE team has assigned CVE-2022-49574 to this issue. Affected and fixed versions =========================== Issue introduced in 4.4 with commit 4f41b1c58a32537542f14c1150099131613a5e8a and fixed in 4.19.254 with commit c7a492db1f7c37c758a66915908677bd8bc5d368 Issue introduced in 4.4 with commit 4f41b1c58a32537542f14c1150099131613a5e8a and fixed in 5.4.208 with commit 92c35113c63306091df9211375eebd0abd8c2160 Issue introduced in 4.4 with commit 4f41b1c58a32537542f14c1150099131613a5e8a and fixed in 5.10.134 with commit d8781f7cd04091744f474a2bada74772084b9dc9 Issue introduced in 4.4 with commit 4f41b1c58a32537542f14c1150099131613a5e8a and fixed in 5.15.58 with commit a31e2d0cb5cfa2aae3144cac04f25031d5d20fb4 Issue introduced in 4.4 with commit 4f41b1c58a32537542f14c1150099131613a5e8a and fixed in 5.18.15 with commit 52ee7f5c4811ce6be1becd14d38ba1f8a8a0df81 Issue introduced in 4.4 with commit 4f41b1c58a32537542f14c1150099131613a5e8a and fixed in 5.19 with commit e7d2ef837e14a971a05f60ea08c47f3fed1a36e4 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-49574 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 net/ipv4/tcp_recovery.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/c7a492db1f7c37c758a66915908677bd8bc5d368 https://git.kernel.org/stable/c/92c35113c63306091df9211375eebd0abd8c2160 https://git.kernel.org/stable/c/d8781f7cd04091744f474a2bada74772084b9dc9 https://git.kernel.org/stable/c/a31e2d0cb5cfa2aae3144cac04f25031d5d20fb4 https://git.kernel.org/stable/c/52ee7f5c4811ce6be1becd14d38ba1f8a8a0df81 https://git.kernel.org/stable/c/e7d2ef837e14a971a05f60ea08c47f3fed1a36e4