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=1792759322; b=jqbVMhkqmEZtKkfrmXDrrVMnrAD5X/IJ7NQMY5L2Nh6CVWdM/Y+i2qJLwfCu6097Q/wL zIpurntekhmAWR7IryiP0eBL+0hS8jcg7pi+S9W0hRClnTjAY930PnBiUWSJNIe835UEY poNobCBGFcDKR4jCwBZV+qt8TtvxKcwu1ICncoyLDnDw6o9JyJ9aSj0BXeY+ZKLWQzffX feE9rqJhXQ4fXJqtyJJZHdpZZyNYMbAmCgfgOTBeSwOdWG/gqUYPTn/UYrMdaW8DI6tOM S1qgFl0RnaP4xgd9YhnBo81LK7XGfatcOqSSUY6981Q0nQXmXpUV5CoSlCHMzWxBpoQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1792759322; 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=iAKOAutZBJkvkvbhrHh3embv038wiTDEDNRY5O1hzYk=; b=T9KqhLaJYOA0YjKshkI6i40fkykW0b1IG0ygMP8zrr9QITlCSLqkha/lSculOJlr0dw1 aybKyzpmkho5pU/L00b5lD4AO3mv7s5hUC6dyyJgGB57ZRCkYBH7fAowLJ+upwFT3JLM/ +S7Z/y7AYVcsUiwcJxgR7lYD2aPbOnLuNpDZSnx7soFMbSdUu45E6H57rUXtvQ1HNgwZj CnzbLy+KGktRlsea0jENeYkN7X4Ue9qKdtSacjIQFbMENtaOM21ztUqMVU08FcdvqJjDs Vtpe49hcbvbjLXNbUhTV69yhBhAcaJ+1CuEGiNDD/Lyjb90kWB/w2Ije9hM7KPWiHbw== 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=fMaYabRD; 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 17C3C606A31B for ; Fri, 23 Oct 2026 12:42:02 +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=fMaYabRD Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2EF7B1F01825; Fri, 23 Oct 2026 12:41:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792759321; bh=iAKOAutZBJkvkvbhrHh3embv038wiTDEDNRY5O1hzYk=; h=From:To:Cc:Subject:Date:Reply-To; b=fMaYabRDrkl+8MKA9tu3sh4xvObR1j6csFuxDZiUkhmWWMzEGAnqXzltMAlbLmbcG BioXuS4TBPwqF1+8iejWKmNzlFHJBgvjJCI4viTqHD6djSuRxNPRuXkCvZ/GY60BKI 3rhHUn4jSzp6t/cx3XiBl069JONXb/q5JCmJB7Pw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-99065: cgroup/cpuset: Handle cpu hotplug race in guarantee_active_cpus() Date: Fri, 23 Oct 2026 14:21:07 +0200 Message-ID: <2026102332-CVE-2026-99065-af05@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=3303; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=sOqJXqbJD+7w1mKwJHZ0CjLYQydtD/BvB4Sw0+nSeFM=; b=owGbwMvMwCRo6H6F97bub03G02pJDFm3A64EZqjEcb7Om6eZnLZF+medqUyQ/j3DYzvOpkYvm 5S5zGBVRywLgyATg6yYIsuXbTxH91ccUvQytD0NM4eVCWQIAxenAEykVpBhvt/+7XaaUjf39vF0 1Xcv2rpkP9+sfIb5zt9dbZs2mK4J3bX6SkvzyzPzM1WXAQA= 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: Handle cpu hotplug race in guarantee_active_cpus() With commit 2125c0034c5d ("cgroup/cpuset: Make cpuset hotplug processing synchronous"), the cpuset hotplug operation becomes synchronous. That commit also removes the code that handles race between cpuset_hotplug_work and cpu hotplug notifier with the assumption that race is now gone. Later commit 7a0aabd9ce69 ("cgroup/cpuset: Always use cpu_active_mask") updates the cpuset code to always use cpu_active_mask instead of cpu_online_mask in some places including guarantee_online_cpus() which is renamed to guarantee_active_cpus() in that commit. In the case of CPU offline operation, cpu_active_mask is updated first in sched_cpu_deactivate() to remove the offline CPU before cpuset_handle_hotplug() is called to update the effective_cpus of the affected cpusets. The cpu_online_mask is updated after that near the end of the offline operation to remove the offline CPU. As a result, the race comes back and the top cpuset may not have any active CPU leading to NULL pointer dereference during the race window when guarantee_active_cpus() is called after cpu_active_mask is updated to remove the CPU to be torn down but before cpuset_handle_hotplug() is able to properly update the effective_cpus of the top cpuset. Fix this by adding back the NULL cs check to avoid this problem. The Linux kernel CVE team has assigned CVE-2026-99065 to this issue. Affected and fixed versions =========================== Issue introduced in 6.16 with commit 7a0aabd9ce697fc581ec691b21f748050fbcf004 and fixed in 6.18.57 with commit 8d88d3221204fbb1b6dc2c0f2f2181fe49126639 Issue introduced in 6.16 with commit 7a0aabd9ce697fc581ec691b21f748050fbcf004 and fixed in 7.2.11 with commit a21c255159bfe0034740292e10d2e258feeeb10d Issue introduced in 6.16 with commit 7a0aabd9ce697fc581ec691b21f748050fbcf004 and fixed in 7.3 with commit 23b1ab15ca91f2cffaf149d9bb0fafeb700c7db2 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-99065 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/8d88d3221204fbb1b6dc2c0f2f2181fe49126639 https://git.kernel.org/stable/c/a21c255159bfe0034740292e10d2e258feeeb10d https://git.kernel.org/stable/c/23b1ab15ca91f2cffaf149d9bb0fafeb700c7db2