CVE-2026-43319
Gravedad CVSS v3.1:
MEDIA
Tipo:
No Disponible / Otro tipo
Fecha de publicación:
08/05/2026
Última modificación:
15/05/2026
Descripción
*** Pendiente de traducción *** In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
spi: spidev: fix lock inversion between spi_lock and buf_lock<br />
<br />
The spidev driver previously used two mutexes, spi_lock and buf_lock,<br />
but acquired them in different orders depending on the code path:<br />
<br />
write()/read(): buf_lock -> spi_lock<br />
ioctl(): spi_lock -> buf_lock<br />
<br />
This AB-BA locking pattern triggers lockdep warnings and can<br />
cause real deadlocks:<br />
<br />
WARNING: possible circular locking dependency detected<br />
spidev_ioctl() -> mutex_lock(&spidev->buf_lock)<br />
spidev_sync_write() -> mutex_lock(&spidev->spi_lock)<br />
*** DEADLOCK ***<br />
<br />
The issue is reproducible with a simple userspace program that<br />
performs write() and SPI_IOC_WR_MAX_SPEED_HZ ioctl() calls from<br />
separate threads on the same spidev file descriptor.<br />
<br />
Fix this by simplifying the locking model and removing the lock<br />
inversion entirely. spidev_sync() no longer performs any locking,<br />
and all callers serialize access using spi_lock.<br />
<br />
buf_lock is removed since its functionality is fully covered by<br />
spi_lock, eliminating the possibility of lock ordering issues.<br />
<br />
This removes the lock inversion and prevents deadlocks without<br />
changing userspace ABI or behaviour.
Impacto
Puntuación base 3.x
5.50
Gravedad 3.x
MEDIA
Productos y versiones vulnerables
| CPE | Desde | Hasta |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.2 (incluyendo) | 6.12.75 (excluyendo) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.13 (incluyendo) | 6.18.16 (excluyendo) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.19 (incluyendo) | 6.19.6 (excluyendo) |
| cpe:2.3:o:linux:linux_kernel:7.0:rc1:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:7.0:rc2:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:7.0:rc3:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:7.0:rc4:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:7.0:rc5:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:7.0:rc6:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:7.0:rc7:*:*:*:*:*:* |
Para consultar la lista completa de nombres de CPE con productos y versiones, ver esta página



