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 7D246219A81 for ; Wed, 26 Feb 2025 02:24:14 +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=dEJWXTUzc0gWZggnpRmLAtkLvcqcAYpXL4bUKCHzU+fMmhM4moOQJHWABwVvYyPLFrwAM1J5/BSePSeMxjGgk2AuMQXnkObPhIrx2TxVcEYDNft9vGeab51UkxLhYeB3OwoQZArRVa0J4cn1NFch67PshOBOU4T83LY4mwP7xG4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740536654; c=relaxed/simple; bh=wVSJRc2A3WmzxEMmfg746vxT3cRHknNdNbIWxZ4B/0g=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=GlU3iHnqaiPK6mmV0uzdXj61XujGzZ3JCINVYXFH85v4xz3tS/aJVzXQLTBtqhGPRFIJeUkriRzCCYYO5ehinwuImu9UxDPeTNpWxpdGmoJWNFmr6EiKrPNBXOyY5dT63otqWKjPeImFw3fxkHbkz7riTkaMH3KXjf+rVPdO/Do= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=m3HDaO5E; 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="m3HDaO5E" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4FA48C4CEE6; Wed, 26 Feb 2025 02:24:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740536654; bh=wVSJRc2A3WmzxEMmfg746vxT3cRHknNdNbIWxZ4B/0g=; h=From:To:Cc:Subject:Date:Reply-to:From; b=m3HDaO5EpJ8LRYo5GrRLBaNe3HO4kRSe8pWF8ZIBI5i5pmc0d9Q7Ezr+YPfcCJB/R SXQEykdltzHZMtdjKZ0vqQja7GfyL93rNu3E9/vlL0MUrfDYpNPCySzY1BJZ4Zm5We SB9VJGUyQjlyYu0p32NVxRnQCOAnRX5vsHz6+sYk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49604: ip: Fix data-races around sysctl_ip_fwd_use_pmtu. Date: Wed, 26 Feb 2025 03:22:47 +0100 Message-ID: <2025022612-CVE-2022-49604-eb2c@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=2806; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=wVSJRc2A3WmzxEMmfg746vxT3cRHknNdNbIWxZ4B/0g=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7qq78rO9kKUp845/Tr+J/fFp6YFx4g4zCnmwv8+C0T 73yX9k6YlkYBJkYZMUUWb5s4zm6v+KQopeh7WmYOaxMIEMYuDgFYCI91xnmx1UaL/vLbZf0673C 74i/lTciljcqMsxPY+E6E3zl6Om9U34+Ncz1YLn71a8TAA== 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_use_pmtu. While reading sysctl_ip_fwd_use_pmtu, it can be changed concurrently. Thus, we need to add READ_ONCE() to its readers. The Linux kernel CVE team has assigned CVE-2022-49604 to this issue. Affected and fixed versions =========================== Issue introduced in 3.14 with commit f87c10a8aa1e82498c42d0335524d6ae7cf5a52b and fixed in 4.19.254 with commit eb15262128b793e4b1d1c4514d3e6d19c3959764 Issue introduced in 3.14 with commit f87c10a8aa1e82498c42d0335524d6ae7cf5a52b and fixed in 5.4.208 with commit 7828309df0f89419a9349761a37c7d1b0da45697 Issue introduced in 3.14 with commit f87c10a8aa1e82498c42d0335524d6ae7cf5a52b and fixed in 5.10.134 with commit b96ed5ccb09ae71103023ed13acefb194f609794 Issue introduced in 3.14 with commit f87c10a8aa1e82498c42d0335524d6ae7cf5a52b and fixed in 5.15.58 with commit 93fbc06da1d819f3981a7bd7928c3641ea67b364 Issue introduced in 3.14 with commit f87c10a8aa1e82498c42d0335524d6ae7cf5a52b and fixed in 5.18.15 with commit e364b5f6ffbfc457a997ad09a7baa16c19581edc Issue introduced in 3.14 with commit f87c10a8aa1e82498c42d0335524d6ae7cf5a52b and fixed in 5.19 with commit 60c158dc7b1f0558f6cadd5b50d0386da0000d50 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-49604 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/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/eb15262128b793e4b1d1c4514d3e6d19c3959764 https://git.kernel.org/stable/c/7828309df0f89419a9349761a37c7d1b0da45697 https://git.kernel.org/stable/c/b96ed5ccb09ae71103023ed13acefb194f609794 https://git.kernel.org/stable/c/93fbc06da1d819f3981a7bd7928c3641ea67b364 https://git.kernel.org/stable/c/e364b5f6ffbfc457a997ad09a7baa16c19581edc https://git.kernel.org/stable/c/60c158dc7b1f0558f6cadd5b50d0386da0000d50