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 460CB21ADD3 for ; Wed, 26 Feb 2025 02:27:22 +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=1740536843; cv=none; b=XmgAIQGAB9HEohh2z07vns1JUVsACT9XyBj7sBG5++nx/FYbTxcdtA9I+a7C0QRvx496kb3Il6OQpumXwpyQVC2ncDqJUkouS3SsUlG5fUc5BEpEToa88xeXOaIJwOpJsvNSWONpZQb6fP7huXutJHFpxks60eLwx3WX+dUDnC8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740536843; c=relaxed/simple; bh=vkZVhDijfpPUASqF0mXslby6gLO7AFY+pALjZG/k70g=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=TQUIYlIYN528wb6tY3xQlEaTtLpfotb++rAW4KRpZJuL9omR/Hx0xhwRlHFDs9ffKkjmgbhvT9CymQwwXfkaEGIocrtGFVSTsp8KjebLduoB+o2w+C9kSB3qUJ++iRdhufmEcGOcvIbOEx3Ma0yyXIrpKUjNDI/zYr/afaGyF1I= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=rnRBsLnm; 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="rnRBsLnm" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A79AAC4CEE6; Wed, 26 Feb 2025 02:27:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740536842; bh=vkZVhDijfpPUASqF0mXslby6gLO7AFY+pALjZG/k70g=; h=From:To:Cc:Subject:Date:Reply-to:From; b=rnRBsLnmjNNx4a20W4NGL1CB+4frMWlShge8WdZZPPBF/zXxFPn/YWXf24hSDqLLS q1U53vPF8NAPSnv5Ha/TySFoZfZJBszWgOtEgnl0KWFur/QsQ/81Eqow5xEQkSRmkM WrSYF1j8elQrMYbfiVnfzVOkuJVqeXmxL+MCrq3U= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49629: nexthop: Fix data-races around nexthop_compat_mode. Date: Wed, 26 Feb 2025 03:23:12 +0100 Message-ID: <2025022616-CVE-2022-49629-c5d3@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=2371; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=vkZVhDijfpPUASqF0mXslby6gLO7AFY+pALjZG/k70g=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7qm40il5q8gpct058UVfnERddFevPcpIczzsvZ00K9 hJcUsPQEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABMJdmOYH878vDTuW+C3kMmM +j8VHupIT3jixTBXwiauMPzIRfnae/l6B/NC9Q0nFosCAA== 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: nexthop: Fix data-races around nexthop_compat_mode. While reading nexthop_compat_mode, it can be changed concurrently. Thus, we need to add READ_ONCE() to its readers. The Linux kernel CVE team has assigned CVE-2022-49629 to this issue. Affected and fixed versions =========================== Issue introduced in 5.8 with commit 4f80116d3df3b23ee4b83ea8557629e1799bc230 and fixed in 5.10.132 with commit a51040d4b120f3520df64fb0b9c63b31d69bea9b Issue introduced in 5.8 with commit 4f80116d3df3b23ee4b83ea8557629e1799bc230 and fixed in 5.15.56 with commit 0d17723afea3ae8c9f245c9bbd2ba5945b77e812 Issue introduced in 5.8 with commit 4f80116d3df3b23ee4b83ea8557629e1799bc230 and fixed in 5.18.13 with commit ae3054f6fbccc90f14ecd6cf9b2c09a2401c64fd Issue introduced in 5.8 with commit 4f80116d3df3b23ee4b83ea8557629e1799bc230 and fixed in 5.19 with commit bdf00bf24bef9be1ca641a6390fd5487873e0d2e 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-49629 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/fib_semantics.c net/ipv4/nexthop.c net/ipv6/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/a51040d4b120f3520df64fb0b9c63b31d69bea9b https://git.kernel.org/stable/c/0d17723afea3ae8c9f245c9bbd2ba5945b77e812 https://git.kernel.org/stable/c/ae3054f6fbccc90f14ecd6cf9b2c09a2401c64fd https://git.kernel.org/stable/c/bdf00bf24bef9be1ca641a6390fd5487873e0d2e