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 5F0B2218E99 for ; Wed, 26 Feb 2025 02:23:54 +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=1740536634; cv=none; b=JRPjH04j9ZOETAhBGTW3mKYJRxVsgB8+rRflI7VJCRv1j4vj9iK5VqfjyG0VU15uBvWvfyxG12UtvPW8EQswa9i8nC6m0Cfn6PdP18C+FiPPK+BpTRhbjVEIf6AkRpUYaGp3CWTkKDsBBUYhXxp3UJpvcz4DFew/W+z/qub0pNk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740536634; c=relaxed/simple; bh=wjEZzlIKi4IzuheRhEPh7OqLxHv7TyQoLW+85kGFGAo=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=j0/zGXqv71U2W11Q+0VMEMms63814vn1lZDdB9lc8gReMgKMuWzntrlN4qvDT+p3FeQn9KY3UAdq4wGErCPzo2qRiox8CbIs4qlgoYtmnECHpbuGUREJbZ+PaECZzZ2vNIDdpnTuoioKP5ItsrHiJJw8WWu5SUWqShj4q66hijc= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=FeGdDN+J; 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="FeGdDN+J" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 22FCCC4CEDD; Wed, 26 Feb 2025 02:23:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740536634; bh=wjEZzlIKi4IzuheRhEPh7OqLxHv7TyQoLW+85kGFGAo=; h=From:To:Cc:Subject:Date:Reply-to:From; b=FeGdDN+JTwoMAaKfd3MsI8zt9XdTZ39L+yTjtbKVeGN3xJxKfQHID12GEQtABBMYX m8XHDj0C1/F/e8doAzvYATjlKsrANzrEhJz3Jl/6c3fqJ//9G4Glum2VtSGNCeMJVc 5aLTcZCI8R87gTTEBSyooWDqd+w+DNERppvx/NIo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49576: ipv4: Fix data-races around sysctl_fib_multipath_hash_fields. Date: Wed, 26 Feb 2025 03:22:19 +0100 Message-ID: <2025022607-CVE-2022-49576-a9e2@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=2177; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=wjEZzlIKi4IzuheRhEPh7OqLxHv7TyQoLW+85kGFGAo=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7qs6bbAm7niv92Xvnsjkvfhg8VTp89bDzixvfNI4dP 8heKN5+tCOWhUGQiUFWTJHlyzaeo/srDil6GdqehpnDygQyhIGLUwAmkhnGME/zyLxTOhvFfQ/p dirMTPcu8Zvf+oBhQV+nWRI3/5/1T+auPcAufojt8Q33/QA= 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: ipv4: Fix data-races around sysctl_fib_multipath_hash_fields. While reading sysctl_fib_multipath_hash_fields, it can be changed concurrently. Thus, we need to add READ_ONCE() to its readers. The Linux kernel CVE team has assigned CVE-2022-49576 to this issue. Affected and fixed versions =========================== Issue introduced in 5.14 with commit ce5c9c20d364f156c885efed8c71fca2945db00f and fixed in 5.15.58 with commit 36f5b86f309b3b11295d087cd7433f1c897caf94 Issue introduced in 5.14 with commit ce5c9c20d364f156c885efed8c71fca2945db00f and fixed in 5.18.15 with commit 548d6678c4a3d43667e59686665f8674b82440a3 Issue introduced in 5.14 with commit ce5c9c20d364f156c885efed8c71fca2945db00f and fixed in 5.19 with commit 8895a9c2ac76fb9d3922fed4fe092c8ec5e5cccc 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-49576 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: drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c net/ipv4/route.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/36f5b86f309b3b11295d087cd7433f1c897caf94 https://git.kernel.org/stable/c/548d6678c4a3d43667e59686665f8674b82440a3 https://git.kernel.org/stable/c/8895a9c2ac76fb9d3922fed4fe092c8ec5e5cccc