# CVE-2026-64477: x86,fs/resctrl: Prevent out-of-bounds access while offlining CPU when SNC enabled

- Severity: High 7.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-07-25T08:51:39.558Z
- Modified: 2026-11-12T16:08:30.560Z
- Weaknesses: CWE-125
- Assigned by: Linux

## Description

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

x86,fs/resctrl: Prevent out-of-bounds access while offlining CPU when SNC enabled

The architecture updates the cpu_mask in a domain's header to track which
online CPUs are associated with the domain. When this mask becomes empty
the architecture initiates offline of the domain that includes calling
on resctrl fs to offline the domain. If it is a monitoring domain in
which LLC occupancy is tracked resctrl fs forces the limbo handler to
clear all busy RMID state associated with the domain.

The limbo handler always reads the current event value associated with a
busy RMID irrespective of it being checked as part of regular "is it still
busy" check or whether it will be forced released anyway. When reading an
RMID on a system with SNC enabled the "logical RMID" is converted to the
"physical RMID" and this conversion requires the NUMA node ID of the
resctrl monitoring domain that is in turn determined by querying the NUMA
node ID of any CPU belonging to the monitoring domain.

When the monitoring domain is going offline its cpu_mask is empty causing
the NUMA node ID query via cpu_to_node() to be done with "nr_cpu_ids" as
argument resulting in an out-of-bounds access.

Refactor the limbo handler to skip reading the RMID when the RMID will
just be forced to no longer be dirty in the domain anyway. Add a safety
check to the architecture's RMID reader to protect against this scenario.

(As written by CVE List.)

## Affected

- Linux Linux: from e13db55b5a0d447dea63cde772c1078405bbbf96 before ebc300b7ee0c669fa76a7a8858298ff32e296103; from e13db55b5a0d447dea63cde772c1078405bbbf96 before be1567992417dc92133e74126de7a6066c825ac9; from e13db55b5a0d447dea63cde772c1078405bbbf96 before 58c5ec23b1a238eb75cb0aba6f69d8f9e68ef0b2; from e13db55b5a0d447dea63cde772c1078405bbbf96 before fc16126cc11d9f507130bf84ab137ee0938c900e; 6.11 (not affected: before 6.11; from 6.12.96 up to 6.12.*; from 6.18.39 up to 6.18.*; from 7.1.4 up to 7.1.*; from 7.2 up to *)
- linux linux_kernel: from 6.11 before 6.12.96; from 6.13 before 6.18.39; from 6.19 before 7.1.4; 7.2

## References

- <https://git.kernel.org/stable/c/ebc300b7ee0c669fa76a7a8858298ff32e296103> (patch)
- <https://git.kernel.org/stable/c/be1567992417dc92133e74126de7a6066c825ac9> (patch)
- <https://git.kernel.org/stable/c/58c5ec23b1a238eb75cb0aba6f69d8f9e68ef0b2> (patch)
- <https://git.kernel.org/stable/c/fc16126cc11d9f507130bf84ab137ee0938c900e> (patch)

## Sources

- CVE List: [CVE-2026-64477](https://www.cve.org/CVERecord?id=CVE-2026-64477), CVE Terms of Use, modified 2026-08-17
- NVD: [CVE-2026-64477](https://nvd.nist.gov/vuln/detail/CVE-2026-64477), Public domain, modified 2026-11-12

---

Page: https://cve.day/CVE-2026-64477 · Whole record: https://cve.day/CVE-2026-64477.json · Rebuilt by cve.day 2026-11-25T22:59:30.139Z
