Skip to main content

Linux Kernel EUVDEUVD-2026-28603

| CVE-2026-43319 MEDIUM
Improper Locking (CWE-667)
2026-05-08 416baaa9-dc9f-4396-8d5f-8c081fb06d67 GHSA-p22q-5w3q-wqpq
5.5
CVSS 3.1 · NVD
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Recon
    Gain local user access
  2. Delivery
    Join spi/gpio device group
  3. Exploit
    Open /dev/spidevX.Y descriptor
  4. Install
    Spawn concurrent threads
  5. C2
    Execute write() + ioctl() race
  6. Execute
    Trigger AB-BA deadlock
  7. Impact
    System hang (A:H)

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Proper locking
Exploitation Conditions

Requires local authenticated user access with low privileges specifically including membership in groups permitted to access /dev/spidev character device nodes (typically 'spi', 'gpio', 'dialout', or equivalent embedded-system groups, not default for unprivileged users). Exploitation requires a multithreaded application or malicious program that opens the same spidev file descriptor and concurrently executes write()/read() operations from one thread and ioctl() operations (specifically SPI_IOC_WR_MAX_SPEED_HZ or similar SPI configuration ioctls) from another thread against the same descriptor. The vulnerability is limited to systems with SPI hardware and the spidev driver loaded (common in embedded, IoT, Raspberry Pi, and industrial control systems; rare on general-purpose servers and desktop workstations). Single-threaded or properly serialized SPI access patterns are not affected. The local attack vector (AV:L), low complexity (AC:L), and no user interaction requirement (UI:N) from CVSS vector confirm that exploitation is straightforward once the prerequisite conditions are met, but the requirement for spidev device node access and multithreaded concurrent operations significantly limits practical attack surface beyond specialized embedded deployments.

Impact

Real-world risk is low despite the CVSS base score of 5.5 (Medium). The CVSS vector AV:L/AC:L/PR:L/UI:N indicates local access with low privileges required and no user interaction, limiting the attack surface to processes that already have permission to access SPI device nodes-typically restricted to specific user groups or root. The EPSS score of 0.02% (5th percentile) reflects extremely low exploitation probability in the wild, consistent with the specialized nature of SPI device access. No CISA KEV listing and no public exploit code identified, suggesting purely theoretical risk at present. The vulnerability requires a specific usage pattern (concurrent multithreaded access to the same spidev file descriptor from write/read and ioctl operations), which is uncommon in production embedded systems where SPI access is typically serialized by application design. Impact is limited to availability (A:H)-causing system hang or requiring reboot-with no confidentiality or integrity impact. The SSVC framework would likely classify this as 'defer' priority: exploitation not observed, technical impact limited to DoS in specialized subsystem, and straightforward patch availability. Organizations using custom SPI-connected peripherals in multi-threaded applications should prioritize patching, but general server/desktop deployments have minimal risk exposure since SPI device access is uncommon outside embedded/IoT contexts.

Exploit ScenarioDerived

A local attacker with permission to access /dev/spidevX.Y device nodes (typically members of 'spi' or 'gpio' groups on embedded systems) launches two threads in a single process. Thread A continuously performs write() syscalls to the spidev file descriptor while Thread B simultaneously issues SPI_IOC_WR_MAX_SPEED_HZ ioctl() calls. The competing lock acquisition orders cause the kernel to deadlock: Thread A holds buf_lock and waits for spi_lock while Thread B holds spi_lock and waits for buf_lock. The SPI subsystem becomes unresponsive, impacting all SPI-connected peripherals (sensors, displays, storage devices) and potentially requiring a system reboot. No public POC exists but the vulnerability description explicitly states the issue is reproducible with a simple multithreaded userspace program.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 15, 2026

Local denial-of-service deadlock in Linux kernel spidev driver allows authenticated users with low privileges to freeze the SPI subsystem via concurrent write() and ioctl() calls. The AB-BA lock inversion between spi_lock and buf_lock is reproducible with simple multithreaded userspace programs accessing the same spidev file descriptor. Patch available across stable kernel branches (6.12.75, 6.18.16, 6.19.6, 7.0) with extremely low EPSS score (0.02%, 5th percentile) indicating minimal real-world exploitation likelihood. No active exploitation or public POC identified at time of analysis.

RemediationAI

Upgrade to patched Linux kernel versions: 6.12.75 or later for 6.12.x branch, 6.18.16 or later for 6.18.x branch, 6.19.6 or later for 6.19.x branch, or 7.0 stable release for mainline deployments. Patch commits are available from kernel.org stable tree (links: https://git.kernel.org/stable/c/e341e18215030af2136836b78508e0d798916df7, https://git.kernel.org/stable/c/f8431b8672231d378b03176fe74c95adfd3522cf, https://git.kernel.org/stable/c/40534d19ed2afb880ecf202dab26a8e7a5808d16, https://git.kernel.org/stable/c/41ccfac7d302968a4f32b5f7b012d066c5f5cdf8). For systems where immediate kernel upgrade is not feasible, implement compensating controls: restrict access to /dev/spidev* device nodes to only essential system services via udev rules (limiting group membership reduces attack surface but does not eliminate risk from already-privileged processes); audit and refactor applications accessing SPI devices to use single-threaded access patterns or application-level locking around spidev file descriptor operations (introduces application complexity and potential performance impact); or disable spidev module entirely if userspace SPI access is not required (breaks functionality for applications depending on spidev interface). Note that restricting device node permissions only reduces exposure-it does not prevent exploitation by already-authorized processes, so patching remains the definitive mitigation.

Affected VersionsENISA

Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <e341e18215030af2136836b78508e0d798916df7
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <f8431b8672231d378b03176fe74c95adfd3522cf
Linux patch: 6.18.16
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <40534d19ed2afb880ecf202dab26a8e7a5808d16
Linux patch: 6.19.6
Linux 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 <41ccfac7d302968a4f32b5f7b012d066c5f5cdf8
Linux patch: 7.0
Linux patch: 6.12.75

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The vulnerability resides in the spidev driver within the Linux kernel's SPI (Serial Peripheral Interface) subsystem. Spidev provides a userspace interface to SPI devices through character device nodes (/dev/spidevX.Y). The flaw is a classic AB-BA lock inversion pattern (CWE-667: Improper Locking) where two mutexes-spi_lock and buf_lock-are acquired in opposite orders across different code paths. The write()/read() syscalls acquire buf_lock followed by spi_lock, while ioctl() operations (specifically SPI_IOC_WR_MAX_SPEED_HZ and similar commands) acquire spi_lock followed by buf_lock. This creates a circular dependency that lockdep detects and can manifest as a real deadlock under concurrent access. The CPE data indicates the vulnerability affects Linux kernel versions from the initial git commit (1da177e4c3f4) through kernel 7.0 release candidates, with backported fixes available for long-term support branches 6.12.x, 6.18.x, and 6.19.x. The fix simplifies the locking model by removing buf_lock entirely and consolidating all synchronization under spi_lock, eliminating the lock ordering problem while maintaining userspace ABI compatibility.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

NVD PRIMARY 5.5 MEDIUM
AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
SUSE MEDIUM
Red Hat 5.5 MEDIUM

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

3
CVSS changed
May 15, 2026 - 18:22 NVD
5.5 (MEDIUM)
Patch available
May 08, 2026 - 15:02 EUVD
CVE Published
May 08, 2026 - 14:16 nvd
UNKNOWN (no severity yet)

DescriptionNVD

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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 95% exploitable
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

28
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +28
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Vendor StatusVendor

SUSE

Severity: Medium
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise Desktop 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Availability Extension 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP7 Fixed

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy