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

CVE-2024-27437
MEDIUM 5.5

En bref

Source
NVD
EPSS
EPSS 0.24 % · centile 15 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Statut NVD
Modified

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.

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153 < 26389925d6c2126fb777821a0a983adca7ee6351 ; affected 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153 < 561d5e1998d58b54ce2bbbb3e843b669aa0b3db5 ; affected 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153 < b7a2f0955ffceffadfe098b40b50307431f45438 ; affected 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153 < 139dfcc4d723ab13469881200c7d80f49d776060 ; affected 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153 < 2a4a666c45107206605b7b5bc20545f8aabc4fa2 ; affected 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153 < 3b3491ad0f80d913e7d255941d4470f4a4d9bfda
Linux · Linuxaffected 3.6 ; unaffected 0 < 3.6 ; unaffected 5.4.274 ≤ 5.4.* ; unaffected 5.10.215 ≤ 5.10.* ; unaffected 5.15.154 ≤ 5.15.* ; unaffected 6.1.84 ≤ 6.1.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD