Skip to contentSkip to conversation

CVE-2026-89935: iio: light: apds9306: fix PM reference leak in apds9306_read_data()

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: apds9306: fix PM reference leak in apds9306_read_data()

apds9306_read_data() calls pm_runtime_resume_and_get() but several error paths return directly without calling pm_runtime_put_autosuspend(), leaking the runtime PM reference and preventing the device from autosuspending.

Use PM_RUNTIME_ACQUIRE_AUTOSUSPEND() and PM_RUNTIME_ACQUIRE_ERR() to automatically handle runtime PM reference release on all return paths.

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

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

	Issue introduced in 6.10 with commit 620d1e6c7a3fcc54c641f091e07b9040f13def19 and fixed in 6.18.52 with commit f3d97800b03cd39ec135e544dcd0a93ffd18e4c7
	Issue introduced in 6.10 with commit 620d1e6c7a3fcc54c641f091e07b9040f13def19 and fixed in 7.2.5 with commit 3ce75e455dd6eaa775fb0badb31c0b100c7a01fe
	Issue introduced in 6.10 with commit 620d1e6c7a3fcc54c641f091e07b9040f13def19 and fixed in 7.3-rc1 with commit d378fceaafd79e0dc59d3546bda251a3058062c0

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

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/apds9306.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/f3d97800b03cd39ec135e544dcd0a93ffd18e4c7
	https://git.kernel.org/stable/c/3ce75e455dd6eaa775fb0badb31c0b100c7a01fe
	https://git.kernel.org/stable/c/d378fceaafd79e0dc59d3546bda251a3058062c0