Skip to content
Heist/ feed
Unrated

vfio/pci: Disable auto-enable of exclusive INTx IRQ

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: vfio/pci: Disable auto-enable of exclusive INTx IRQ Currently for devices requiring masking at the irqchip for INTx, ie. devices without DisINTx support, the IRQ is enabled in request_irq() and subsequently disabled as necessary to align with the masked status flag. This presents a window where the interrupt could fire between these events, resulting in the IRQ incrementing the disable depth twice. This would be unrecoverable for a user since the masked flag prevents nested enables through vfio. Instead, invert the logic using IRQF_NO_AUTOEN such that exclusive INTx is never auto-enabled, then unmask as required.

Announced Source revision 1
Original source ↗

CVE-2024-27437

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2024-27437

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "89e1f7d4c66d85f42c3d52ea3866eb10cadf6153",
        "lessThan": "26389925d6c2126fb777821a0a983adca7ee6351",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "89e1f7d4c66d85f42c3d52ea3866eb10cadf6153",
        "lessThan": "561d5e1998d58b54ce2bbbb3e843b669aa0b3db5",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "89e1f7d4c66d85f42c3d52ea3866eb10cadf6153",
        "lessThan": "b7a2f0955ffceffadfe098b40b50307431f45438",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "89e1f7d4c66d85f42c3d52ea3866eb10cadf6153",
        "lessThan": "139dfcc4d723ab13469881200c7d80f49d776060",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "89e1f7d4c66d85f42c3d52ea3866eb10cadf6153",
        "lessThan": "2a4a666c45107206605b7b5bc20545f8aabc4fa2",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "89e1f7d4c66d85f42c3d52ea3866eb10cadf6153",
        "lessThan": "3b3491ad0f80d913e7d255941d4470f4a4d9bfda",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "89e1f7d4c66d85f42c3d52ea3866eb10cadf6153",
        "lessThan": "bf0bc84a20e6109ab07d5dc072067bd01eb931ec",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "89e1f7d4c66d85f42c3d52ea3866eb10cadf6153",
        "lessThan": "fe9a7082684eb059b925c535682e68c34d487d43",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "drivers/vfio/pci/vfio_pci_intrs.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "3.6"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "3.6",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "5.4.274",
        "versionType": "semver",
        "lessThanOrEqual": "5.4.*"
      },
      {
        "status": "unaffected",
        "version": "5.10.215",
        "versionType": "semver",
        "lessThanOrEqual": "5.10.*"
      },
      {
        "status": "unaffected",
        "version": "5.15.154",
        "versionType": "semver",
        "lessThanOrEqual": "5.15.*"
      },
      {
        "status": "unaffected",
        "version": "6.1.84",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.24",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.7.12",
        "versionType": "semver",
        "lessThanOrEqual": "6.7.*"
      },
      {
        "status": "unaffected",
        "version": "6.8.3",
        "versionType": "semver",
        "lessThanOrEqual": "6.8.*"
      },
      {
        "status": "unaffected",
        "version": "6.9",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "drivers/vfio/pci/vfio_pci_intrs.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2024-27437

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#26499 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement