{"id":"CVE-2026-31762","summary":"iio: gyro: mpu3050: Fix irq resource leak","details":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: gyro: mpu3050: Fix irq resource leak\n\nThe interrupt handler is setup but only a few lines down if\niio_trigger_register() fails the function returns without properly\nreleasing the handler.\n\nAdd cleanup goto to resolve resource leak.\n\nDetected by Smatch:\ndrivers/iio/gyro/mpu3050-core.c:1128 mpu3050_trigger_probe() warn:\n'irq' from request_threaded_irq() not released on lines: 1124.","modified":"2026-05-18T05:59:54.385568885Z","published":"2026-05-01T14:14:53.891Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31762.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/3a8e68d65a443de05061818823037931674740e0"},{"type":"WEB","url":"https://git.kernel.org/stable/c/4216db1043a3be72ef9c2b7b9f393d7fa72496e6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/658d9deb45d5032baf388ac51991d1e789157334"},{"type":"WEB","url":"https://git.kernel.org/stable/c/889253494ec73d60bd47c0518f8fe3a748520d5b"},{"type":"WEB","url":"https://git.kernel.org/stable/c/8f237c408f3007d7d9667623ffb41a9e9d661ee9"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b52fd1644ad2c4e96bbec97543a966d7ad8f21ea"},{"type":"WEB","url":"https://git.kernel.org/stable/c/beb23092571e627190f23da4bb8548065cacd89c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e66215fc1878357d5c980066e650f542330524af"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31762.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31762"},{"type":"PACKAGE","url":"https://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"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"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"}}],"schema_version":"1.7.5"}