CVE-2026-31761 iio: gyro: mpu3050: Move iio_device_register() to correct location
A race condition in the Linux kernel MPU3050 gyro driver could lead to undefined behavior due to improper device registration timing.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-31761?
CVE-2026-31761 is a high-severity vulnerability in Linux kernel, published on 1 May 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-362
Which versions are affected by CVE-2026-31761?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2026-31761?
Apply the vendor's patch.
Is CVE-2026-31761 being exploited?
There is no known exploitation of CVE-2026-31761 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2026-31761, DEBIAN-CVE-2026-31761, GHSA-7qrm-p3vj-grr2, ROOT-OS-DEBIAN-11-CVE-2026-31761, ROOT-OS-UBUNTU-2204-CVE-2026-31761, ROOT-OS-UBUNTU-2404-CVE-2026-31761 and 1 more.