vfio/pci: Disable auto-enable of exclusive INTx IRQ
Summary
| CVE | CVE-2024-27437 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2024-04-05 09:15:09 UTC |
| Updated | 2026-05-12 12:16:33 UTC |
| Description | 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. |
Risk And Classification
Primary CVSS: v3.1 5.5 MEDIUM from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Problem Types: NVD-CWE-noinfo
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153 26389925d6c2126fb777821a0a983adca7ee6351 git | Not specified |
| CNA | Linux | Linux | affected 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153 561d5e1998d58b54ce2bbbb3e843b669aa0b3db5 git | Not specified |
| CNA | Linux | Linux | affected 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153 b7a2f0955ffceffadfe098b40b50307431f45438 git | Not specified |
| CNA | Linux | Linux | affected 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153 139dfcc4d723ab13469881200c7d80f49d776060 git | Not specified |
| CNA | Linux | Linux | affected 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153 2a4a666c45107206605b7b5bc20545f8aabc4fa2 git | Not specified |
| CNA | Linux | Linux | affected 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153 3b3491ad0f80d913e7d255941d4470f4a4d9bfda git | Not specified |
| CNA | Linux | Linux | affected 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153 bf0bc84a20e6109ab07d5dc072067bd01eb931ec git | Not specified |
| CNA | Linux | Linux | affected 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153 fe9a7082684eb059b925c535682e68c34d487d43 git | Not specified |
| CNA | Linux | Linux | affected 3.6 | Not specified |
| CNA | Linux | Linux | unaffected 3.6 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.4.274 5.4.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.215 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.154 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.84 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.24 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.7.12 6.7.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.8.3 6.8.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.9 * original_commit_for_fix | Not specified |
| ADP | Siemens | SIMATIC S7-1500 TM MFP - GNU/Linux Subsystem | affected * custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| lists.debian.org/debian-lts-announce/2024/06/msg00017.html | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | Mailing List |
| git.kernel.org/stable/c/3b3491ad0f80d913e7d255941d4470f4a4d9bfda | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/fe9a7082684eb059b925c535682e68c34d487d43 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| cert-portal.siemens.com/productcert/html/ssa-265688.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| git.kernel.org/stable/c/561d5e1998d58b54ce2bbbb3e843b669aa0b3db5 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/bf0bc84a20e6109ab07d5dc072067bd01eb931ec | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/2a4a666c45107206605b7b5bc20545f8aabc4fa2 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/b7a2f0955ffceffadfe098b40b50307431f45438 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/139dfcc4d723ab13469881200c7d80f49d776060 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| git.kernel.org/stable/c/26389925d6c2126fb777821a0a983adca7ee6351 | af854a3a-2127-422b-91ae-364da2661108 | git.kernel.org | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 6000567 Debian Security Update for linux (DSA 5658-1)