Skip to main content
← All vulnerabilities
CVE-2026-64494

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.8
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • Linux Linux

    From 5.7.6 · fixed in 5.8

  • Linux Linux

    5.8

References 8

git.kernel.org