---
id: CVE-2026-31761
title: |-
  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 …
summary: |-
  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 …
severity: high
cvss: 7.8
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-362
  - CWE-367
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 4.10, < 5.10.253'
  - 'linux_kernel >= 5.11, < 5.15.203'
  - 'linux_kernel >= 5.16, < 6.1.168'
  - 'linux_kernel >= 6.2, < 6.6.134'
  - 'linux_kernel >= 6.7, < 6.12.81'
  - 'linux_kernel >= 6.13, < 6.18.22'
  - 'linux_kernel >= 6.19, < 6.19.12'
  - linux_kernel = 7.0
patched:
  - linux_kernel 6.19.12
published: '2026-05-01'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T02:19:20.353'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-31761'
references:
  - url: 'https://git.kernel.org/stable/c/051ca43b0e0e4b66bfd349cd53ccf231ad1d69b7'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/22487ef85f6dd9499ddf49b85a08afc50a3f1992'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/2a4537653d200fda2a8516083459f8ff6194f8fc'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/4c05799449108fb0e0a6bd30e65fffc71e60db4d'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/59a317f8215674c8330817770497301bfb2c1b99'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/92f18aa86302fe83e0726a1191015f427d4ff056'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/caec338f91469f0a70b68165185afa3abc994545'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/cc3de12a5612ee25df7fb549cb7b3e4cc8bfaf9c'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-019113.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-082556.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: 'https://cert-portal.siemens.com/productcert/html/ssa-457936.html'
    label: 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-31761.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-31761'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2464471'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-31761'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-31761'
  - url: >-
      https://lore.kernel.org/linux-cve-announce/2026050145-CVE-2026-31761-6af9@gregkh/T
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
epss: 0.00104
epssPercentile: 0.01023
ingestedAt: '2026-09-08T15:33:26.989Z'
---

## Overview

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

- `linux_kernel >= 4.10, < 5.10.253`
- `linux_kernel >= 5.11, < 5.15.203`
- `linux_kernel >= 5.16, < 6.1.168`
- `linux_kernel >= 6.2, < 6.6.134`
- `linux_kernel >= 6.7, < 6.12.81`
- `linux_kernel >= 6.13, < 6.18.22`
- `linux_kernel >= 6.19, < 6.19.12`
- `linux_kernel = 7.0`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.19.12`

## Vendor advisories

- **Red Hat VEX** · Low · updated 2026-10-19 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-31761.json)
