CVE-2026-31761Published May 1, 2026 · May 1Updated Nov 13
iio: gyro: mpu3050: Move iio_device_register() to correct location
Linux
High7.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
|
≥ 3904b28efb2c780c23dcddfb87e07fe0230661e5 · < cc3de12a5612ee25df7fb549cb7b3e4cc8bfaf9c| No fix yet |
| Linux Linux |
|
|
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.
From the CVE record · Linux
The Linux kernel’s mpu3050 gyro driver registers its IIO device before probe setup is complete, creating a race condition. The input does not specify what an attacker could do or whether exploitation requires local access, authentication, or user interaction.
Engineers running Linux kernels with the mpu3050 gyro driver should check their versions; affected versions are not specified.