Bug 2507212 (CVE-2026-64494) - CVE-2026-64494 kernel: iio: light: gp2ap002: fix runtime PM leak on read error
Summary: CVE-2026-64494 kernel: iio: light: gp2ap002: fix runtime PM leak on read error
Keywords:
Status: NEW
Alias: CVE-2026-64494
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-25 10:10 UTC by OSIDB Bzimport
Modified: 2026-07-29 11:05 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-07-25 10:10:56 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.