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 334E9219A63 for ; Wed, 26 Feb 2025 02:24:13 +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=1740536654; cv=none; b=tibWgWPU4DyWHHXtcw5SPISDzyWIqnNbIffkS/RzhAJC5yXFNmmxk/0VoOA+VSCLYnyuBKLjp2qh20dW89hshl22xmSuMJipd25pCA1h1YcbfG5GvElB1C0tKvg3j2xQCk6Fol3+q/TJ/abbJXeMr8GfLm+S+TpMMaYOCRnIegE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740536654; c=relaxed/simple; bh=5P1lLQ9VNN9TmvgiF8wbZSR7NIrbyWx4KxSdSRXwxPU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=kKmmAcsJGlQxpoieyKu2d9vuU6gaYj025BM+2GuW/JgPWksd802Wgd/z9+HZPT9iFxvbHFBRK6gJDgoY1GbKEG2Dje69ANcK3KWKQSWdxUfHO29Gxls2Ic1lp9U19l8N5L/yhezs/29EazNQdwZiB/3GWe3gIJQd7qC1+5AlRwk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=csqQ1qvF; 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="csqQ1qvF" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 977D9C4CEDD; Wed, 26 Feb 2025 02:24:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740536653; bh=5P1lLQ9VNN9TmvgiF8wbZSR7NIrbyWx4KxSdSRXwxPU=; h=From:To:Cc:Subject:Date:Reply-to:From; b=csqQ1qvFZVremb2YSetCEA8J40Hc6szv2/hGTNIm9uiPIc/+dp2DvsSAKbMgBWyNP iWszP8T86miae3vHBd6mahELIVotgtAvId1aSP2kODvk86CLBppRkwLx7jxC0udD2n 953mKEKGdAYhX0BNAPW3mYlc/cwznV8nw3kmTyjY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49603: ip: Fix data-races around sysctl_ip_fwd_update_priority. Date: Wed, 26 Feb 2025 03:22:46 +0100 Message-ID: <2025022612-CVE-2022-49603-e042@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=2404; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=5P1lLQ9VNN9TmvgiF8wbZSR7NIrbyWx4KxSdSRXwxPU=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7qq58z7VtUzO5vLxdJIV54WHucEvzVxEHqvj26Hvfj oyLK9veEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABN5ys2wYF+gpb/xnOWzemP9 6muFztTllylNZJinwG5wbemDidn/anISWXJu1H08cmUjAA== 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_fwd_update_priority. While reading sysctl_ip_fwd_update_priority, it can be changed concurrently. Thus, we need to add READ_ONCE() to its readers. The Linux kernel CVE team has assigned CVE-2022-49603 to this issue. Affected and fixed versions =========================== Issue introduced in 4.19 with commit 432e05d328921c68c35bfdeff7d7b7400b8e3d1a and fixed in 5.10.134 with commit 11038fa781ab916535c53351537b22d6d405667d Issue introduced in 4.19 with commit 432e05d328921c68c35bfdeff7d7b7400b8e3d1a and fixed in 5.15.58 with commit 351f81f7d7185d18a9ff76f8f8c2fa8c4eea563b Issue introduced in 4.19 with commit 432e05d328921c68c35bfdeff7d7b7400b8e3d1a and fixed in 5.18.15 with commit bcc03369d3277ae075ed421f0c8bf4adb5e65b74 Issue introduced in 4.19 with commit 432e05d328921c68c35bfdeff7d7b7400b8e3d1a and fixed in 5.19 with commit 7bf9e18d9a5e99e3c83482973557e9f047b051e7 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-49603 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/ip_forward.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/11038fa781ab916535c53351537b22d6d405667d https://git.kernel.org/stable/c/351f81f7d7185d18a9ff76f8f8c2fa8c4eea563b https://git.kernel.org/stable/c/bcc03369d3277ae075ed421f0c8bf4adb5e65b74 https://git.kernel.org/stable/c/7bf9e18d9a5e99e3c83482973557e9f047b051e7