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 38AE8219A81 for ; Wed, 26 Feb 2025 02:24:15 +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=1740536655; cv=none; b=dhvdgWWWg6u0/4qJBk9QJdb+m2F00fSgrU3G450tD2kDftUykd3SsF1Y8SncI5Eaa5ypIjaNqhPNINxh0bset2St48A0FDhW8DGy4zHrxQMwzicoMZ7ToHaok7/+4PV4ZW+ye8cGoyBiu5FagqAbxuCf8ndjCWWVptlIUjZa62I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740536655; c=relaxed/simple; bh=4br4ufrcMlHTDMs6dDtMA3H5aVNjKTksjeg7diGQg/g=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ew+N/5tJ0lJDCIk1585OALYkHFD4tP3DZksiPGA3klezxQtHGcBnpkTTBmFBrRcbHrk1Gu8bClso9OCo7x4tHKZp/D17XMapyA302qHLOdR0l1DYqlpSpd30hW4I68pJ9Xl+rwmqa9i1KZqWshS6uf38bKNMvLfFgG/fpy71Wxw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=o1tpkaoM; 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="o1tpkaoM" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 055ABC4CEDD; Wed, 26 Feb 2025 02:24:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740536655; bh=4br4ufrcMlHTDMs6dDtMA3H5aVNjKTksjeg7diGQg/g=; h=From:To:Cc:Subject:Date:Reply-to:From; b=o1tpkaoMsUqLKuVbn31MEL4Cjy0m+nrJyyMWhqOp+VFB+nhtjADpMZTbw2pyDKemP nG4+4Ch1ju1j9I7r1idgnCJmTEYYza8wBeWEq9eZ+f9h+KQPAS0s2nfndzA5DPTwYp ZgTyzpyrgewfY8xRO9bVrQIV9xiMjyPUVFVHzzyY= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49587: tcp: Fix a data-race around sysctl_tcp_notsent_lowat. Date: Wed, 26 Feb 2025 03:22:30 +0100 Message-ID: <2025022609-CVE-2022-49587-33ba@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=3252; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=4br4ufrcMlHTDMs6dDtMA3H5aVNjKTksjeg7diGQg/g=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7qi5OfOQ44a8FL/usJV7T7/xe8cR34xm/SOULKy962 v8x3rTjW0csC4MgE4OsmCLLl208R/dXHFL0MrQ9DTOHlQlkCAMXpwBMpCuBYb5X45V9TtEnjgqF /tjId9Qin82tei/DfMf6tiumgrNXnCgT1Kk7HMLllqmcCwA= 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 a data-race around sysctl_tcp_notsent_lowat. While reading sysctl_tcp_notsent_lowat, it can be changed concurrently. Thus, we need to add READ_ONCE() to its reader. The Linux kernel CVE team has assigned CVE-2022-49587 to this issue. Affected and fixed versions =========================== Issue introduced in 3.12 with commit c9bee3b7fdecb0c1d070c7b54113b3bdfb9a3d36 and fixed in 4.9.325 with commit 91e21df688f8a75255ca9c459da39ac96300113a Issue introduced in 3.12 with commit c9bee3b7fdecb0c1d070c7b54113b3bdfb9a3d36 and fixed in 4.14.290 with commit c1b85c5a34294f7444c13bf828e0e84b0a0eed85 Issue introduced in 3.12 with commit c9bee3b7fdecb0c1d070c7b54113b3bdfb9a3d36 and fixed in 4.19.254 with commit 0f75343584ee474303e17efe0610bdd170af1d13 Issue introduced in 3.12 with commit c9bee3b7fdecb0c1d070c7b54113b3bdfb9a3d36 and fixed in 5.4.208 with commit e9362a993886613ef0284c2a4911c6017c97d803 Issue introduced in 3.12 with commit c9bee3b7fdecb0c1d070c7b54113b3bdfb9a3d36 and fixed in 5.10.134 with commit fd6f1284e380c377932186042ff0b5c987fb2b92 Issue introduced in 3.12 with commit c9bee3b7fdecb0c1d070c7b54113b3bdfb9a3d36 and fixed in 5.15.58 with commit 80d4d0c461674eea87f0977e12a2ecd334b9b79c Issue introduced in 3.12 with commit c9bee3b7fdecb0c1d070c7b54113b3bdfb9a3d36 and fixed in 5.18.15 with commit 62e56cfeb2ae4b53ae9ca24c80f54093250ce64a Issue introduced in 3.12 with commit c9bee3b7fdecb0c1d070c7b54113b3bdfb9a3d36 and fixed in 5.19 with commit 55be873695ed8912eb77ff46d1d1cadf028bd0f3 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-49587 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: include/net/tcp.h 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/91e21df688f8a75255ca9c459da39ac96300113a https://git.kernel.org/stable/c/c1b85c5a34294f7444c13bf828e0e84b0a0eed85 https://git.kernel.org/stable/c/0f75343584ee474303e17efe0610bdd170af1d13 https://git.kernel.org/stable/c/e9362a993886613ef0284c2a4911c6017c97d803 https://git.kernel.org/stable/c/fd6f1284e380c377932186042ff0b5c987fb2b92 https://git.kernel.org/stable/c/80d4d0c461674eea87f0977e12a2ecd334b9b79c https://git.kernel.org/stable/c/62e56cfeb2ae4b53ae9ca24c80f54093250ce64a https://git.kernel.org/stable/c/55be873695ed8912eb77ff46d1d1cadf028bd0f3