CVE-2026-31761

iio: gyro: mpu3050: Move iio_device_register() to correct location

State
Published
Severity
7.8 High
Published
May 1, 2026
Updated
Oct 15, 2026
Reserved
Mar 9, 2026

Read the record on cve.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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 3904b28efb2c780c23dcddfb87e07fe0230661e5 to before 22487ef85f6dd9499ddf49b85a08afc50a3f1992Affected
  • 3904b28efb2c780c23dcddfb87e07fe0230661e5 to before caec338f91469f0a70b68165185afa3abc994545Affected
  • 3904b28efb2c780c23dcddfb87e07fe0230661e5 to before 051ca43b0e0e4b66bfd349cd53ccf231ad1d69b7Affected
  • 3904b28efb2c780c23dcddfb87e07fe0230661e5 to before 2a4537653d200fda2a8516083459f8ff6194f8fcAffected
  • 3904b28efb2c780c23dcddfb87e07fe0230661e5 to before 92f18aa86302fe83e0726a1191015f427d4ff056Affected
  • 3904b28efb2c780c23dcddfb87e07fe0230661e5 to before cc3de12a5612ee25df7fb549cb7b3e4cc8bfaf9cAffected
  • 3904b28efb2c780c23dcddfb87e07fe0230661e5 to before 59a317f8215674c8330817770497301bfb2c1b99Affected
  • 3904b28efb2c780c23dcddfb87e07fe0230661e5 to before 4c05799449108fb0e0a6bd30e65fffc71e60db4dAffected
LinuxLinux
  • 4.10Affected
  • before 4.10Not affected
  • 5.10.253 through 5.10.*Not affected
  • 5.15.203 through 5.15.*Not affected
  • 6.1.168 through 6.1.*Not affected
  • 6.6.134 through 6.6.*Not affected
  • 6.12.81 through 6.12.*Not affected
  • 6.18.22 through 6.18.*Not affected
  • 6.19.12 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.