Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=100.103.45.18 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1792758548; b=kdvpriMlnHgIezbo3wi0d73f/Of7NJyZCqvo++7FZ3bYg9eESzsu+wPWSyCDWViuvuBH oCtB1AoAzRZ3Y2rAn6uUmqfikpoDG/ijPlqkmdeBix/mQ1+7OvaEDnSRQWeGb84ekfNY0 fAkH70Em+fyf60u/Ze9xD1A6DACS4YTigzXgSL6DzMlnOFxtOuQwkcAPQ2QgTe1vmGVRm o+BDlz4UTaVJXl7vJ6RleJb94nWL4q5CP1wTTtjqibbJCHH7cfyaqyX7ZrNT7RAm3wAwE D6QGjZTX04gRj+QIVrdcEYYO7z7+0Fp9yQeOwt3MWhKadq0GAhs9JRDtXi1Fy+txY7Q== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792758548; h=Received:DKIM-Signature:From:To:Cc:Subject:Date:Message-ID:X-Mailer: Reply-To:MIME-Version:Lines:X-Developer-Signature:X-Developer-Key: Content-Transfer-Encoding; bh=0GlOCjna1tRJd+lsCty3LFtQu5eGpL46rxDrmfs32ok=; b=n2ny2bdtDxxcFOWlL2wh0L64gFDsgZYeMpbMWA1ubcLTim0Xdh32DLSQVQdx04UEQXKL 8XVKxReIC253dDPLqhUPYYGsQfNbNrw2z7d4/ArSV7TqStStH8i2eYmQPLcnF+HzdqvgV BImFOOkgFrMb26dA04bw/2pIHFokAlQ638g/ZVd7sUj119Lr11CaiEZK/6kC9Olx3Z5Nq YilyzWnFz8O6wpXIjikHZdLCFIzDfuOW0ZdIEeFlX1OLErfCvRfm36j3x7yqlT+KWcCsn 2Kgaz2DaTt0YwV28NNgyk/BABhnvaBnPuLUTZnIfJQJe892IkMjPWuzNvjwQBvlhX+A== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=oMPWxeRf; arc=none smtp.remote-ip=100.103.45.18 Received: from smtp.kernel.org (quasi.space.kernel.org [100.103.45.18]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 1356E606A31B for ; Fri, 23 Oct 2026 12:29:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=oMPWxeRf Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2DACE1F031E0; Fri, 23 Oct 2026 12:29:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792758547; bh=0GlOCjna1tRJd+lsCty3LFtQu5eGpL46rxDrmfs32ok=; h=From:To:Cc:Subject:Date:Reply-To; b=oMPWxeRfTmbETyFFoEEiXVVHlNiCztutc4mqiJr/FbrXg3O3Pn/uzYWBtIlVo5NaS cO6eIA1Z6KP9yFMxp0jxBo1D5wgdxFFTHw8drdaOpc/Ljzp1lGYeclRMdA/9Wm2UdC XqljE+r+/3IElfudpEGvt0fb0fj8ZfkmuCYWE7Vk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98972: cgroup/cpuset: Don't access cpuset_cgrp_subsys.root in is_in_v2_mode() Date: Fri, 23 Oct 2026 14:19:34 +0200 Message-ID: <2026102311-CVE-2026-98972-8bb9@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2452; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=9IcADCACjxx7z9LS6FEtrOMcj3s5iasENAfNLyYO2PI=; b=owGbwMvMwCRo6H6F97bub03G02pJDFm3A/anfJ9blOBly3Ds2Z63c4uaE5RfbRD3P8Zy73mGp J5GbPjdjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhIsAXDbFbWC683G978auTS G/3obZjFtS/T9zMs2JEX/ut84uXsA8nLpgX4P4i6dXazNAA= 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: cgroup/cpuset: Don't access cpuset_cgrp_subsys.root in is_in_v2_mode() After seeing the patch [1] to guard is_in_v2_mode() with RCU, it makes me realize that is_in_v2_mode() may be called in a context where a new cgroup filesystem is being rebound with stale cpuset_cgrp_subsys.root pointer. Avoid this potential UaF situation by adding a new cpuset_v2_mode flag which is set when the cpuset_v2_mode mount option is used. This flag is written into only when cpuset_bind() is being called with a stable cpuset_cgrp_subsys.root value. The is_in_v2_mode() helper is modified to read the new cpuset_v2_mode flag instead of accessing cpuset_cgrp_subsys.root directly. [1] https://lore.kernel.org/lkml/20260929084124.626693-2-arighi@nvidia.com The Linux kernel CVE team has assigned CVE-2026-98972 to this issue. Affected and fixed versions =========================== Issue introduced in 4.14 with commit b8d1b8ee93df8ffbabbeadd65d39853cfad6d698 and fixed in 7.2.11 with commit 988bf67a13890a37a33201f95947095ca9bec856 Issue introduced in 4.14 with commit b8d1b8ee93df8ffbabbeadd65d39853cfad6d698 and fixed in 7.3 with commit e06b678e3b4e12fdaa0b51a7a5a54abc5dbd6469 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-2026-98972 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: kernel/cgroup/cpuset.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/988bf67a13890a37a33201f95947095ca9bec856 https://git.kernel.org/stable/c/e06b678e3b4e12fdaa0b51a7a5a54abc5dbd6469