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 18F9C218EB8 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=1740536653; cv=none; b=BjKy09y11xmYULAkSemINVVReGnDg7s5Z7IvfjfdxiRIz7Y/QH7p4W0ZLQXLogNauZgtq3jLefKqZC8RDP1EctTCZy2Aae4dfbXUNH7OVeC4B38q7o9LJZpj+j6NcwVK62s6t1LauiG7Ggt6cfo5W0llSiVZUlnX9ZpMsPC5LVs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740536653; c=relaxed/simple; bh=Hc/lcyGlTfbxVJj17Ez1aP1npHY/xFTFXOdLhxJsjwE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=E4Uo9KPGCVGuRjF6M1NBSD9FFfwbxLjZQOT8k+NVYp2Ibncy5a87sUMz90uJsiqiHCoCX42/j3XufwVdL7sgjlS+oKFe7FDHCjT/O2On9uqbBCA5Bd8/ohxKgWj0E5ze15heLOUw8PtG4xvba0y2pr6oDthNapSzQ6UR6tLQhd0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=L2chtSZX; 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="L2chtSZX" Received: by smtp.kernel.org (Postfix) with ESMTPSA id E11E0C4CEDD; Wed, 26 Feb 2025 02:24:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740536653; bh=Hc/lcyGlTfbxVJj17Ez1aP1npHY/xFTFXOdLhxJsjwE=; h=From:To:Cc:Subject:Date:Reply-to:From; b=L2chtSZXm46t+h/FMu5JZgMmCu+vtp5yVBcmA+v/6KRQxtI+5C5fYhvEol5XKJ3+a QxXYtMLeTvA/G2tPtTnFFqmLFk5dNKveN7JJEdpl618nHHRIig4Z6CS5wzwhwLWAt2 dxhD43GMX/erI9MqlqR8HSJmF/6iLnA2JaJvZRWM= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49602: ip: Fix a data-race around sysctl_fwmark_reflect. Date: Wed, 26 Feb 2025 03:22:45 +0100 Message-ID: <2025022612-CVE-2022-49602-0366@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=3244; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=Hc/lcyGlTfbxVJj17Ez1aP1npHY/xFTFXOdLhxJsjwE=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7qq58rv9UcHgbV0WbsF6Ub3AHT122/0rNK8+n3gli8 GC/H13cEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABOZxsewYPM04Tdsly+Y92mv ehDzZ7rhggbm/QwLurK45PSrJk69cF7BU/Kp7907R9LvAgA= 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 a data-race around sysctl_fwmark_reflect. While reading sysctl_fwmark_reflect, it can be changed concurrently. Thus, we need to add READ_ONCE() to its reader. The Linux kernel CVE team has assigned CVE-2022-49602 to this issue. Affected and fixed versions =========================== Issue introduced in 3.16 with commit e110861f86094cd78cc85593b873970092deb43a and fixed in 4.9.325 with commit fc92e3b4bebfdd986ef1d2c5019f236837b0b982 Issue introduced in 3.16 with commit e110861f86094cd78cc85593b873970092deb43a and fixed in 4.14.290 with commit 5e7a1be3e68deef250ad43cc91f7bb8d7d758b48 Issue introduced in 3.16 with commit e110861f86094cd78cc85593b873970092deb43a and fixed in 4.19.254 with commit 9096edcf4854289f92252e086cf6e498c7f8c21d Issue introduced in 3.16 with commit e110861f86094cd78cc85593b873970092deb43a and fixed in 5.4.208 with commit 25a635a67c830766110410fea88ec4e6ee29684b Issue introduced in 3.16 with commit e110861f86094cd78cc85593b873970092deb43a and fixed in 5.10.134 with commit 0ee76fe01ff3c0b4efaa500aecc90d7c8d3a8860 Issue introduced in 3.16 with commit e110861f86094cd78cc85593b873970092deb43a and fixed in 5.15.58 with commit dccf8a67f30e18980d13f07006e5a536bbd1e136 Issue introduced in 3.16 with commit e110861f86094cd78cc85593b873970092deb43a and fixed in 5.18.15 with commit a475ecc9ad919aa3ebdd4e4a6ee612b793bf74b3 Issue introduced in 3.16 with commit e110861f86094cd78cc85593b873970092deb43a and fixed in 5.19 with commit 85d0b4dbd74b95cc492b1f4e34497d3f894f5d9a 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-49602 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 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/fc92e3b4bebfdd986ef1d2c5019f236837b0b982 https://git.kernel.org/stable/c/5e7a1be3e68deef250ad43cc91f7bb8d7d758b48 https://git.kernel.org/stable/c/9096edcf4854289f92252e086cf6e498c7f8c21d https://git.kernel.org/stable/c/25a635a67c830766110410fea88ec4e6ee29684b https://git.kernel.org/stable/c/0ee76fe01ff3c0b4efaa500aecc90d7c8d3a8860 https://git.kernel.org/stable/c/dccf8a67f30e18980d13f07006e5a536bbd1e136 https://git.kernel.org/stable/c/a475ecc9ad919aa3ebdd4e4a6ee612b793bf74b3 https://git.kernel.org/stable/c/85d0b4dbd74b95cc492b1f4e34497d3f894f5d9a