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.
Published: 2026-10-23
Score: n/a
EPSS: n/a
KEV: No
Impact: Kernel crash (Denial of Service)
Action: Apply Patch
AI Analysis

Impact

The vulnerability arises from a race condition in the Linux kernel’s cpuset subsystem during CPU hotplug operations. When a CPU is taken offline, the kernel updates cpu_active_mask before synchronously notifying the cpuset subsystem, potentially allowing a top-level cpuset to have no active CPUs. This creates a window where guarantee_active_cpus() dereferences a null pointer, leading to a kernel panic and system crash. The weakness manifests as a race condition and null pointer dereference, which can be triggered by privileged users initiating CPU hotplug actions.

Affected Systems

All Linux kernel builds that do not contain the patch commit 2125c0034c5d or its successor 7a0aabd9ce69 are affected. The vulnerability applies to the generic Linux:Linux product defined by the CPE cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*.* It does not have a specific version range listed in the data, so any kernel version prior to the aforementioned commits is potentially vulnerable.

Risk and Exploitability

The EPSS score is not available and the vulnerability is not listed in the CISA KEV catalog, indicating that it may not be actively exploited yet. However, the impact of a kernel panic is severe and the race condition requires only a CPU hotplug event, which can be performed by any user with the ability to administratively online/offline CPUs. The required prerequisites are local kernel access and the ability to trigger hotplugging, so the attack vector is most likely local. Given the lack of active exploitation data and the high severity of a crash, the overall risk is moderate to high, warranting prompt patching.

Generated by OpenCVE AI on October 23, 2026 at 15:43 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the fix for the volatile cpu hotplug race (gen=commit 2125c0034c5d and 7a0aabd9ce69).
  • If the patch is not immediately available, disable cpuset support (CONFIG_CPUSETS=n) or unload the cpuset module to eliminate the race surface.
  • Restrict or disable CPU hotplug operations for regular users, or schedule hotplug actions during maintenance windows when no critical cpusets are active.

Generated by OpenCVE AI on October 23, 2026 at 15:43 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 23 Oct 2026 16:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-362
CWE-476

Fri, 23 Oct 2026 12:45:00 +0000

Type Values Removed Values Added
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.
Title cgroup/cpuset: Handle cpu hotplug race in guarantee_active_cpus()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-23T12:23:08.458Z

Reserved: 2026-09-25T10:25:14.389Z

Link: CVE-2026-99065

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-23T13:17:30.367

Modified: 2026-10-23T13:17:30.367

Link: CVE-2026-99065

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-23T15:45:16Z

Weaknesses
  • CWE-362

    Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

  • CWE-476

    NULL Pointer Dereference