CVE-2026-31762

iio: gyro: mpu3050: Fix irq resource leak

State
Published
Severity
Not scored
Published
May 1, 2026
Updated
May 11, 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: Fix irq resource leak

The interrupt handler is setup but only a few lines down if iio_trigger_register() fails the function returns without properly releasing the handler.

Add cleanup goto to resolve resource leak.

Detected by Smatch: drivers/iio/gyro/mpu3050-core.c:1128 mpu3050_trigger_probe() warn: 'irq' from request_threaded_irq() not released on lines: 1124.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 3904b28efb2c780c23dcddfb87e07fe0230661e5 to before beb23092571e627190f23da4bb8548065cacd89cAffected
  • 3904b28efb2c780c23dcddfb87e07fe0230661e5 to before 658d9deb45d5032baf388ac51991d1e789157334Affected
  • 3904b28efb2c780c23dcddfb87e07fe0230661e5 to before 889253494ec73d60bd47c0518f8fe3a748520d5bAffected
  • 3904b28efb2c780c23dcddfb87e07fe0230661e5 to before 8f237c408f3007d7d9667623ffb41a9e9d661ee9Affected
  • 3904b28efb2c780c23dcddfb87e07fe0230661e5 to before b52fd1644ad2c4e96bbec97543a966d7ad8f21eaAffected
  • 3904b28efb2c780c23dcddfb87e07fe0230661e5 to before 3a8e68d65a443de05061818823037931674740e0Affected
  • 3904b28efb2c780c23dcddfb87e07fe0230661e5 to before e66215fc1878357d5c980066e650f542330524afAffected
  • 3904b28efb2c780c23dcddfb87e07fe0230661e5 to before 4216db1043a3be72ef9c2b7b9f393d7fa72496e6Affected
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.