Description
In the Linux kernel, the following vulnerability has been resolved:

fs/resctrl: Fix UAF from worker threads when domains are removed

The mbm_handle_overflow() and cqm_handle_limbo() workers read event counters
and may sleep while doing so. They are scheduled via delayed_work embedded in
struct rdt_l3_mon_domain. Architecture allocates and frees these domains from
CPU hotplug callbacks under cpus_write_lock(), and the workers acquire
cpus_read_lock() to keep the domain alive across their access.

A use-after-free can occur when a worker is blocked waiting for
cpus_read_lock() while the hotplug core holds cpus_write_lock(): the
architecture frees the rdt_l3_mon_domain that contains the worker's
work_struct. When the worker unblocks, the container_of() it performs on the
embedded work pointer dereferences freed memory.

Drop cpus_read_lock() from the workers and instead drain pending and in-flight
work synchronously before the architecture can free the domain. Since
architecture offlines the domain under cpus_write_lock() after it has been
unlinked from the RCU list and a grace period has elapsed, no new work can be
scheduled. The cancel only needs to wait out existing work. Drop
rdtgroup_mutex during CPU offline around cancel_delayed_work_sync() so that
a worker waiting on the mutex can complete before re-pinning the work on
a different CPU.

When offlining a CPU the architecture may iterate over resources in any order.
For example, the MBA control domain may be offlined before or after
a corresponding L3 monitor domain. Ensure that resctrl fs cancels the workers
no matter what order the architecture offlines the domains.
Published: 2026-09-17
Score: n/a
EPSS: < 1% Very Low
KEV: No
Impact: Privilege Escalation
Action: Immediate Patch
AI Analysis

Impact

A use‑after‑free can occur in the Linux kernel when domain workers in the resctrl filesystem read event counters while the domain is being removed during CPU hotplug. The workers acquire a read lock, then the architecture releases a write lock and frees the domain, causing the worker’s container_of() dereference to free memory. This kernel‑space memory corruption could allow an attacker to corrupt data or execute arbitrary code, potentially leading to privilege escalation.

Affected Systems

Linux kernel, all configurations that enable the resctrl filesystem and CPU hotplug, regardless of distribution. The vulnerability affects any kernel that has not yet integrated the fix posted to the stable kernel tree via the git URLs provided. No specific version numbers are listed, so any in‑flight (unstable) kernel or kernels built from source that omit the update are susceptible.

Risk and Exploitability

The CVSS score is not supplied, but the use‑after‑free in privileged kernel code is a high‑severity flaw. The EPSS score is below 1% and the vulnerability is not listed in CISA’s KEV catalog, suggesting a low current exploitation probability. However, given the kernel context, a local attacker with sufficient privileges to manipulate CPU hotplug or resctrl domains could potentially trigger the flaw, leading to a kernel crash or privilege escalation. The likely attack vector is local with privileged access, requiring the attacker to initiate domain removal or CPU unplug events. Overall, the risk remains significant as the flaw provides a kernel exploitation surface.

Generated by OpenCVE AI on September 19, 2026 at 09:04 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Install a kernel version that contains the resctrl use‑after‑free fix. If your distribution does not yet provide the updated kernel, apply the patch commits from the advisory URLs to your kernel source, rebuild, and install.
  • As a temporary measure, disable the resctrl filesystem or prevent domain offlining by removing the `/sys/fs/resctrl` mount or setting kernel parameters to block CPU hotplug. This limits the ability of the workers to access freed memory.
  • If disabling resctrl is not feasible, consider locking the affected domains so they cannot be offlined. Patch the kernel locally to apply the drain‑in‑flight‑work and remove‑cpus_read_lock changes illustrated in the advisory.

Generated by OpenCVE AI on September 19, 2026 at 09:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 19 Sep 2026 09:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Thu, 17 Sep 2026 16:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: fs/resctrl: Fix UAF from worker threads when domains are removed The mbm_handle_overflow() and cqm_handle_limbo() workers read event counters and may sleep while doing so. They are scheduled via delayed_work embedded in struct rdt_l3_mon_domain. Architecture allocates and frees these domains from CPU hotplug callbacks under cpus_write_lock(), and the workers acquire cpus_read_lock() to keep the domain alive across their access. A use-after-free can occur when a worker is blocked waiting for cpus_read_lock() while the hotplug core holds cpus_write_lock(): the architecture frees the rdt_l3_mon_domain that contains the worker's work_struct. When the worker unblocks, the container_of() it performs on the embedded work pointer dereferences freed memory. Drop cpus_read_lock() from the workers and instead drain pending and in-flight work synchronously before the architecture can free the domain. Since architecture offlines the domain under cpus_write_lock() after it has been unlinked from the RCU list and a grace period has elapsed, no new work can be scheduled. The cancel only needs to wait out existing work. Drop rdtgroup_mutex during CPU offline around cancel_delayed_work_sync() so that a worker waiting on the mutex can complete before re-pinning the work on a different CPU. When offlining a CPU the architecture may iterate over resources in any order. For example, the MBA control domain may be offlined before or after a corresponding L3 monitor domain. Ensure that resctrl fs cancels the workers no matter what order the architecture offlines the domains.
Title fs/resctrl: Fix UAF from worker threads when domains are removed
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-09-17T16:11:12.373Z

Reserved: 2026-09-17T16:02:15.084Z

Link: CVE-2026-93099

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-09-17T17:18:04.110

Modified: 2026-09-17T17:18:04.110

Link: CVE-2026-93099

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-20T05:15:16Z

Weaknesses