CVE-2024-26810
JSON

7.8high

vfio/pci: Lock external INTx masking ops

Severity
7.8high CVSS:3.1 by Linux
Exploit likelihood
0.20% (higher than 9% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

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.

Affected

Product or packageVersionsReported by
Linux Linuxfrom 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153 before 1e71b6449d55179170efc8dee8664510bb813b42, from 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153 before 3dd9be6cb55e0f47544e7cdda486413f7134e3b3, from 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153 before ec73e079729258a05452356cf6d098bf1504d5a6, from 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153 before 3fe0ac10bd117df847c93408a9d428a453cd60e5, from 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153 before 04a4a017b9ffd7b0f427b8c376688d14cb614651, from 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153 before 6fe478d855b20ac1eb5da724afe16af5a2aaaa40, from 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153 before 03505e3344b0576fd619416793a31eae9c5b73bf, from 89e1f7d4c66d85f42c3d52ea3866eb10cadf6153 before 810cd4bb53456d0503cc4e7934e063835152c1b7 and 1 more
Not affected: before 3.6, from 5.4.274 up to 5.4.*, from 5.10.215 up to 5.10.*, from 5.15.154 up to 5.15.*, from 6.1.84 up to 6.1.*, from 6.6.24 up to 6.6.*
CVE List
linux linux_kernelfrom 3.6 before 5.4.274, from 5.5 before 5.10.215, from 5.11 before 5.15.154, from 5.16 before 6.1.84, from 6.2 before 6.6.24, from 6.7 before 6.7.12, from 6.8 before 6.8.3NVD

All scores

Linux7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CISA-ADP4.4medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-362

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

En el kernel de Linux, se resolvió la siguiente vulnerabilidad: vfio/pci: bloquear operaciones de enmascaramiento INTx externas Las operaciones de enmascaramiento a través de cambios en el espacio de configuración a DisINTx pueden acelerar los cambios de configuración de INTx a través de ioctl. Cree contenedores que agreguen bloqueo para rutas fuera del código de interrupción central. En particular, irq_type se actualiza manteniendo igate, por lo tanto, probar is_intx() requiere mantener igate. Por ejemplo, borrar DisINTx del espacio de configuración puede acelerar los cambios en la configuración de la interrupción. Esto alinea las interfaces que pueden desencadenar el evento INTx en dos campos, un lado serializado por igate y el otro solo habilitado mientras INTx está configurado. Un parche posterior introduce la sincronización para estos últimos flujos.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-26810 changed 2026-10-15CVE Terms of Use
NVDCVE-2024-26810 changed 2026-10-15Public domain