CVE-2026-31761: Linux Kernel race condition in MPU-3050 gyroscope driver

CVE-2026-31761 · Severity: high · CVSS 7.8 · Published 2026-05-01

A race condition vulnerability was identified in the Linux kernel driver for the MPU-3050 gyroscope, a component used in various embedded systems and industrial controllers like Siemens SIMATIC S7-1500. If exploited, this flaw could allow a local attacker to cause system instability or potentially gain unauthorized elevated privileges. This could lead to service disruptions or unauthorized access to sensitive industrial operations.

Technologies: Linux Kernel, Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP. Vendors: Linux, Siemens.

Quick answers

Is CVE-2026-31761 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-31761 being exploited in the wild.
How severe is CVE-2026-31761?
High severity, with a CVSS score of 7.8, published 1 May 2026.
Which products and versions are affected?
Linux Kernel mpu3050 driver; Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP V3.1.5, V3.1.6.
Is there a fix for CVE-2026-31761?
No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
How is CVE-2026-31761 attacked?
It is attacked with local access, in an operating system.
Am I affected by CVE-2026-31761?
Check whether you run Linux Kernel or Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A race condition exists in the mpu3050 gyroscope driver (drivers/iio/gyro/mpu3050-core.c) because iio_device_register() was called before the driver had finished its initialization and power management setup. This allows the device to be accessed by the system or userspace before it is fully ready, leading to potential concurrent execution issues (CWE-362). An attacker with local access could exploit this timing window to trigger undefined behavior, system crashes, or privilege escalation. The fix involves moving iio_device_register() to the end of the probe function and ensuring iio_device_unregister() is called first during removal to prevent further access during teardown.

Affected products

  • Linux Linux Kernel mpu3050 driver
  • Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP V3.1.5, V3.1.6

Timeline

  • 2026-02-24: other: Vulnerability fix authored
  • 2026-05-01: disclosed: CVE published
  • 2026-07-14: advisory: Siemens product advisory updated

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.