CVE-2026-64477

Source
https://cve.org/CVERecord?id=CVE-2026-64477
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64477.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-64477
Downstream
Published
2026-07-25T08:51:39.558Z
Modified
2026-07-27T04:03:22.644229754Z
Summary
x86,fs/resctrl: Prevent out-of-bounds access while offlining CPU when SNC enabled
Details

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 cpumask is empty causing the NUMA node ID query via cputonode() to be done with "nrcpu_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.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64477.json"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
e13db55b5a0d447dea63cde772c1078405bbbf96
Fixed
ebc300b7ee0c669fa76a7a8858298ff32e296103
Fixed
be1567992417dc92133e74126de7a6066c825ac9
Fixed
58c5ec23b1a238eb75cb0aba6f69d8f9e68ef0b2
Fixed
fc16126cc11d9f507130bf84ab137ee0938c900e

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64477.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.11.0
Fixed
6.12.96
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.39
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
7.1.4

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64477.json"