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 B7226217727 for ; Wed, 26 Feb 2025 02:23:55 +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=1740536635; cv=none; b=IAfsQTwZCtAuyGLNWwXdPf6CUF+AjdfwzjenLGsZMAE8zFDu3RxFSfDI9s8qsXjv6ynePFH7y20gZK8YIRQau+eg9VdMFfocMWXR6qVxryTcmLns40QWIDxNEZeMUxC1JT9xx+2auR1vT4u4AHHsQqU2eYzqxd86H16/Y4Z4R9o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740536635; c=relaxed/simple; bh=ZlEojSqw28/mvdLzqYkRpx/X+uPoeHxiVa/6pDBrQKE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=cBGOzKTnd9QIcz7hQ+toZ+t3PoQagnMYCuC7GiHPn19cqxsWevF4CCv/Knk/RoKwV90LSzmKaWbc1oOEYpR/R0ZSZFlyEDYhR96vwCQgsQT+zrvagw8FWnShsaIBKDY2+O6FXdi+c7I6D/DIse4OtrNExJN6jhzphFemESoa7J4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=XrRNtvfD; 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="XrRNtvfD" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 838DEC4CEDD; Wed, 26 Feb 2025 02:23:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740536635; bh=ZlEojSqw28/mvdLzqYkRpx/X+uPoeHxiVa/6pDBrQKE=; h=From:To:Cc:Subject:Date:Reply-to:From; b=XrRNtvfDhLH/2jc5hDapUdvakvCuaetJeMvhm6ccLV8TdNiDCslfTXbtfUNAWWBj/ Xt7/Q5ogy3x/mIc0tgso/v0hf/AIb7XIcQnf1XAY/nbGjRBvObTdmNiNdInaqBxGaB j94wsNeNFQvDGf0cCfRRZ2fbGtEO1oY28HWUp4dg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49578: ip: Fix data-races around sysctl_ip_prot_sock. Date: Wed, 26 Feb 2025 03:22:21 +0100 Message-ID: <2025022607-CVE-2022-49578-6d9b@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=2410; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ZlEojSqw28/mvdLzqYkRpx/X+uPoeHxiVa/6pDBrQKE=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7qi50zDb/X+agMoltgrLq1iS/kwWvntYtWRa5qn7NW gOOuHjVjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiI8weG+cHPsnR6+/Oe3xCx Dbga3SWhk3c6nGG+IxdT6jbVr4cqL55+cfbYK7uds0XuAgA= 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: ip: Fix data-races around sysctl_ip_prot_sock. sysctl_ip_prot_sock is accessed concurrently, and there is always a chance of data-race. So, all readers and writers need some basic protection to avoid load/store-tearing. The Linux kernel CVE team has assigned CVE-2022-49578 to this issue. Affected and fixed versions =========================== Issue introduced in 4.11 with commit 4548b683b78137f8eadeb312b94e20bb0d4a7141 and fixed in 5.10.134 with commit 9add240f76af6d141d2eebd3a1558a0e503a993d Issue introduced in 4.11 with commit 4548b683b78137f8eadeb312b94e20bb0d4a7141 and fixed in 5.15.58 with commit 95724fe897a4ecf2be51452ef96e818568071664 Issue introduced in 4.11 with commit 4548b683b78137f8eadeb312b94e20bb0d4a7141 and fixed in 5.18.15 with commit ef699813d99cc29e6e25c9f6da7766526cc8bd6e Issue introduced in 4.11 with commit 4548b683b78137f8eadeb312b94e20bb0d4a7141 and fixed in 5.19 with commit 9b55c20f83369dd54541d9ddbe3a018a8377f451 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-49578 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: include/net/ip.h net/ipv4/sysctl_net_ipv4.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/9add240f76af6d141d2eebd3a1558a0e503a993d https://git.kernel.org/stable/c/95724fe897a4ecf2be51452ef96e818568071664 https://git.kernel.org/stable/c/ef699813d99cc29e6e25c9f6da7766526cc8bd6e https://git.kernel.org/stable/c/9b55c20f83369dd54541d9ddbe3a018a8377f451