CVE-2026-64493: iio: pressure: mpl115: fix runtime PM leak on read error

Greg Kroah-Hartman <[email protected]> Sat, 25 Jul 2026 10:51:50 +0200
Newsgroups org.kernel.vger.linux-cve-announce
Message-ID <2026072550-CVE-2026-64493-6e13@gregkh>
From: Greg Kroah-Hartman <[email protected]>

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.

The Linux kernel CVE team has assigned CVE-2026-64493 to this issue.


Affected and fixed versions
===========================

	Issue introduced in 6.2 with commit 0c3a333524a3e5ba4b6c7b2638faef8420cfdb2a and fixed in 6.6.145 with commit 5022f4ed5aae974ec530e3cbf0bd223be13055f7
	Issue introduced in 6.2 with commit 0c3a333524a3e5ba4b6c7b2638faef8420cfdb2a and fixed in 6.12.97 with commit aab0fed636b14a5fd52fcae58b484f1cb96b841d
	Issue introduced in 6.2 with commit 0c3a333524a3e5ba4b6c7b2638faef8420cfdb2a and fixed in 6.18.39 with commit b3f1af4ba8e9cf33aa08c4cdcaa5a17b140521ec
	Issue introduced in 6.2 with commit 0c3a333524a3e5ba4b6c7b2638faef8420cfdb2a and fixed in 7.1.4 with commit 46e69d3dd429b33e50e2731913239f6af4ea2705
	Issue introduced in 6.2 with commit 0c3a333524a3e5ba4b6c7b2638faef8420cfdb2a and fixed in 7.2-rc3 with commit fbe67ff37a6fd855a6c097f84f3738bd13d0a898

Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to
older supported kernel versions.  The official CVE entry at
	https://cve.org/CVERecord/?id=CVE-2026-64493
will be updated if fixes are backported, please check that for the most
up to date information about this issue.


Affected files
==============

The file(s) affected by this issue are:
	drivers/iio/pressure/mpl115.c


Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes.  Individual
changes are never tested alone, but rather are part of a larger kernel
release.  Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all.  If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
	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