CVE-2026-31761
Analyzed Analyzed - Analysis Complete
Race Condition in Linux Kernel IIO Gyro MPU3050 Driver

Publication date: 2026-05-01

Last updated on: 2026-05-08

Assigner: kernel.org

Description
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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-05-01
Last Modified
2026-05-08
Generated
2026-05-27
AI Q&A
2026-05-01
EPSS Evaluated
2026-05-25
NVD
EUVD
Affected Vendors & Products
Showing 13 associated CPEs
Vendor Product Version / Range
linux linux_kernel 7.0
linux linux_kernel 7.0
linux linux_kernel 7.0
linux linux_kernel 7.0
linux linux_kernel 7.0
linux linux_kernel 7.0
linux linux_kernel From 5.11 (inc) to 5.15.203 (exc)
linux linux_kernel From 6.13 (inc) to 6.18.22 (exc)
linux linux_kernel From 5.16 (inc) to 6.1.168 (exc)
linux linux_kernel From 6.19 (inc) to 6.19.12 (exc)
linux linux_kernel From 6.7 (inc) to 6.12.81 (exc)
linux linux_kernel From 6.2 (inc) to 6.6.134 (exc)
linux linux_kernel From 4.10 (inc) to 5.10.253 (exc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-362 The product contains a concurrent code sequence that requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence operating concurrently.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability in the Linux kernel involves the improper placement of the function iio_device_register() within the probe function of the iio: gyro: mpu3050 driver.

The function iio_device_register() was not placed at the end of the probe function, which could lead to race conditions.

The fix moves iio_device_register() to the correct location at the end of the probe function and adjusts iio_device_unregister() accordingly to prevent these race conditions.


How can this vulnerability impact me? :

The vulnerability could cause race conditions during device registration in the Linux kernel's gyro driver, potentially leading to unstable or unpredictable behavior of the device.

Such race conditions might result in system crashes, data corruption, or malfunctioning of the affected hardware component.


What immediate steps should I take to mitigate this vulnerability?

The vulnerability is resolved by moving the iio_device_register() call to the correct location at the end of the probe function in the Linux kernel driver for the mpu3050 gyro sensor. To mitigate this vulnerability, you should update your Linux kernel to a version that includes this fix.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart