CVE-2026-64494
UNKNOWN
NVD
CVSS Score
0
Severity
UNKNOWN
Published
Jul 25, 2026
Vendor
unknown
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.
References
- https://git.kernel.org/stable/c/0c655d067ac69ee24e2e9d706c54179ea58a43db
- https://git.kernel.org/stable/c/2593f0c6ea37df168975694a3b17e7086f11453e
- https://git.kernel.org/stable/c/29137052c4485c74bc2d1b0717f69ca4de14274f
- https://git.kernel.org/stable/c/2ebaea7f3089decb01a8294d89d7e0cf288146c4
- https://git.kernel.org/stable/c/38b72267b7e22768a1f26d9935de4e1752a1dc85