# CVE-2026-31761: iio: gyro: mpu3050: Move iio\_device\_register() to correct location

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.15% (percentile 2, 2026-11-28)
- **CWE:** CWE-362
- **Published:** 2026-05-01T14:14:53.223Z
- **Modified:** 2026-11-11T21:10:00.200Z

## Who should check

- Anyone running Linux \>= 3904b28efb2c780c23dcddfb87e07fe0230661e5, \< 22487ef85f6dd9499ddf49b85a08afc50a3f1992; \>= 3904b28efb2c780c23dcddfb87e07fe0230661e5, \< caec338f91469f0a70b68165185afa3abc994545; \>= 3904b28efb2c780c23dcddfb87e07fe0230661e5, \< 051ca43b0e0e4b66bfd349cd53ccf231ad1d69b7; \>= 3904b28efb2c780c23dcddfb87e07fe0230661e5, \< 2a4537653d200fda2a8516083459f8ff6194f8fc; \>= 3904b28efb2c780c23dcddfb87e07fe0230661e5, \< 92f18aa86302fe83e0726a1191015f427d4ff056; \>= 3904b28efb2c780c23dcddfb87e07fe0230661e5, \< cc3de12a5612ee25df7fb549cb7b3e4cc8bfaf9c; \>= 3904b28efb2c780c23dcddfb87e07fe0230661e5, \< 59a317f8215674c8330817770497301bfb2c1b99; \>= 3904b28efb2c780c23dcddfb87e07fe0230661e5, \< 4c05799449108fb0e0a6bd30e65fffc71e60db4d
- Anyone running Linux 4.10

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

## Affected and fixed versions

- Linux: \>= 3904b28efb2c780c23dcddfb87e07fe0230661e5, \< 22487ef85f6dd9499ddf49b85a08afc50a3f1992; \>= 3904b28efb2c780c23dcddfb87e07fe0230661e5, \< caec338f91469f0a70b68165185afa3abc994545; \>= 3904b28efb2c780c23dcddfb87e07fe0230661e5, \< 051ca43b0e0e4b66bfd349cd53ccf231ad1d69b7; \>= 3904b28efb2c780c23dcddfb87e07fe0230661e5, \< 2a4537653d200fda2a8516083459f8ff6194f8fc; \>= 3904b28efb2c780c23dcddfb87e07fe0230661e5, \< 92f18aa86302fe83e0726a1191015f427d4ff056; \>= 3904b28efb2c780c23dcddfb87e07fe0230661e5, \< cc3de12a5612ee25df7fb549cb7b3e4cc8bfaf9c; \>= 3904b28efb2c780c23dcddfb87e07fe0230661e5, \< 59a317f8215674c8330817770497301bfb2c1b99; \>= 3904b28efb2c780c23dcddfb87e07fe0230661e5, \< 4c05799449108fb0e0a6bd30e65fffc71e60db4d (cvelist)
- Linux: 4.10 (cvelist)

## Mitigation

- Upgrade Linux to 4c05799449108fb0e0a6bd30e65fffc71e60db4d or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-31761. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-31761.md
Affected: Linux >= 3904b28efb2c780c23dcddfb87e07fe0230661e5, < 22487ef85f6dd9499ddf49b85a08afc50a3f1992; >= 3904b28efb2c780c23dcddfb87e07fe0230661e5, < caec338f91469f0a70b68165185afa3abc994545; >= 3904b28efb2c780c23dcddfb87e07fe0230661e5, < 051ca43b0e0e4b66bfd349cd53ccf231ad1d69b7; >= 3904b28efb2c780c23dcddf…
Fixed in: Linux 22487ef85f6dd9499ddf49b85a08afc50a3f1992, Linux 051ca43b0e0e4b66bfd349cd53ccf231ad1d69b7, Linux 2a4537653d200fda2a8516083459f8ff6194f8fc, Linux 92f18aa86302fe83e0726a1191015f427d4ff056, Linux 59a317f8215674c8330817770497301bfb2c1b99, Linux 4c05799449108fb0e0a6bd30e65fffc71e60db4d

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-31761 being exploited?

There is no confirmed exploitation: CVE-2026-31761 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.15% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-31761?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-31761?

Linux \>= 3904b28efb2c780c23dcddfb87e07fe0230661e5, \< 22487ef85f6dd9499ddf49b85a08afc50a3f1992; \>= 3904b28efb2c780c23dcddfb87e07fe0230661e5, \< caec338f91469f0a70b68165185afa3abc994545; \>= 3904b28efb2c780c23dcddfb87e07fe0230661e5, \< 051ca43b0e0e4b66bfd349cd53ccf231ad1d69b7; \>= 3904b28efb2c780c23dcddfb87e07fe0230661e5, \< 2a4537653d200fda2a8516083459f8ff6194f8fc; \>= 3904b28efb2c780c23dcddfb87e07fe0230661e5, \< 92f18aa86302fe83e0726a1191015f427d4ff056; \>= 3904b28efb2c780c23dcddfb87e07fe0230661e5, \< cc3de12a5612ee25df7fb549cb7b3e4cc8bfaf9c; \>= 3904b28efb2c780c23dcddfb87e07fe0230661e5, \< 59a317f8215674c8330817770497301bfb2c1b99; \>= 3904b28efb2c780c23dcddfb87e07fe0230661e5, \< 4c05799449108fb0e0a6bd30e65fffc71e60db4d; Linux 4.10.

### Is there a fix for CVE-2026-31761?

Yes. Fixed in Linux 22487ef85f6dd9499ddf49b85a08afc50a3f1992, Linux 051ca43b0e0e4b66bfd349cd53ccf231ad1d69b7, Linux 2a4537653d200fda2a8516083459f8ff6194f8fc, Linux 92f18aa86302fe83e0726a1191015f427d4ff056, Linux 59a317f8215674c8330817770497301bfb2c1b99, Linux 4c05799449108fb0e0a6bd30e65fffc71e60db4d. Upgrade Linux to 4c05799449108fb0e0a6bd30e65fffc71e60db4d or later.

### How do I check if I'm affected by CVE-2026-31761?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-082556.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-019113.html>
- other: <https://cert-portal.siemens.com/productcert/html/ssa-457936.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-31761>

HTML: <https://flawdb.com/CVE-2026-31761> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-31761>
