CVEvulnerability
CVE-2026-31762
5.5 MEDIUM
Official page ↗
- Status
- Analyzed
- Published
- 2026-05-01
- Last modified
- 2026-06-17
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-401
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.
Affected configurations
• linux linux kernel (>= 4.10 < 5.10.253)
• linux linux kernel (>= 5.11 < 5.15.203)
• linux linux kernel (>= 5.16 < 6.1.168)
• linux linux kernel (>= 6.2 < 6.6.134)
• linux linux kernel (>= 6.7 < 6.12.81)
• linux linux kernel (>= 6.13 < 6.18.22)
• linux linux kernel (>= 6.19 < 6.19.12)
• linux linux kernel 7.0
Related
Weakness · CWE (1)
- CWE-401 Missing Release of Memory after Effective Lifetime weakness
References
- https://git.kernel.org/stable/c/3a8e68d65a443de05061818823037931674740e0 Patch
- https://git.kernel.org/stable/c/4216db1043a3be72ef9c2b7b9f393d7fa72496e6 Patch
- https://git.kernel.org/stable/c/658d9deb45d5032baf388ac51991d1e789157334 Patch
- https://git.kernel.org/stable/c/889253494ec73d60bd47c0518f8fe3a748520d5b Patch
- https://git.kernel.org/stable/c/8f237c408f3007d7d9667623ffb41a9e9d661ee9 Patch
- https://git.kernel.org/stable/c/b52fd1644ad2c4e96bbec97543a966d7ad8f21ea Patch
- https://git.kernel.org/stable/c/beb23092571e627190f23da4bb8548065cacd89c Patch
- https://git.kernel.org/stable/c/e66215fc1878357d5c980066e650f542330524af Patch