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 1F0713370EA for ; Wed, 24 Dec 2025 13:07:34 +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=1766581655; cv=none; b=nLZaNB2d8OKoGDFzAEpvbFc1FJSFKAquB2BxFCAoT7KyXNKUfWQ2UM/4AZtcTReaW01U6LkICenK4URzBB0RvlGhzYxxViAiqKrY9OftDhV8BmM9OyUNijzHrPxSDTwlL7Vn3EGTFkQKzZwC4XcMFGNR/bZTOQR4Tdn7wyV10ys= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766581655; c=relaxed/simple; bh=2z7//LGhxNglQ1X3WSNwHjg24ODvOsI99UChaLb1K5U=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=j1tcIBvD0DohdlkTN7zjl6HC8NEsBdw7056kXZHP+3ZKa7FKQjm5BvDXR3wbQYIxs56Ylbg/Pn7ZFKPq43mplOqhC4GJzx2/K/qM9rUIV5lPv0Q0btmBJSoKd6WxZYi3qAkAmL/idB0xDp1xtqdn04/Osx0xdLPH5US3I+/SaFM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=FmOSXPRQ; 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="FmOSXPRQ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5155DC116D0; Wed, 24 Dec 2025 13:07:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1766581654; bh=2z7//LGhxNglQ1X3WSNwHjg24ODvOsI99UChaLb1K5U=; h=From:To:Cc:Subject:Date:Reply-To:From; b=FmOSXPRQpjlrUqM7HoOtKh1cpk+KWOSXYjnoscbSyQ+5W1dbyDvF4AMsUx/WHALGF SbBvC+P88EUVibvvd868TdyvY7AXk10wRp9LLQIyzj7MlvBmvrYhX+7qEP+xjWnnSc T8qvr2pgWmTdT7ChJEGj2drIBXUNIwItlubtvMV0= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50764: ipv6/sit: use DEV_STATS_INC() to avoid data-races Date: Wed, 24 Dec 2025 14:06:15 +0100 Message-ID: <2025122456-CVE-2022-50764-45eb@gregkh> X-Mailer: git-send-email 2.52.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2153; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=EpTeMcnYExOJw7HOuWkFg+kiUDfklx29EiG7tSkkPH0=; b=owGbwMvMwCRo6H6F97bub03G02pJDJneT03EX83yyPsat9uptLIsxegCm8lcYXdX5pW/5FeZK IZahv7viGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgIkYWTEsmHgheqqmdJDI5w8v JGRL9ilJ7T4cxDA/QatquelD9dCS9cJ1QmcbH36PjTwEAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman Description =========== In the Linux kernel, the following vulnerability has been resolved: ipv6/sit: use DEV_STATS_INC() to avoid data-races syzbot/KCSAN reported that multiple cpus are updating dev->stats.tx_error concurrently. This is because sit tunnels are NETIF_F_LLTX, meaning their ndo_start_xmit() is not protected by a spinlock. While original KCSAN report was about tx path, rx path has the same issue. The Linux kernel CVE team has assigned CVE-2022-50764 to this issue. Affected and fixed versions =========================== Fixed in 5.15.86 with commit 222cc04356984f3f98acfa756a69d4bed7c501ac Fixed in 6.0.16 with commit 4eed93bb3e57b8cc78d17166a14e40a73276015a Fixed in 6.1.2 with commit 207501a986831174df09a36a8cb62a28f92f0dc8 Fixed in 6.2 with commit cb34b7cf17ecf33499c9298943f85af247abc1e9 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-50764 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/ipv6/sit.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/222cc04356984f3f98acfa756a69d4bed7c501ac https://git.kernel.org/stable/c/4eed93bb3e57b8cc78d17166a14e40a73276015a https://git.kernel.org/stable/c/207501a986831174df09a36a8cb62a28f92f0dc8 https://git.kernel.org/stable/c/cb34b7cf17ecf33499c9298943f85af247abc1e9