iio: pressure: mpl115: fix runtime PM leak on read error
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.18.39, Kernel 7.1.4, Kernel 6.6.145 and 6 more.
In the Linux kernel, the following vulnerability has been resolved: iio: pressure: mpl115: fix runtime PM leak on read error mpl115_read_raw() takes a runtime PM reference with pm_runtime_get_sync() before reading the processed pressure or raw temperature, but on the read error path it returns without calling pm_runtime_put_autosuspend(). Each failed read therefore leaks a runtime PM reference and prevents the device from autosuspending. Drop the reference before checking the return value so both the success and error paths are balanced.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=6.13 <6.18.39, >=6.19 <7.1.4, >=6.2 <6.6.145, >=6.7 <6.12.97, =7.2, >=0c3a333524a3e5ba4b6c7b2638faef8420cfdb2a <5022f4ed5aae974ec530e3cbf0bd223be13055f7, >=0c3a333524a3e5ba4b6c7b2638faef8420cfdb2a <aab0fed636b14a5fd52fcae58b484f1cb96b841d, >=0c3a333524a3e5ba4b6c7b2638faef8420cfdb2a <b3f1af4ba8e9cf33aa08c4cdcaa5a17b140521ec, >=0c3a333524a3e5ba4b6c7b2638faef8420cfdb2a <fbe67ff37a6fd855a6c097f84f3738bd13d0a898, =6.2, >=0c3a333524a3e5ba4b6c7b2638faef8420cfdb2a <46e69d3dd429b33e50e2731913239f6af4ea2705 | 6.18.39, 7.1.4, 6.6.145, 6.12.97, 5022f4ed5aae974ec530e3cbf0bd223be13055f7, aab0fed636b14a5fd52fcae58b484f1cb96b841d, b3f1af4ba8e9cf33aa08c4cdcaa5a17b140521ec, fbe67ff37a6fd855a6c097f84f3738bd13d0a898, 46e69d3dd429b33e50e2731913239f6af4ea2705 |
| linux-kernel: Kernel | >=6.13.0 <6.18.39, >=6.19.0 <7.1.4, >=6.2.0 <6.6.145, >=6.7.0 <6.12.97 | 6.18.39, 7.1.4, 6.6.145, 6.12.97 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket