CVE-2024-27437
vfio/pci: Disable auto-enable of exclusive INTx IRQ
Check your servers for CVE-2024-27437
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-27437 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Exploitation
EPSS 0.24%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 16.1% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 5 Apr 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153, before 26389925d6c2126fb777821a0a983adca7ee6351 affected from 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153, before 561d5e1998d58b54ce2bbbb3e843b669aa0b3db5 affected from 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153, before b7a2f0955ffceffadfe098b40b50307431f45438 affected from 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153, before 139dfcc4d723ab13469881200c7d80f49d776060 affected from 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153, before 2a4a666c45107206605b7b5bc20545f8aabc4fa2 affected from 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153, before 3b3491ad0f80d913e7d255941d4470f4a4d9bfda affected from 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153, before bf0bc84a20e6109ab07d5dc072067bd01eb931ec affected from 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153, before fe9a7082684eb059b925c535682e68c34d487d43
Other versions: unaffected
|
| Linux |
affected 3.6 unaffected before 3.6 unaffected from 5.4.274 up to and including 5.4.* unaffected from 5.10.215 up to and including 5.10.* unaffected from 5.15.154 up to and including 5.15.* unaffected from 6.1.84 up to and including 6.1.* unaffected from 6.6.24 up to and including 6.6.* unaffected from 6.7.12 up to and including 6.7.* unaffected from 6.8.3 up to and including 6.8.* unaffected 6.9 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2024-27437 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2024-27437
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-27437
trivy image --scanners vuln IMAGE | grep CVE-2024-27437
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/26389925d6c2126fb777821a0a983adca7ee6351 git.kernel.org
- https://git.kernel.org/stable/c/561d5e1998d58b54ce2bbbb3e843b669aa0b3db5 git.kernel.org
- https://git.kernel.org/stable/c/b7a2f0955ffceffadfe098b40b50307431f45438 git.kernel.org
- https://git.kernel.org/stable/c/139dfcc4d723ab13469881200c7d80f49d776060 git.kernel.org
- https://git.kernel.org/stable/c/2a4a666c45107206605b7b5bc20545f8aabc4fa2 git.kernel.org
- https://git.kernel.org/stable/c/3b3491ad0f80d913e7d255941d4470f4a4d9bfda git.kernel.org
- https://git.kernel.org/stable/c/bf0bc84a20e6109ab07d5dc072067bd01eb931ec git.kernel.org
- https://git.kernel.org/stable/c/fe9a7082684eb059b925c535682e68c34d487d43 git.kernel.org
- https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html lists.debian.org
- https://cert-portal.siemens.com/productcert/html/ssa-265688.html cert-portal.siemens.com
Source: the record CVE-2024-27437 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse