CVE-2026-31762

Source
https://cve.org/CVERecord?id=CVE-2026-31762
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-31762.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2026-31762
Downstream
Published
2026-05-01T14:14:53.891Z
Modified
2026-05-18T05:59:54.385568885Z
Summary
iio: gyro: mpu3050: Fix irq resource leak
Details

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 iiotriggerregister() 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 mpu3050triggerprobe() warn: 'irq' from requestthreadedirq() not released on lines: 1124.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31762.json",
    "cna_assigner": "Linux"
}
References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
3904b28efb2c780c23dcddfb87e07fe0230661e5
Fixed
beb23092571e627190f23da4bb8548065cacd89c
Fixed
658d9deb45d5032baf388ac51991d1e789157334
Fixed
889253494ec73d60bd47c0518f8fe3a748520d5b
Fixed
8f237c408f3007d7d9667623ffb41a9e9d661ee9
Fixed
b52fd1644ad2c4e96bbec97543a966d7ad8f21ea
Fixed
3a8e68d65a443de05061818823037931674740e0
Fixed
e66215fc1878357d5c980066e650f542330524af
Fixed
4216db1043a3be72ef9c2b7b9f393d7fa72496e6

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-31762.json"

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.10.0
Fixed
5.10.253
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.203
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.168
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.134
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.12.81
Type
ECOSYSTEM
Events
Introduced
6.13.0
Fixed
6.18.22
Type
ECOSYSTEM
Events
Introduced
6.19.0
Fixed
6.19.12

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-31762.json"