Skip to contentSkip to conversation

CVE-2026-89934: iio: light: ltrf216a: fix runtime PM reference leak in error path

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Sep 16

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

In the Linux kernel, the following vulnerability has been resolved:

iio: light: ltrf216a: fix runtime PM reference leak in error path

ltrf216a_get_lux() acquires a runtime PM reference by calling ltrf216a_set_power_state(data, true). However, if ltrf216a_read_data() fails, the function returns immediately without dropping the reference.

This leaves the runtime PM usage count unbalanced, preventing the device from autosuspending after a failed read.

Fix this by releasing the runtime PM reference before returning from the error path.

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

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

	Issue introduced in 6.1 with commit 83f0bcd40d5cf88870d2f2bb8b97c772b92a3d1f and fixed in 6.12.110 with commit c4f003d8578f5718fe1ec332bc89f9ff69fd205b
	Issue introduced in 6.1 with commit 83f0bcd40d5cf88870d2f2bb8b97c772b92a3d1f and fixed in 6.18.51 with commit 0614928a3eda35bddd8c2f02311e286b59bbe746
	Issue introduced in 6.1 with commit 83f0bcd40d5cf88870d2f2bb8b97c772b92a3d1f and fixed in 7.2.5 with commit 80e7381e8cccb543397572af153865f34aaf4353
	Issue introduced in 6.1 with commit 83f0bcd40d5cf88870d2f2bb8b97c772b92a3d1f and fixed in 7.3-rc1 with commit c132aef0e757a39036b1d40faf0569f2e343b13e

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-89934

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/light/ltrf216a.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/c4f003d8578f5718fe1ec332bc89f9ff69fd205b
	https://git.kernel.org/stable/c/0614928a3eda35bddd8c2f02311e286b59bbe746
	https://git.kernel.org/stable/c/80e7381e8cccb543397572af153865f34aaf4353
	https://git.kernel.org/stable/c/c132aef0e757a39036b1d40faf0569f2e343b13e