# CVE-2026-31761: iio: gyro: mpu3050: Move iio_device_register() to correct location

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.11%, higher than 1% of CVEs (2026-12-01)
- Published: 2026-05-01T14:14:53.223Z
- Modified: 2026-11-11T21:10:00.200Z
- Weaknesses: CWE-362
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 3904b28efb2c780c23dcddfb87e07fe0230661e5 before 22487ef85f6dd9499ddf49b85a08afc50a3f1992; from 3904b28efb2c780c23dcddfb87e07fe0230661e5 before caec338f91469f0a70b68165185afa3abc994545; from 3904b28efb2c780c23dcddfb87e07fe0230661e5 before 051ca43b0e0e4b66bfd349cd53ccf231ad1d69b7; from 3904b28efb2c780c23dcddfb87e07fe0230661e5 before 2a4537653d200fda2a8516083459f8ff6194f8fc; from 3904b28efb2c780c23dcddfb87e07fe0230661e5 before 92f18aa86302fe83e0726a1191015f427d4ff056; from 3904b28efb2c780c23dcddfb87e07fe0230661e5 before cc3de12a5612ee25df7fb549cb7b3e4cc8bfaf9c; from 3904b28efb2c780c23dcddfb87e07fe0230661e5 before 59a317f8215674c8330817770497301bfb2c1b99; from 3904b28efb2c780c23dcddfb87e07fe0230661e5 before 4c05799449108fb0e0a6bd30e65fffc71e60db4d; 4.10 (not affected: before 4.10; from 5.10.253 up to 5.10.*; from 5.15.203 up to 5.15.*; from 6.1.168 up to 6.1.*; from 6.6.134 up to 6.6.*; from 6.12.81 up to 6.12.*; from 6.18.22 up to 6.18.*; from 6.19.12 up to 6.19.*; from 7.0 up to *)
- linux linux_kernel: from 4.10 before 5.10.253; from 5.11 before 5.15.203; from 5.16 before 6.1.168; from 6.2 before 6.6.134; from 6.7 before 6.12.81; from 6.13 before 6.18.22; from 6.19 before 6.19.12; 7.0

## References

- <https://git.kernel.org/stable/c/22487ef85f6dd9499ddf49b85a08afc50a3f1992> (patch)
- <https://git.kernel.org/stable/c/caec338f91469f0a70b68165185afa3abc994545> (patch)
- <https://git.kernel.org/stable/c/051ca43b0e0e4b66bfd349cd53ccf231ad1d69b7> (patch)
- <https://git.kernel.org/stable/c/2a4537653d200fda2a8516083459f8ff6194f8fc> (patch)
- <https://git.kernel.org/stable/c/92f18aa86302fe83e0726a1191015f427d4ff056> (patch)
- <https://git.kernel.org/stable/c/cc3de12a5612ee25df7fb549cb7b3e4cc8bfaf9c> (patch)
- <https://git.kernel.org/stable/c/59a317f8215674c8330817770497301bfb2c1b99> (patch)
- <https://git.kernel.org/stable/c/4c05799449108fb0e0a6bd30e65fffc71e60db4d> (patch)
- <https://cert-portal.siemens.com/productcert/html/ssa-082556.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>

## Sources

- CVE List: [CVE-2026-31761](https://www.cve.org/CVERecord?id=CVE-2026-31761), CVE Terms of Use, modified 2026-11-10
- NVD: [CVE-2026-31761](https://nvd.nist.gov/vuln/detail/CVE-2026-31761), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-31761 · Whole record: https://cve.day/CVE-2026-31761.json · Rebuilt by cve.day 2026-11-25T22:59:20.374Z
