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

iio: light: gp2ap002: fix runtime PM leak on read error

gp2ap002_read_raw() calls pm_runtime_get_sync() before reading the
lux value, but if gp2ap002_get_lux() fails, it returns directly. This
skips the pm_runtime_put_autosuspend() call at the "out" label,
permanently leaking a runtime PM reference and preventing the device
from autosuspending.

Replace the direct return with a "goto out" to ensure the reference
is properly dropped on the error path.
Published: 2026-07-25
Score: n/a
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The gp2ap002 driver for the Linux IIO light subsystem incorrectly handles errors from gp2ap002_get_lux(). It calls pm_runtime_get_sync() before attempting to read a lux value, but if the read fails it returns immediately without executing pm_runtime_put_autosuspend(). This means the runtime power‑management reference is never released, creating a permanent resource leak that prevents the device from autosuspending. The weakness is a resource leak (CWE‑772) and does not provide an attacker any path to arbitrary code execution or data compromise.

Affected Systems

The issue resides in the gp2ap002 IIO light driver bundled with the Linux kernel. Any kernel version that includes this driver and predates the commit 0c655d067ac69ee24e2e9d706c54179ea58a43db is affected. The vendor is the Linux kernel project, the product is the Linux kernel itself.

Risk and Exploitability

The EPSS score is < 1 % and the vulnerability is not listed in the CISA KEV catalog, indicating a very low likelihood of exploitation. The attack vector is local and inferred from the description: an application or system process must trigger gp2ap002_get_lux() and induce a read error. It does not involve network or remote code execution. The primary risk is the prevention of autosuspend, which can increase power consumption and affect battery life or thermal performance in portable or embedded systems without compromising confidentiality or integrity.

Generated by OpenCVE AI on August 5, 2026 at 00:22 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the kernel to a version that contains the patch commit 0c655d067ac69ee24e2e9d706c54179ea58a43db.
  • If an immediate kernel update is not possible, obtain the patch from the Linux kernel repository, apply it to your kernel source, rebuild the kernel, and reboot into the patched kernel.
  • If rebuilding the kernel is not feasible, disable the gp2ap002 driver (e.g., blacklist the module or prevent it from loading) or replace it with an alternative sensor driver that does not exhibit the load reference leak.

Generated by OpenCVE AI on August 5, 2026 at 00:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4717-1 linux security update
Debian DLA Debian DLA DLA-4720-1 linux security update
Debian DLA Debian DLA DLA-4723-1 linux-6.1 security update
Debian DLA Debian DLA DLA-4724-1 linux-6.12 new package
History

Tue, 04 Aug 2026 14:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401

Wed, 29 Jul 2026 12:15:00 +0000


Tue, 28 Jul 2026 16:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-401

Sat, 25 Jul 2026 09:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: iio: light: gp2ap002: fix runtime PM leak on read error gp2ap002_read_raw() calls pm_runtime_get_sync() before reading the lux value, but if gp2ap002_get_lux() fails, it returns directly. This skips the pm_runtime_put_autosuspend() call at the "out" label, permanently leaking a runtime PM reference and preventing the device from autosuspending. Replace the direct return with a "goto out" to ensure the reference is properly dropped on the error path.
Title iio: light: gp2ap002: fix runtime PM leak on read error
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-07-25T08:51:51.747Z

Reserved: 2026-07-19T15:36:31.792Z

Link: CVE-2026-64494

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-07-25T10:17:35.230

Modified: 2026-07-25T10:17:35.230

Link: CVE-2026-64494

cve-icon Redhat

Severity :

Publid Date: 2026-07-25T00:00:00Z

Links: CVE-2026-64494 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-05T00:30:05Z

Weaknesses
  • CWE-772

    Missing Release of Resource after Effective Lifetime