5.5

CVE-2026-43319: spi: spidev: fix lock inversion between spi_lock and buf_lock

Modified
AliasesUBUNTU-CVE-2026-43319DEBIAN-CVE-2026-43319
Published 08-05-2026Last modified 01-06-2026

Vulnerability summary

CVE-2026-43319 is a medium (CVSS 5.5) Improper Locking vulnerability in linux. EPSS estimates a 0.09% chance of exploitation in the next 30 days, higher than 0.5% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.09%
0%100%
Low · -0.03 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 24 · Related 24

Timeline

  1. 08-05-2026
    PublishedVulnerability first disclosed.
  2. 01-06-2026
    Last modifiedVulnerability information updated.

Description

In the Linux kernel, the following vulnerability has been resolved: spi: spidev: fix lock inversion between spi_lock and buf_lock The spidev driver previously used two mutexes, spi_lock and buf_lock, but acquired them in different orders depending on the code path: write()/read(): buf_lock -> spi_lock ioctl(): spi_lock -> buf_lock This AB-BA locking pattern triggers lockdep warnings and can cause real deadlocks: WARNING: possible circular locking dependency detected spidev_ioctl() -> mutex_lock(&spidev->buf_lock) spidev_sync_write() -> mutex_lock(&spidev->spi_lock) *** DEADLOCK *** The issue is reproducible with a simple userspace program that performs write() and SPI_IOC_WR_MAX_SPEED_HZ ioctl() calls from separate threads on the same spidev file descriptor. Fix this by simplifying the locking model and removing the lock inversion entirely. spidev_sync() no longer performs any locking, and all callers serialize access using spi_lock. buf_lock is removed since its functionality is fully covered by spi_lock, eliminating the possibility of lock ordering issues. This removes the lock inversion and prevents deadlocks without changing userspace ABI or behaviour.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

0.09%

Chance of exploitation in the next 30 days

Percentile

1%

Versus all other CVEs

30-day change

Decrease -0.03 pp

From 0.13% on 04-10-2026

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu157 products
  • linuxAll versions (No fix recorded) | < 6.8.0-134.134
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 6.8.0-1060.63
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ a720416d94634068951773cb9e9d6f1b73769e5b, < fabfed1afe273717ea33b8aee46b767360edbb80 | ≥ a720416d94634068951773cb9e9d6f1b73769e5b, < f8431b8672231d378b03176fe74c95adfd3522cf | ≥ a720416d94634068951773cb9e9d6f1b73769e5b, < e341e18215030af2136836b78508e0d798916df7 | ≥ a720416d94634068951773cb9e9d6f1b73769e5b, < 41ccfac7d302968a4f32b5f7b012d066c5f5cdf8 | ≥ a720416d94634068951773cb9e9d6f1b73769e5b, < 40534d19ed2afb880ecf202dab26a8e7a5808d16 | 6.2
  • linux_kernel≥ 6.2, < 6.12.75 | ≥ 6.13, < 6.18.16 | ≥ 6.19, < 6.19.6 | 7.0:rc1 | 7.0:rc2 | 7.0:rc3 | 7.0:rc4 | 7.0:rc5 | 7.0:rc6 | 7.0:rc7
Debian1 product
  • linux< 6.12.85-1 | < 6.19.6-1

3 vendors · 160 products

References

22 links
Show all 22 references