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 A62AA219A74 for ; Wed, 26 Feb 2025 02:24:11 +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=1740536651; cv=none; b=Yu2tG7clUdFf8I/kxXlw0twOaC2BuyW3nW8Q9ckRUKPQfCljZyTHa/er9w3nbLZJWf6277Cx/1+bq87TCoVD8QX0/NZw60Y6+9/X0RgUfoat+3C2w3OuoMjKkeE6AeuiT5rKFXGx5DwWj5MlAH2FcUM6Cl08FoMZRoFGhtXhbXI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740536651; c=relaxed/simple; bh=HDFcMKN/dIRa06rA4+cLa32DFBvZjwusWQX4bOIJxTM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=foGAfCEBwGoP6fNoZNhfcmo0KrRstZkBZ6x3oexob5EWJc2vr6ptBd9kjxepXJsxxr3JihcGe9iczDpSxw/75x82PAD4j1Njo/pi12v6TZA3dZY8npenp5vFN1YqBq+oXWZxiZU9gy7keM6yuLvfFExfsauyneHbQV0QXkzjguQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=elmBQ8I9; 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="elmBQ8I9" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 760F0C4CEDD; Wed, 26 Feb 2025 02:24:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740536651; bh=HDFcMKN/dIRa06rA4+cLa32DFBvZjwusWQX4bOIJxTM=; h=From:To:Cc:Subject:Date:Reply-to:From; b=elmBQ8I95RZvvpZf/jGwnO0ckNZ74miy8jaju+4+CPtCvni3zAFTkiqfuliz9U30x DCzXjsZWjCp4hig+ufAhCAVWY8IleOmYZ81/b97NOFCm2rJx6x+AimHYShDNIvPk+4 gKDKj4e0GoVf2WRtJ5qS1k0LavQrmw3F0uk7WSrA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49600: ip: Fix a data-race around sysctl_ip_autobind_reuse. Date: Wed, 26 Feb 2025 03:22:43 +0100 Message-ID: <2025022611-CVE-2022-49600-9d38@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=2343; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=HDFcMKN/dIRa06rA4+cLa32DFBvZjwusWQX4bOIJxTM=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7qi6b/6lh65OQvfFTVFr4z+G35ocTVqzllOvkXbzli HuT3xKGjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZgIMx/D/ACDyZIuOw6LOm1c 2Xurar++Id9jUYb5kYsKX1qK+HzZqGGsyS9kttp4X4AIAA== 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_ip_autobind_reuse. While reading sysctl_ip_autobind_reuse, it can be changed concurrently. Thus, we need to add READ_ONCE() to its reader. The Linux kernel CVE team has assigned CVE-2022-49600 to this issue. Affected and fixed versions =========================== Issue introduced in 5.7 with commit 4b01a9674231a97553a55456d883f584e948a78d and fixed in 5.10.134 with commit 611ba70e5aca252ef43374dda97ed4cf1c47a07c Issue introduced in 5.7 with commit 4b01a9674231a97553a55456d883f584e948a78d and fixed in 5.15.58 with commit 87ceaa199a72c5856d49a030941fabcd5c3928d4 Issue introduced in 5.7 with commit 4b01a9674231a97553a55456d883f584e948a78d and fixed in 5.18.15 with commit fa7cdcf9b28d13aac1eeb34b948db8a18e041341 Issue introduced in 5.7 with commit 4b01a9674231a97553a55456d883f584e948a78d and fixed in 5.19 with commit 0db232765887d9807df8bcb7b6f29b2871539eab 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-49600 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/inet_connection_sock.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/611ba70e5aca252ef43374dda97ed4cf1c47a07c https://git.kernel.org/stable/c/87ceaa199a72c5856d49a030941fabcd5c3928d4 https://git.kernel.org/stable/c/fa7cdcf9b28d13aac1eeb34b948db8a18e041341 https://git.kernel.org/stable/c/0db232765887d9807df8bcb7b6f29b2871539eab