Linux Kernel MPU-3050 Gyroscope Driver Race Condition Vulnerability

Vulnerability

A race condition vulnerability has been identified in the Linux kernel's MPU-3050 gyroscope driver. The issue arises because the function 'iio_device_register()' is not placed correctly within the probe function, leading to potential race conditions. This vulnerability affects the Linux kernel stable tree.

Impact

The vulnerability can cause race conditions, which may lead to unpredictable behavior in the driver, potentially causing incorrect data to be reported or allowing for other timing-related issues.

Reproduction

The vulnerability can be reproduced by loading the MPU-3050 gyroscope driver in the Linux kernel stable tree. The driver will register the IIO device before completing the probe function, creating a race condition. This can be observed by monitoring the driver's behavior or the data it reports, which may be inconsistent or incorrect due to the timing issue.

Remediation

The vulnerability has been addressed by moving the 'iio_device_register()' call to the end of the probe function and adjusting the 'iio_device_unregister()' call in the remove function accordingly. Users should update to the latest version of the Linux kernel stable tree where this fix has been applied.

Added: May 1, 2026, 4:30 PM
Updated: May 1, 2026, 4:30 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
0.6
exploitability
3.9
remediation
7.7
relevance
7.2
threat
4.8
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.