CVE-2026-64476

Source
https://cve.org/CVERecord?id=CVE-2026-64476
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-64476.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-64476
Downstream
Published
2026-07-25T08:51:38.865Z
Modified
2026-07-27T04:03:22.399505956Z
Summary
vfio/pci: Latch disable_idle_d3 per device
Details

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

vfio/pci: Latch disableidled3 per device

When disableidled3 was introduced in vfio-pci, it directly manipulated the device power state with pcisetpower_state(). There were no refcounts to maintain or balanced operations, we could unconditionally bring the device to D0 and conditionally move it to D3hot. Therefore the module parameter was made writable.

Later, in commit c61302aa48f7 ("vfio/pci: Move module parameters to vfio_pci.c"), as part of the vfio-pci-core split, the writable aspect of the module parameter was nullified. The parameter value could still be changed through sysfs, but the vfio-pci driver latched the values into vfio-pci-core globals at module init. Loading the vfio-pci module, or unloading and reloading, with non-default or different values could change the globals relative to existing devices bound to vfio-pci variant drivers.

Runtime PM was introduced in commit 7ab5e10eda02 ("vfio/pci: Move the unused device into low power state with runtime PM"), which marks the point where power states became refcounted. PM get and put operations need to be balanced, but the same module operations noted above can change the global variables relative to those devices already bound to vfio-pci variant drivers. This introduces a window where PM operations can now become unbalanced.

To resolve this with a narrow footprint for stable backports, the disableidled3 flag is latched into the vfiopcicore_device at the time of initialization, such that the device always operates with a consistent value.

NB. vfiopcidevsettryreset() now unconditionally raises the runtime PM usage count around bus reset to account for disableidled3 becoming a per-device rather than global flag. When this flag is set, the additional get/put pair is harmless and allows continued use of the shared vfiopcidevsetpmruntime_get() helper.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/64xxx/CVE-2026-64476.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
7ab5e10eda02da1d9562ffde562c51055d368e9c
Fixed
332d785f9ae426eeeb92527872adf09d84101ba3
Fixed
654710ef3135c4546b20a903bc23a51b0c44d6c8
Fixed
b98296816d31441b307ef9fa8670dcf5a55e5505
Fixed
f6c67cf0051f96ba61d186731d3d9409b9927db2
Fixed
062b820290bcb9778e43a73597df76e9bb08acfb
Fixed
4575e9aac5336d1365138c0284773bf8da4b1fa3

Database specific

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

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
5.19.0
Fixed
6.1.178
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.145
Type
ECOSYSTEM
Events
Introduced
6.7.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-64476.json"