CVE-2026-64476 (GCVE-0-2026-64476)

Vulnerability from cvelistv5 – Published: 2026-07-25 08:51 – Updated: 2026-07-25 08:51
VLAI
Title
vfio/pci: Latch disable_idle_d3 per device
Summary
In the Linux kernel, the following vulnerability has been resolved: vfio/pci: Latch disable_idle_d3 per device When disable_idle_d3 was introduced in vfio-pci, it directly manipulated the device power state with pci_set_power_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 disable_idle_d3 flag is latched into the vfio_pci_core_device at the time of initialization, such that the device always operates with a consistent value. NB. vfio_pci_dev_set_try_reset() now unconditionally raises the runtime PM usage count around bus reset to account for disable_idle_d3 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 vfio_pci_dev_set_pm_runtime_get() helper.
Severity
No CVSS data available.
Assigner
Impacted products
Vendor Product Version
Linux Linux Affected: 7ab5e10eda02da1d9562ffde562c51055d368e9c , < 332d785f9ae426eeeb92527872adf09d84101ba3 (git)
Affected: 7ab5e10eda02da1d9562ffde562c51055d368e9c , < 654710ef3135c4546b20a903bc23a51b0c44d6c8 (git)
Affected: 7ab5e10eda02da1d9562ffde562c51055d368e9c , < b98296816d31441b307ef9fa8670dcf5a55e5505 (git)
Affected: 7ab5e10eda02da1d9562ffde562c51055d368e9c , < f6c67cf0051f96ba61d186731d3d9409b9927db2 (git)
Affected: 7ab5e10eda02da1d9562ffde562c51055d368e9c , < 062b820290bcb9778e43a73597df76e9bb08acfb (git)
Affected: 7ab5e10eda02da1d9562ffde562c51055d368e9c , < 4575e9aac5336d1365138c0284773bf8da4b1fa3 (git)
Create a notification for this product.
Linux Linux Affected: 5.19
Unaffected: 0 , < 5.19 (semver)
Unaffected: 6.1.178 , ≤ 6.1.* (semver)
Unaffected: 6.6.145 , ≤ 6.6.* (semver)
Unaffected: 6.12.96 , ≤ 6.12.* (semver)
Unaffected: 6.18.39 , ≤ 6.18.* (semver)
Unaffected: 7.1.4 , ≤ 7.1.* (semver)
Unaffected: 7.2-rc2 , ≤ * (original_commit_for_fix)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/vfio/pci/vfio_pci_core.c",
            "include/linux/vfio_pci_core.h"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "332d785f9ae426eeeb92527872adf09d84101ba3",
              "status": "affected",
              "version": "7ab5e10eda02da1d9562ffde562c51055d368e9c",
              "versionType": "git"
            },
            {
              "lessThan": "654710ef3135c4546b20a903bc23a51b0c44d6c8",
              "status": "affected",
              "version": "7ab5e10eda02da1d9562ffde562c51055d368e9c",
              "versionType": "git"
            },
            {
              "lessThan": "b98296816d31441b307ef9fa8670dcf5a55e5505",
              "status": "affected",
              "version": "7ab5e10eda02da1d9562ffde562c51055d368e9c",
              "versionType": "git"
            },
            {
              "lessThan": "f6c67cf0051f96ba61d186731d3d9409b9927db2",
              "status": "affected",
              "version": "7ab5e10eda02da1d9562ffde562c51055d368e9c",
              "versionType": "git"
            },
            {
              "lessThan": "062b820290bcb9778e43a73597df76e9bb08acfb",
              "status": "affected",
              "version": "7ab5e10eda02da1d9562ffde562c51055d368e9c",
              "versionType": "git"
            },
            {
              "lessThan": "4575e9aac5336d1365138c0284773bf8da4b1fa3",
              "status": "affected",
              "version": "7ab5e10eda02da1d9562ffde562c51055d368e9c",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/vfio/pci/vfio_pci_core.c",
            "include/linux/vfio_pci_core.h"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.19"
            },
            {
              "lessThan": "5.19",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.178",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.145",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.96",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.39",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "7.1.*",
              "status": "unaffected",
              "version": "7.1.4",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.2-rc2",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.178",
                  "versionStartIncluding": "5.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.145",
                  "versionStartIncluding": "5.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.96",
                  "versionStartIncluding": "5.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.39",
                  "versionStartIncluding": "5.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.1.4",
                  "versionStartIncluding": "5.19",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.2-rc2",
                  "versionStartIncluding": "5.19",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nvfio/pci: Latch disable_idle_d3 per device\n\nWhen disable_idle_d3 was introduced in vfio-pci, it directly manipulated\nthe device power state with pci_set_power_state().  There were no\nrefcounts to maintain or balanced operations, we could unconditionally\nbring the device to D0 and conditionally move it to D3hot.  Therefore\nthe module parameter was made writable.\n\nLater, in commit c61302aa48f7 (\"vfio/pci: Move module parameters to\nvfio_pci.c\"), as part of the vfio-pci-core split, the writable aspect\nof the module parameter was nullified.  The parameter value could still\nbe changed through sysfs, but the vfio-pci driver latched the values\ninto vfio-pci-core globals at module init.  Loading the vfio-pci module,\nor unloading and reloading, with non-default or different values could\nchange the globals relative to existing devices bound to vfio-pci\nvariant drivers.\n\nRuntime PM was introduced in commit 7ab5e10eda02 (\"vfio/pci: Move the\nunused device into low power state with runtime PM\"), which marks the\npoint where power states became refcounted.  PM get and put operations\nneed to be balanced, but the same module operations noted above can\nchange the global variables relative to those devices already bound to\nvfio-pci variant drivers.  This introduces a window where PM operations\ncan now become unbalanced.\n\nTo resolve this with a narrow footprint for stable backports, the\ndisable_idle_d3 flag is latched into the vfio_pci_core_device at the\ntime of initialization, such that the device always operates with a\nconsistent value.\n\nNB. vfio_pci_dev_set_try_reset() now unconditionally raises the\nruntime PM usage count around bus reset to account for disable_idle_d3\nbecoming a per-device rather than global flag.  When this flag is set,\nthe additional get/put pair is harmless and allows continued use of the\nshared vfio_pci_dev_set_pm_runtime_get() helper."
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-07-25T08:51:38.865Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/332d785f9ae426eeeb92527872adf09d84101ba3"
        },
        {
          "url": "https://git.kernel.org/stable/c/654710ef3135c4546b20a903bc23a51b0c44d6c8"
        },
        {
          "url": "https://git.kernel.org/stable/c/b98296816d31441b307ef9fa8670dcf5a55e5505"
        },
        {
          "url": "https://git.kernel.org/stable/c/f6c67cf0051f96ba61d186731d3d9409b9927db2"
        },
        {
          "url": "https://git.kernel.org/stable/c/062b820290bcb9778e43a73597df76e9bb08acfb"
        },
        {
          "url": "https://git.kernel.org/stable/c/4575e9aac5336d1365138c0284773bf8da4b1fa3"
        }
      ],
      "title": "vfio/pci: Latch disable_idle_d3 per device",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-64476",
    "datePublished": "2026-07-25T08:51:38.865Z",
    "dateReserved": "2026-07-19T15:36:31.791Z",
    "dateUpdated": "2026-07-25T08:51:38.865Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-64476",
      "date": "2026-07-26",
      "epss": "0.0018",
      "percentile": "0.0788"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-64476\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2026-07-25T10:17:33.113\",\"lastModified\":\"2026-07-25T10:17:33.113\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nvfio/pci: Latch disable_idle_d3 per device\\n\\nWhen disable_idle_d3 was introduced in vfio-pci, it directly manipulated\\nthe device power state with pci_set_power_state().  There were no\\nrefcounts to maintain or balanced operations, we could unconditionally\\nbring the device to D0 and conditionally move it to D3hot.  Therefore\\nthe module parameter was made writable.\\n\\nLater, in commit c61302aa48f7 (\\\"vfio/pci: Move module parameters to\\nvfio_pci.c\\\"), as part of the vfio-pci-core split, the writable aspect\\nof the module parameter was nullified.  The parameter value could still\\nbe changed through sysfs, but the vfio-pci driver latched the values\\ninto vfio-pci-core globals at module init.  Loading the vfio-pci module,\\nor unloading and reloading, with non-default or different values could\\nchange the globals relative to existing devices bound to vfio-pci\\nvariant drivers.\\n\\nRuntime PM was introduced in commit 7ab5e10eda02 (\\\"vfio/pci: Move the\\nunused device into low power state with runtime PM\\\"), which marks the\\npoint where power states became refcounted.  PM get and put operations\\nneed to be balanced, but the same module operations noted above can\\nchange the global variables relative to those devices already bound to\\nvfio-pci variant drivers.  This introduces a window where PM operations\\ncan now become unbalanced.\\n\\nTo resolve this with a narrow footprint for stable backports, the\\ndisable_idle_d3 flag is latched into the vfio_pci_core_device at the\\ntime of initialization, such that the device always operates with a\\nconsistent value.\\n\\nNB. vfio_pci_dev_set_try_reset() now unconditionally raises the\\nruntime PM usage count around bus reset to account for disable_idle_d3\\nbecoming a per-device rather than global flag.  When this flag is set,\\nthe additional get/put pair is harmless and allows continued use of the\\nshared vfio_pci_dev_set_pm_runtime_get() helper.\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/vfio/pci/vfio_pci_core.c\",\"include/linux/vfio_pci_core.h\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"7ab5e10eda02da1d9562ffde562c51055d368e9c\",\"lessThan\":\"332d785f9ae426eeeb92527872adf09d84101ba3\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"7ab5e10eda02da1d9562ffde562c51055d368e9c\",\"lessThan\":\"654710ef3135c4546b20a903bc23a51b0c44d6c8\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"7ab5e10eda02da1d9562ffde562c51055d368e9c\",\"lessThan\":\"b98296816d31441b307ef9fa8670dcf5a55e5505\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"7ab5e10eda02da1d9562ffde562c51055d368e9c\",\"lessThan\":\"f6c67cf0051f96ba61d186731d3d9409b9927db2\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"7ab5e10eda02da1d9562ffde562c51055d368e9c\",\"lessThan\":\"062b820290bcb9778e43a73597df76e9bb08acfb\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"7ab5e10eda02da1d9562ffde562c51055d368e9c\",\"lessThan\":\"4575e9aac5336d1365138c0284773bf8da4b1fa3\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/vfio/pci/vfio_pci_core.c\",\"include/linux/vfio_pci_core.h\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"5.19\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"5.19\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.178\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.145\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.12.96\",\"lessThanOrEqual\":\"6.12.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.18.39\",\"lessThanOrEqual\":\"6.18.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.1.4\",\"lessThanOrEqual\":\"7.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"7.2-rc2\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/062b820290bcb9778e43a73597df76e9bb08acfb\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/332d785f9ae426eeeb92527872adf09d84101ba3\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/4575e9aac5336d1365138c0284773bf8da4b1fa3\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/654710ef3135c4546b20a903bc23a51b0c44d6c8\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b98296816d31441b307ef9fa8670dcf5a55e5505\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/f6c67cf0051f96ba61d186731d3d9409b9927db2\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}]}}",
    "suse_vex": {
      "aggregate_severity": "not set",
      "current_release_date": "2026-07-25T15:58:37Z",
      "cve": "CVE-2026-64476",
      "id": "CVE-2026-64476",
      "initial_release_date": "2026-07-25T15:58:37Z",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2026-64476",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2026-64476.json",
      "version": "2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…