CVE-2024-27437

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

State
Published
Severity
Not scored
Published
Apr 5, 2024
Updated
Oct 15, 2026
Reserved
Feb 25, 2024

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153 to before 26389925d6c2126fb777821a0a983adca7ee6351Affected
  • 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153 to before 561d5e1998d58b54ce2bbbb3e843b669aa0b3db5Affected
  • 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153 to before b7a2f0955ffceffadfe098b40b50307431f45438Affected
  • 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153 to before 139dfcc4d723ab13469881200c7d80f49d776060Affected
  • 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153 to before 2a4a666c45107206605b7b5bc20545f8aabc4fa2Affected
  • 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153 to before 3b3491ad0f80d913e7d255941d4470f4a4d9bfdaAffected
  • 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153 to before bf0bc84a20e6109ab07d5dc072067bd01eb931ecAffected
  • 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153 to before fe9a7082684eb059b925c535682e68c34d487d43Affected
LinuxLinux
  • 3.6Affected
  • before 3.6Not affected
  • 5.4.274 through 5.4.*Not affected
  • 5.10.215 through 5.10.*Not affected
  • 5.15.154 through 5.15.*Not affected
  • 6.1.84 through 6.1.*Not affected
  • 6.6.24 through 6.6.*Not affected
  • 6.7.12 through 6.7.*Not affected
  • 6.8.3 through 6.8.*Not affected
  • 6.9 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.