5.5medium
vfio/fsl-mc: Block calling interrupt handler without trigger
- Severity
- 5.5medium CVSS:3.1 by NVD
- Exploit likelihood
- 0.22% (higher than 13% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: vfio/fsl-mc: Block calling interrupt handler without trigger The eventfd_ctx trigger pointer of the vfio_fsl_mc_irq object is initially NULL and may become NULL if the user sets the trigger eventfd to -1. The interrupt handler itself is guaranteed that trigger is always valid between request_irq() and free_irq(), but the loopback testing mechanisms to invoke the handler function need to test the trigger. The triggering and setting ioctl paths both make use of igate and are therefore mutually exclusive. The vfio-fsl-mc driver does not make use of irqfds, nor does it support any sort of masking operations, therefore unlike vfio-pci and vfio-platform, the flow can remain essentially unchanged.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from cc0ee20bd96971c10eba9a83ecf1c0733078a083 before a563fc18583ca4f42e2fdd0c70c7c618288e7ede, from cc0ee20bd96971c10eba9a83ecf1c0733078a083 before 250219c6a556f8c69c5910fca05a59037e24147d, from cc0ee20bd96971c10eba9a83ecf1c0733078a083 before 083e750c9f5f4c3bf61161330fb84d7c8e8bb417, from cc0ee20bd96971c10eba9a83ecf1c0733078a083 before ee0bd4ad780dfbb60355b99f25063357ab488267, from cc0ee20bd96971c10eba9a83ecf1c0733078a083 before de87511fb0404d23b6da5f4660383b6ed095e28d, from cc0ee20bd96971c10eba9a83ecf1c0733078a083 before 6ec0d88166dac43f29e96801c0927d514f17add9, from cc0ee20bd96971c10eba9a83ecf1c0733078a083 before 7447d911af699a15f8d050dfcb7c680a86f87012, 5.10 Not affected: before 5.10, 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.*, from 6.7.12 up to 6.7.* | CVE List |
| linux linux_kernel | from 5.10 before 6.1.84, from 6.2 before 6.6.24, from 6.7 before 6.7.12, from 6.8 before 6.8.3, from 6.8.4 up to 6.8.12 | NVD |
| debian debian_linux | 10.0 | NVD |
Classification
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/fsl-mc: Block calling interrupt handler without trigger The eventfd_ctx trigger pointer of the vfio_fsl_mc_irq object is initially NULL and may become NULL if the user sets the trigger eventfd to -1. The interrupt handler itself is guaranteed that trigger is always valid between request_irq() and free_irq(), but the loopback testing mechanisms to invoke the handler function need to test the trigger. The triggering and setting ioctl paths both make use of igate and are therefore mutually exclusive. The vfio-fsl-mc driver does not make use of irqfds, nor does it support any sort of masking operations, therefore unlike vfio-pci and vfio-platform, the flow can remain essentially unchanged.
NVD (es)
En el kernel de Linux, se resolvió la siguiente vulnerabilidad: vfio/fsl-mc: Bloquear el controlador de interrupciones de llamada sin disparador. El puntero de disparo eventfd_ctx del objeto vfio_fsl_mc_irq es inicialmente NULL y puede convertirse en NULL si el usuario establece el disparador eventfd en -1. El propio controlador de interrupciones garantiza que el disparador siempre será válido entre request_irq() y free_irq(), pero los mecanismos de prueba de bucle invertido para invocar la función del controlador deben probar el disparador. Las rutas de activación y configuración de ioctl utilizan igate y, por lo tanto, son mutuamente excluyentes. El controlador vfio-fsl-mc no utiliza irqfds ni admite ningún tipo de operación de enmascaramiento; por lo tanto, a diferencia de vfio-pci y vfio-platform, el flujo puede permanecer esencialmente sin cambios.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-26814 changed 2026-05-11 | CVE Terms of Use |
| NVD | CVE-2024-26814 changed 2026-06-17 | Public domain |