vfio/pci: Lock external INTx masking ops (Linux Linux)

CVE-2024-26810
HIGH 7.8

En bref

Source
NVD
EPSS
EPSS 0.20 % · centile 9 ()
É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: Lock external INTx masking ops Mask operations through config space changes to DisINTx may race INTx configuration changes via ioctl. Create wrappers that add locking for paths outside of the core interrupt code. In particular, irq_type is updated holding igate, therefore testing is_intx() requires holding igate. For example clearing DisINTx from config space can otherwise race changes of the interrupt configuration. This aligns interfaces which may trigger the INTx eventfd into two camps, one side serialized by igate and the other only enabled while INTx is configured. A subsequent patch introduces synchronization for the latter flows.

Faiblesses (CWE)

  • CWE-362 — Situation de compétition

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux
CVSS 3.1MEDIUM 4.4CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:HCISA-ADP
CVSS 3.1HIGH 7.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)
CVSS 3.1MEDIUM 4.4CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:HNVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
Linux · Linuxaffected 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153 < 1e71b6449d55179170efc8dee8664510bb813b42 ; affected 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153 < 3dd9be6cb55e0f47544e7cdda486413f7134e3b3 ; affected 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153 < ec73e079729258a05452356cf6d098bf1504d5a6 ; affected 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153 < 3fe0ac10bd117df847c93408a9d428a453cd60e5 ; affected 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153 < 04a4a017b9ffd7b0f427b8c376688d14cb614651 ; affected 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153 < 6fe478d855b20ac1eb5da724afe16af5a2aaaa40
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