Skip to main content

Linux Kernel CVE-2026-31761

| EUVDEUVD-2026-26574 HIGH
Race Condition (CWE-362)
2026-05-01 Linux
7.8
CVSS 3.1 · Vendor: Linux
View

Attack ChainAIDerived

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

  1. Recon
    Gain local shell access
  2. Delivery
    Wait for mpu3050 driver probe
  3. Exploit
    Race device registration window
  4. Install
    Access incomplete IIO device structures
  5. C2
    Trigger memory corruption
  6. Execute
    Escalate to kernel code execution
  7. Impact
    Achieve root privileges

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V15 - Secure Coding and Architecture Concurrency control, locking
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires physical presence of InvenSense MPU3050 gyroscope hardware in the target system and the mpu3050.ko kernel module loaded (either built-in or as loadable module). Attacker must have local interactive shell access with low-privilege user credentials (PR:L) to interact with /dev/iio or /sys/bus/iio interfaces. Exploitation requires winning a narrow race condition window during driver probe execution, typically triggered during system boot or manual module loading via modprobe. Not exploitable on standard desktop/server Linux systems lacking MPU3050 hardware. Limits to exploitation: requires local access (not remotely exploitable), specific uncommon hardware, timing-dependent race condition making reliable exploitation difficult, and many distributions compile IIO drivers as modules rather than built-in reducing automatic exposure. Most affected systems are embedded/IoT devices, drones, robotics platforms, and industrial sensor arrays rather than general-purpose Linux installations.

Impact

Real-world risk is LOW despite the 7.8 CVSS score. The CVSS vector (AV:L/AC:L/PR:L/UI:N) indicates local access with low privileges is required, significantly limiting attack surface compared to network-based threats. The EPSS score of 0.02% (7th percentile) confirms security researchers and attackers have shown minimal interest in exploiting this vulnerability class. Not present in CISA KEV catalog, indicating no confirmed active exploitation. No public proof-of-concept identified. The vulnerability requires specific hardware conditions: the target system must have an MPU3050 gyroscope physically present and the mpu3050 driver loaded, which is uncommon outside embedded systems, IoT devices, drones, and specialized industrial equipment. Standard desktop and server Linux deployments are not affected. The race window is extremely narrow (microseconds during driver probe), making reliable exploitation difficult without precise timing. SSVC assessment: Exploitation status is 'none', automatable is 'no' (requires local access and specific hardware), technical impact is 'total' (potential code execution). Priority: defer patching for general-purpose systems, schedule for embedded/IoT devices with MPU3050 hardware during normal maintenance windows.

Exploit ScenarioDerived

A local attacker with low-privilege user account access on an embedded Linux system equipped with an MPU3050 gyroscope (such as a drone flight controller or industrial sensor platform) exploits the race condition during driver initialization. The attacker writes a script that continuously monitors for mpu3050 driver loading events (via inotify on /sys/bus/iio/) and immediately attempts to interact with the newly registered IIO device through sysfs attributes or ioctl calls before the probe function completes. By winning the race and accessing incompletely initialized data structures, the attacker triggers a use-after-free or uninitialized pointer dereference, potentially achieving arbitrary kernel memory read/write and escalating to root privileges. Exploitation complexity is low according to CVSS but realistically requires precise timing, specific hardware presence, and ability to trigger driver reloads.

Act Now Prioritize within 24-48h. Why: Active threat signals + CRITICAL/HIGH severity.
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 03, 2026

Race condition in the Linux kernel MPU3050 gyroscope driver allows local attackers with low privileges to potentially achieve code execution, data corruption, or information disclosure. The vulnerability stems from premature registration of the IIO device before complete initialization in the probe function, creating a window where userspace can interact with incompletely configured hardware. While CVSS rates this 7.8 HIGH with local attack vector, EPSS score of 0.02% (7th percentile) indicates extremely low probability of active exploitation. Patches available across all maintained kernel branches (5.10.253, 5.15.203, 6.1.168, 6.6.134, 6.12.81, 6.18.22, 6.19.12, 7.0). No evidence of active exploitation (not in CISA KEV) or public proof-of-concept code.

RemediationAI

Primary fix: upgrade to patched kernel versions 5.10.253+ (if on 5.10 LTS), 5.15.203+ (if on 5.15 LTS), 6.1.168+ (if on 6.1 LTS), 6.6.134+, 6.12.81+, 6.18.22+, 6.19.12+, or 7.0+. Patches available from all major distributions and at https://git.kernel.org/stable/. For systems that cannot immediately patch: Workaround 1 - Blacklist the mpu3050 kernel module (add 'blacklist mpu3050' to /etc/modprobe.d/blacklist.conf and rebuild initramfs) if the gyroscope hardware is not operationally required; this completely removes the attack surface but disables gyroscope functionality. Workaround 2 - Restrict /dev/iio:device* access permissions to root only via udev rules, though this may break legitimate applications expecting unprivileged sensor access and does not fully close the race window. Workaround 3 - For containerized workloads, use device cgroup controls to prevent container access to IIO subsystem devices. Verify module is loaded with 'lsmod | grep mpu3050' and check for MPU3050 hardware presence via 'ls /sys/bus/iio/devices/' before applying mitigations.

Affected VersionsENISA

Linux 3904b28efb2c780c23dcddfb87e07fe0230661e5 <4c05799449108fb0e0a6bd30e65fffc71e60db4d
Linux patch: 5.10.253
Linux 3904b28efb2c780c23dcddfb87e07fe0230661e5 <92f18aa86302fe83e0726a1191015f427d4ff056
Linux 3904b28efb2c780c23dcddfb87e07fe0230661e5 <2a4537653d200fda2a8516083459f8ff6194f8fc
Linux 3904b28efb2c780c23dcddfb87e07fe0230661e5 <22487ef85f6dd9499ddf49b85a08afc50a3f1992
Linux patch: 6.18.22
Linux 3904b28efb2c780c23dcddfb87e07fe0230661e5 <cc3de12a5612ee25df7fb549cb7b3e4cc8bfaf9c
Linux patch: 6.6.134
Linux 3904b28efb2c780c23dcddfb87e07fe0230661e5 <051ca43b0e0e4b66bfd349cd53ccf231ad1d69b7
Linux 4.10
Linux 3904b28efb2c780c23dcddfb87e07fe0230661e5 <59a317f8215674c8330817770497301bfb2c1b99
Linux patch: 6.19.12
Linux patch: 6.1.168
Linux 3904b28efb2c780c23dcddfb87e07fe0230661e5 <caec338f91469f0a70b68165185afa3abc994545
Linux patch: 7.0
Linux patch: 5.15.203
Linux patch: 0
Linux patch: 6.12.81

Affected Packages

euvd linux no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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

Technical ContextAI · show details

This vulnerability affects the Industrial I/O (IIO) subsystem in the Linux kernel, specifically the driver for the InvenSense MPU3050 three-axis gyroscope sensor (drivers/iio/gyro/mpu3050.c). The IIO framework provides a unified interface for industrial sensors in Linux. The flaw is a classic initialization race condition: the probe function called iio_device_register() too early, before completing all driver initialization tasks. This violated the kernel driver model best practice that device registration must be the final step in probe(). The gap between registration and full initialization creates a time-of-check-to-time-of-use (TOCTOU) race where userspace processes can access the device via /dev/iio:deviceX or sysfs before critical data structures, locks, or hardware state are fully configured. The vulnerability was introduced in commit 3904b28efb2c and exists in kernel versions from 4.10 onward. While no specific CWE is assigned, this falls under CWE-362 (Concurrent Execution using Shared Resource with Improper Synchronization).

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

Vendor (Linux) PRIMARY 7.8 HIGH
AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
SUSE HIGH

Primary rating from Vendor (Linux).

CVSS VectorVendor: Linux

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

Lifecycle Timeline

4
CVSS changed
May 03, 2026 - 07:22 NVD
7.8 (HIGH)
Patch released
May 03, 2026 - 07:16 nvd
Patch available
Patch available
May 01, 2026 - 16:33 EUVD
CVE Published
May 01, 2026 - 14:14 nvd
HIGH 7.8

DescriptionCVE.org

In the Linux kernel, the following vulnerability has been resolved:

iio: gyro: mpu3050: Move iio_device_register() to correct location

iio_device_register() should be at the end of the probe function to prevent race conditions.

Place iio_device_register() at the end of the probe function and place iio_device_unregister() accordingly.

Executive ViewAI

Why It Matters

CVE-2026-31761 is a local privilege escalation vulnerability in the Linux kernel's MPU3050 gyroscope driver that could allow low-privileged users to execute arbitrary code or corrupt data on affected systems. Organizations running vulnerable kernel versions on systems with gyroscope hardware should prioritize patching, though the extremely low exploitation probability (0.02% EPSS) suggests this poses minimal immediate risk compared to other vulnerabilities.

Business Impact: Low
Compensating Controls

Apply vendor patch. Until patching is complete, restrict local user account creation on affected systems and disable hardware access where gyroscope functionality is not required.

Threat Intelligence Overview

EPSS Score
0.0%
Top 93% exploitable
Threat Intel
2
1 source
Data Quality
7 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 HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat Yes
Deciding rule
Active threat signals + CRITICAL/HIGH severity
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
Low

Priority Score

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

Attack Technique

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

Race conditions occur when multiple concurrent requests exploit the brief time gap between checking a condition and acting upon it (TOCTOU - Time of Check, Time of Use).

Vendor StatusVendor

SUSE

Severity: High
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

Threat IntelligenceMISP

CISA Advisories
Sources: CISA (public domain)

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