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 2C15521A95D for ; Wed, 26 Feb 2025 02:24:39 +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=1740536679; cv=none; b=CQ20w126HyT6Nfm47RAfrtF5jHe3rECWxlrcKcLUE++ZDjNKTmxvqiKhn6KuGOMzfSBRKYev2vZgZiOpmgGxXVUsjMo2tmIw8t06xB1ocoO/Mn+XBVJqqrUqAOPD59dZ25zBHSTYR4PEGezig+NqnTpi24ZE9/1bcm1Go1vxoq0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740536679; c=relaxed/simple; bh=kYSKIB+ONzIqeJubZ9ReVtW/uDrrHW1Yu0Z+1DCg1ho=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=s/w4NiNzb6RmuM3+J6ppVvpH1GSS8qsiCHS5153KSnvrVQtRY5maeAzHfnQPf7t3znrLjDSD1tEewQv+gAk1aG0LjzBadW9fZ9NS/AH1plRCjI94+Y5bDtdg/BnKXJBhjHg1gYPwWeKz0g1xp4ptTAsLdcakWUX9rNe8W6Nvkzg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=iFObnhJm; 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="iFObnhJm" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 01A6FC4CEDD; Wed, 26 Feb 2025 02:24:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740536679; bh=kYSKIB+ONzIqeJubZ9ReVtW/uDrrHW1Yu0Z+1DCg1ho=; h=From:To:Cc:Subject:Date:Reply-to:From; b=iFObnhJmUKgq+ykceI8GT1mTDJg3qIn8uYDR76BgFZD7+h9H3JRhBrXnuewiY0rSo fcFwikGIu1ME2KH8YGN1i71jc1BYDNo/TE8extn3wJMN8Mo+0MrqVCQRUHXnoHnnE0 JLks7MrWTn/zjx85whrYiUroxrl7WO0MWFi4H4wA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49639: cipso: Fix data-races around sysctl. Date: Wed, 26 Feb 2025 03:23:22 +0100 Message-ID: <2025022618-CVE-2022-49639-a1b4@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=3300; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=kYSKIB+ONzIqeJubZ9ReVtW/uDrrHW1Yu0Z+1DCg1ho=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7qm5pvjwV8LzEw+/5h9M1Je7t8R2b9E7+cNqztu7C5 wX/5credcSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEPFcxLLgYdEe2OyOC9eNh oaJzpW4v7k8RXsow30c47Zm45QGd7b9fWZ7SORr86xTnagA= 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: cipso: Fix data-races around sysctl. While reading cipso sysctl variables, they can be changed concurrently. So, we need to add READ_ONCE() to avoid data-races. The Linux kernel CVE team has assigned CVE-2022-49639 to this issue. Affected and fixed versions =========================== Issue introduced in 2.6.19 with commit 446fda4f26822b2d42ab3396aafcedf38a9ff2b6 and fixed in 4.9.324 with commit 2764f82bbc158d106693ae3ced3675cf4b963b35 Issue introduced in 2.6.19 with commit 446fda4f26822b2d42ab3396aafcedf38a9ff2b6 and fixed in 4.14.289 with commit c321e99d2725d11f7e6a4ebd9ce752259f0bae81 Issue introduced in 2.6.19 with commit 446fda4f26822b2d42ab3396aafcedf38a9ff2b6 and fixed in 4.19.253 with commit ca26ca5e2f3eeb3e6fe699cd6effa3b4b2aa8698 Issue introduced in 2.6.19 with commit 446fda4f26822b2d42ab3396aafcedf38a9ff2b6 and fixed in 5.4.207 with commit 0e41a0f73ccb9be112a80bde3804a771633caaef Issue introduced in 2.6.19 with commit 446fda4f26822b2d42ab3396aafcedf38a9ff2b6 and fixed in 5.10.132 with commit fe2a35fa2c4f9c8ce5ef970eb927031387f9446a Issue introduced in 2.6.19 with commit 446fda4f26822b2d42ab3396aafcedf38a9ff2b6 and fixed in 5.15.56 with commit 07b0caf8aeb9b82e6ecc6c292a3e47c7fcdb1148 Issue introduced in 2.6.19 with commit 446fda4f26822b2d42ab3396aafcedf38a9ff2b6 and fixed in 5.18.13 with commit 59e26906b89cc35bb54476498772b45cbc32323f Issue introduced in 2.6.19 with commit 446fda4f26822b2d42ab3396aafcedf38a9ff2b6 and fixed in 5.19 with commit dd44f04b9214adb68ef5684ae87a81ba03632250 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-49639 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: Documentation/networking/ip-sysctl.rst net/ipv4/cipso_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/2764f82bbc158d106693ae3ced3675cf4b963b35 https://git.kernel.org/stable/c/c321e99d2725d11f7e6a4ebd9ce752259f0bae81 https://git.kernel.org/stable/c/ca26ca5e2f3eeb3e6fe699cd6effa3b4b2aa8698 https://git.kernel.org/stable/c/0e41a0f73ccb9be112a80bde3804a771633caaef https://git.kernel.org/stable/c/fe2a35fa2c4f9c8ce5ef970eb927031387f9446a https://git.kernel.org/stable/c/07b0caf8aeb9b82e6ecc6c292a3e47c7fcdb1148 https://git.kernel.org/stable/c/59e26906b89cc35bb54476498772b45cbc32323f https://git.kernel.org/stable/c/dd44f04b9214adb68ef5684ae87a81ba03632250