Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
0c3a333524a3e5ba4b6c7b2638faef8420cfdb2a to < 5022f4ed5aae974ec530e3cbf0bd223be13055f7affected0c3a333524a3e5ba4b6c7b2638faef8420cfdb2a to < aab0fed636b14a5fd52fcae58b484f1cb96b841daffected0c3a333524a3e5ba4b6c7b2638faef8420cfdb2a to < b3f1af4ba8e9cf33aa08c4cdcaa5a17b140521ecaffected0c3a333524a3e5ba4b6c7b2638faef8420cfdb2a to < 46e69d3dd429b33e50e2731913239f6af4ea2705affected0c3a333524a3e5ba4b6c7b2638faef8420cfdb2a to < fbe67ff37a6fd855a6c097f84f3738bd13d0a898affected
Linux Linux
Default version status: affected
6.2affected0 to < 6.2unaffected6.6.145 to ≤ 6.6.*unaffected6.12.97 to ≤ 6.12.*unaffected6.18.39 to ≤ 6.18.*unaffected7.1.4 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/5022f4ed5aae974ec530e3cbf0bd223be13055f7 ↗
- https://git.kernel.org/stable/c/aab0fed636b14a5fd52fcae58b484f1cb96b841d ↗
- https://git.kernel.org/stable/c/b3f1af4ba8e9cf33aa08c4cdcaa5a17b140521ec ↗
- https://git.kernel.org/stable/c/46e69d3dd429b33e50e2731913239f6af4ea2705 ↗
- https://git.kernel.org/stable/c/fbe67ff37a6fd855a6c097f84f3738bd13d0a898 ↗