CVE-2024-27437

CVE-2024-27437

Medium · published April 5, 2024

CVSS v3.1
5.5
EPSS
0%
Percentile
14.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.00240 · 14.3th percentile
Published
2024-04-05T13:15Z
Affected products (6)
ProductVersionsFixed in
linux/linux_kernel≥ 3.6, < 6.1.846.1.84
linux/linux_kernel≥ 6.2, < 6.6.246.6.24
linux/linux_kernel≥ 6.7, < 6.7.126.7.12
linux/linux_kernel≥ 6.8, < 6.8.36.8.3
linux/linux_kernel≥ 6.8.4, ≤ 6.8.12—
debian/debian_linuxall versions—
References (18)
https://git.kernel.org/stable/c/139dfcc4d723ab13469881200c7d80f49d776060 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/26389925d6c2126fb777821a0a983adca7ee6351 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/2a4a666c45107206605b7b5bc20545f8aabc4fa2 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/3b3491ad0f80d913e7d255941d4470f4a4d9bfda · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/561d5e1998d58b54ce2bbbb3e843b669aa0b3db5 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/b7a2f0955ffceffadfe098b40b50307431f45438 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/bf0bc84a20e6109ab07d5dc072067bd01eb931ec · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/fe9a7082684eb059b925c535682e68c34d487d43 · 416baaa9-dc9f-4396-8d5f-8c081fb06d67https://git.kernel.org/stable/c/139dfcc4d723ab13469881200c7d80f49d776060 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/26389925d6c2126fb777821a0a983adca7ee6351 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/2a4a666c45107206605b7b5bc20545f8aabc4fa2 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/3b3491ad0f80d913e7d255941d4470f4a4d9bfda · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/561d5e1998d58b54ce2bbbb3e843b669aa0b3db5 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/b7a2f0955ffceffadfe098b40b50307431f45438 · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/bf0bc84a20e6109ab07d5dc072067bd01eb931ec · af854a3a-2127-422b-91ae-364da2661108https://git.kernel.org/stable/c/fe9a7082684eb059b925c535682e68c34d487d43 · af854a3a-2127-422b-91ae-364da2661108https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html · af854a3a-2127-422b-91ae-364da2661108https://cert-portal.siemens.com/productcert/html/ssa-265688.html · 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
EPSS history
Timeline
  • 05 APR 08:24Z
    vfio/pci: Disable auto-enable of exclusive INTx IRQ
    cvelistv5