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 D9C56219A74 for ; Wed, 26 Feb 2025 02:24:22 +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=1740536662; cv=none; b=Wzo7XeBCjB3sKKoz8g9Loumodh8KW0WPhrgZnDxtKpGapYIfGb/WxjNOK508i+WAnzI3zKbuk0XMQ5bkfw3T9nmBIPH25Tw2A9XBNuvrXuYHfLmAnH82nm1MxQVkZq6gFFxPuoo/Ksaj9LSHTp0ao6JElGG3Iez04IincCNnOFc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740536662; c=relaxed/simple; bh=y+aSA7tRY0FVkUGPW4AgCUhMymUdQugVWdNxOA7JdDY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=MiN/NfTp/FathYGdJRgtcaZZQUsLFiAN5a03rBPlcev9N80DfsOJg5s06EXECiC4QZ1vLWQhrM091L4GqCFvYTHu8zw52nOJjRkAE92fZLwaVlUa6gOH5PdcgHq3rTVGjzgr7cQBj4ikfCyiILhPJllfygkXkssYCJrUx7PQY3s= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=2ontu9fB; 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="2ontu9fB" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AB15DC4CEE6; Wed, 26 Feb 2025 02:24:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740536662; bh=y+aSA7tRY0FVkUGPW4AgCUhMymUdQugVWdNxOA7JdDY=; h=From:To:Cc:Subject:Date:Reply-to:From; b=2ontu9fBbYNVRVaUY2mON+uSOpODcfxfmsY8wx0Tv82cEHKiP4z86GLb0cvGdZNVv oYtr1ViTPdxQRcOWG+H4C7H5GX6M0dROGliDYlc2BM8Ex2Xw5jwSrL0M8KKmAWGfN8 O7dPtpkeSwgRYfmdKLlNPFaWxIg7AMy9RnhwiPC4= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49588: tcp: Fix data-races around sysctl_tcp_migrate_req. Date: Wed, 26 Feb 2025 03:22:31 +0100 Message-ID: <2025022609-CVE-2022-49588-9a52@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=2192; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=y+aSA7tRY0FVkUGPW4AgCUhMymUdQugVWdNxOA7JdDY=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7qi7uqQrnsnJbouR18p1MXW7fbKNTd2d7L96jeOz+b 96sGC6bjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZiIbArDPNsrtsdUc04Hqnov 33PptSh72A5nL4YFC6o2r+FpLJvTHj27yCOlhm0Sa8syAA== 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: tcp: Fix data-races around sysctl_tcp_migrate_req. While reading sysctl_tcp_migrate_req, it can be changed concurrently. Thus, we need to add READ_ONCE() to its readers. The Linux kernel CVE team has assigned CVE-2022-49588 to this issue. Affected and fixed versions =========================== Issue introduced in 5.14 with commit f9ac779f881c2ec3d1cdcd7fa9d4f9442bf60e80 and fixed in 5.15.58 with commit fcf6c6d8aeffebca66f37b17ef1b57112e5e09c1 Issue introduced in 5.14 with commit f9ac779f881c2ec3d1cdcd7fa9d4f9442bf60e80 and fixed in 5.18.15 with commit 6e569a11eea20a1ccebc3c4e6366bf0574a449e1 Issue introduced in 5.14 with commit f9ac779f881c2ec3d1cdcd7fa9d4f9442bf60e80 and fixed in 5.19 with commit 4177f545895b1da08447a80692f30617154efa6e Issue introduced in 5.10.188 with commit cf6c06ac74879726c88fe1ec013727006cdbdd58 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-49588 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/core/sock_reuseport.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/fcf6c6d8aeffebca66f37b17ef1b57112e5e09c1 https://git.kernel.org/stable/c/6e569a11eea20a1ccebc3c4e6366bf0574a449e1 https://git.kernel.org/stable/c/4177f545895b1da08447a80692f30617154efa6e