iio: gyro: mpu3050: Fix irq resource leak
Summary
| CVE | CVE-2026-31762 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-05-01 15:16:39 UTC |
| Updated | 2026-05-08 18:09:23 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 5.5 MEDIUM from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
EPSS: 0.000240000 probability, percentile 0.068060000 (date 2026-05-05)
Problem Types: CWE-401
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
NoneIntegrity
NoneAvailability
HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 3904b28efb2c780c23dcddfb87e07fe0230661e5 beb23092571e627190f23da4bb8548065cacd89c git | Not specified |
| CNA | Linux | Linux | affected 3904b28efb2c780c23dcddfb87e07fe0230661e5 658d9deb45d5032baf388ac51991d1e789157334 git | Not specified |
| CNA | Linux | Linux | affected 3904b28efb2c780c23dcddfb87e07fe0230661e5 889253494ec73d60bd47c0518f8fe3a748520d5b git | Not specified |
| CNA | Linux | Linux | affected 3904b28efb2c780c23dcddfb87e07fe0230661e5 8f237c408f3007d7d9667623ffb41a9e9d661ee9 git | Not specified |
| CNA | Linux | Linux | affected 3904b28efb2c780c23dcddfb87e07fe0230661e5 b52fd1644ad2c4e96bbec97543a966d7ad8f21ea git | Not specified |
| CNA | Linux | Linux | affected 3904b28efb2c780c23dcddfb87e07fe0230661e5 3a8e68d65a443de05061818823037931674740e0 git | Not specified |
| CNA | Linux | Linux | affected 3904b28efb2c780c23dcddfb87e07fe0230661e5 e66215fc1878357d5c980066e650f542330524af git | Not specified |
| CNA | Linux | Linux | affected 3904b28efb2c780c23dcddfb87e07fe0230661e5 4216db1043a3be72ef9c2b7b9f393d7fa72496e6 git | Not specified |
| CNA | Linux | Linux | affected 4.10 | Not specified |
| CNA | Linux | Linux | unaffected 4.10 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.253 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.203 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.168 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.134 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.81 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.22 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.19.12 6.19.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.0 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/658d9deb45d5032baf388ac51991d1e789157334 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/b52fd1644ad2c4e96bbec97543a966d7ad8f21ea | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/e66215fc1878357d5c980066e650f542330524af | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/889253494ec73d60bd47c0518f8fe3a748520d5b | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/beb23092571e627190f23da4bb8548065cacd89c | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/4216db1043a3be72ef9c2b7b9f393d7fa72496e6 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/3a8e68d65a443de05061818823037931674740e0 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| git.kernel.org/stable/c/8f237c408f3007d7d9667623ffb41a9e9d661ee9 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | Patch |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.