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 F09DF21ADC4 for ; Wed, 26 Feb 2025 02:24:53 +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=1740536694; cv=none; b=SIlK1XVXiBm0j5PU+Ymq2j92cPxUfW2HxBDXdUJciDyCTe/ygtQ1Epr+aNXcNd4643Bp9/GqkCbLxSGxZVRz6W8MXJQZzywA1Wlq7QTXFdek9V0Ql9Bdy9V9KX/nEbmnCEPGnHLcJEdFz7UPBrs6aQ9nRXeAZCppnB6r8nxP1Ug= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740536694; c=relaxed/simple; bh=lt3CakX5FfB1rhso7gsXHyjWVjkbhU2Q2+ugLFsff3g=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=fEuHlpZbAGS2DQ0Xp6RBxCWjHQNmuw+xtQRwanBpvcm/4iBASqHSypEB4CPiTZiuEjHr6EFdCKpYeVccQ2VMEb8dBw0EsJ7GSb6i1zY1euwyIdW/jqUEXQ8gck4CBMcyA+dNSDpHEeLQd9Kt4Qi4J/8ZTyrGaU+9URHAVdtoh/4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=lh89e9L7; 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="lh89e9L7" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C6A02C4CEDD; Wed, 26 Feb 2025 02:24:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740536693; bh=lt3CakX5FfB1rhso7gsXHyjWVjkbhU2Q2+ugLFsff3g=; h=From:To:Cc:Subject:Date:Reply-to:From; b=lh89e9L7dhlvWPXlbZ5fiHpDvpEit4uwnDPhFVK9POChigxHRL/wC2g3toUSBK6Pr fCNYQOBXbOycB60bbCglMSdauxlXJMsdf5Pi7mgqJ7RNSCOPbPFNyLjKfa+B+LSrsZ 4Uwwb0wWbKlciakh6gToxH6E8Kxzxp7kaG7vfA6Q= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49632: icmp: Fix a data-race around sysctl_icmp_errors_use_inbound_ifaddr. Date: Wed, 26 Feb 2025 03:23:15 +0100 Message-ID: <2025022617-CVE-2022-49632-ea1e@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=2165; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=lt3CakX5FfB1rhso7gsXHyjWVjkbhU2Q2+ugLFsff3g=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7qm4e8ir83X66Nib2ya+gwyxL3/5atb4zTmJVzpTgq 5daLohf7IhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJ/G1imGd8U3CJI/sLY4vl kVNnTtja4ffdaR3DgkM+rJqPNllsDAgX6s4UMYhhe3PuBwA= 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: icmp: Fix a data-race around sysctl_icmp_errors_use_inbound_ifaddr. While reading sysctl_icmp_errors_use_inbound_ifaddr, it can be changed concurrently. Thus, we need to add READ_ONCE() to its reader. The Linux kernel CVE team has assigned CVE-2022-49632 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.12 with commit 1c2fb7f93cb20621772bf304f3dba0849942e5db and fixed in 5.15.56 with commit de9490c32bc10020efdd1509689a28f197d6dfb8 Issue introduced in 2.6.12 with commit 1c2fb7f93cb20621772bf304f3dba0849942e5db and fixed in 5.18.13 with commit f9617844e4d5d6331dbce3fb19a24e5bda201e58 Issue introduced in 2.6.12 with commit 1c2fb7f93cb20621772bf304f3dba0849942e5db and fixed in 5.19 with commit d2efabce81db7eed1c98fa1a3f203f0edd738ac3 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-49632 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/icmp.c net/ipv4/sysctl_net_ipv4.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/de9490c32bc10020efdd1509689a28f197d6dfb8 https://git.kernel.org/stable/c/f9617844e4d5d6331dbce3fb19a24e5bda201e58 https://git.kernel.org/stable/c/d2efabce81db7eed1c98fa1a3f203f0edd738ac3