CVE-2024-27437
Vulnerability Title: "VFIO PCI Linux Kernel Exclusive INTx IRQ Unmasking Flaw"
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.
INFO
Published Date :
April 5, 2024, 9:15 a.m.
Last Modified :
March 27, 2025, 9:37 p.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
3.6
Exploitability Score :
1.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-27437
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-27437
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-27437
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by nvd@nist.gov
Mar. 27, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE NVD-CWE-noinfo Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.24 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.7.12 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.8 up to (excluding) 6.8.3 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 3.6 up to (excluding) 6.1.84 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.8.4 up to (including) 6.8.12 Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Added Reference Type CVE: https://git.kernel.org/stable/c/139dfcc4d723ab13469881200c7d80f49d776060 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/139dfcc4d723ab13469881200c7d80f49d776060 Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/26389925d6c2126fb777821a0a983adca7ee6351 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/26389925d6c2126fb777821a0a983adca7ee6351 Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/2a4a666c45107206605b7b5bc20545f8aabc4fa2 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/2a4a666c45107206605b7b5bc20545f8aabc4fa2 Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/3b3491ad0f80d913e7d255941d4470f4a4d9bfda Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/3b3491ad0f80d913e7d255941d4470f4a4d9bfda Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/561d5e1998d58b54ce2bbbb3e843b669aa0b3db5 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/561d5e1998d58b54ce2bbbb3e843b669aa0b3db5 Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/b7a2f0955ffceffadfe098b40b50307431f45438 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/b7a2f0955ffceffadfe098b40b50307431f45438 Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/bf0bc84a20e6109ab07d5dc072067bd01eb931ec Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/bf0bc84a20e6109ab07d5dc072067bd01eb931ec Types: Patch Added Reference Type CVE: https://git.kernel.org/stable/c/fe9a7082684eb059b925c535682e68c34d487d43 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/fe9a7082684eb059b925c535682e68c34d487d43 Types: Patch Added Reference Type CVE: https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html Types: Mailing List -
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 21, 2024
Action Type Old Value New Value Added Reference https://git.kernel.org/stable/c/139dfcc4d723ab13469881200c7d80f49d776060 Added Reference https://git.kernel.org/stable/c/26389925d6c2126fb777821a0a983adca7ee6351 Added Reference https://git.kernel.org/stable/c/2a4a666c45107206605b7b5bc20545f8aabc4fa2 Added Reference https://git.kernel.org/stable/c/3b3491ad0f80d913e7d255941d4470f4a4d9bfda Added Reference https://git.kernel.org/stable/c/561d5e1998d58b54ce2bbbb3e843b669aa0b3db5 Added Reference https://git.kernel.org/stable/c/b7a2f0955ffceffadfe098b40b50307431f45438 Added Reference https://git.kernel.org/stable/c/bf0bc84a20e6109ab07d5dc072067bd01eb931ec Added Reference https://git.kernel.org/stable/c/fe9a7082684eb059b925c535682e68c34d487d43 Added Reference https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Nov. 05, 2024
Action Type Old Value New Value Removed Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Jun. 25, 2024
Action Type Old Value New Value Added Reference kernel.org https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html [No types assigned] -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 29, 2024
Action Type Old Value New Value -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
May. 14, 2024
Action Type Old Value New Value -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Apr. 13, 2024
Action Type Old Value New Value Added Reference kernel.org https://git.kernel.org/stable/c/26389925d6c2126fb777821a0a983adca7ee6351 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/561d5e1998d58b54ce2bbbb3e843b669aa0b3db5 [No types assigned] -
CVE Modified by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Apr. 10, 2024
Action Type Old Value New Value Added Reference kernel.org https://git.kernel.org/stable/c/b7a2f0955ffceffadfe098b40b50307431f45438 [No types assigned] -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Apr. 05, 2024
Action Type Old Value New Value Added 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. Added Reference kernel.org https://git.kernel.org/stable/c/139dfcc4d723ab13469881200c7d80f49d776060 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/2a4a666c45107206605b7b5bc20545f8aabc4fa2 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/3b3491ad0f80d913e7d255941d4470f4a4d9bfda [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/bf0bc84a20e6109ab07d5dc072067bd01eb931ec [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/fe9a7082684eb059b925c535682e68c34d487d43 [No types assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-27437
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-27437
weaknesses.