CVE-2026-64494
iio: light: gp2ap002: fix runtime PM leak on read error
CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th
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.
| Vendor | linux |
| Product | linux |
| Ecosystems | |
| Industries | Technology |
| Published | Jul 25, 2026 |
Stay Ahead of the Next One
Get instant alerts for linux linux
Be the first to know when new unknown vulnerabilities affecting linux linux are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
Affected Versions
Linux / Linux
f6dbf83c17cb223ceabd7c42d441414f3e0e8a86 < 62e0d74821a02f0e0c5c79b99ae64dc83a9a90f5 f6dbf83c17cb223ceabd7c42d441414f3e0e8a86 < 7110201c6b21455240c63388f30113f3baafacfc f6dbf83c17cb223ceabd7c42d441414f3e0e8a86 < 2593f0c6ea37df168975694a3b17e7086f11453e f6dbf83c17cb223ceabd7c42d441414f3e0e8a86 < f350883989ced96d6da7f582f9a6f9c6ffc94e34 f6dbf83c17cb223ceabd7c42d441414f3e0e8a86 < 29137052c4485c74bc2d1b0717f69ca4de14274f f6dbf83c17cb223ceabd7c42d441414f3e0e8a86 < 0c655d067ac69ee24e2e9d706c54179ea58a43db f6dbf83c17cb223ceabd7c42d441414f3e0e8a86 < 2ebaea7f3089decb01a8294d89d7e0cf288146c4 f6dbf83c17cb223ceabd7c42d441414f3e0e8a86 < 38b72267b7e22768a1f26d9935de4e1752a1dc85 f3e84bf3f86bb3b7bd50666bb8ef7a203a656ca3 5.7.6 < 5.8
Linux / Linux
5.8
References
git.kernel.org: https://git.kernel.org/stable/c/62e0d74821a02f0e0c5c79b99ae64dc83a9a90f5 git.kernel.org: https://git.kernel.org/stable/c/7110201c6b21455240c63388f30113f3baafacfc git.kernel.org: https://git.kernel.org/stable/c/2593f0c6ea37df168975694a3b17e7086f11453e git.kernel.org: https://git.kernel.org/stable/c/f350883989ced96d6da7f582f9a6f9c6ffc94e34 git.kernel.org: https://git.kernel.org/stable/c/29137052c4485c74bc2d1b0717f69ca4de14274f git.kernel.org: https://git.kernel.org/stable/c/0c655d067ac69ee24e2e9d706c54179ea58a43db git.kernel.org: https://git.kernel.org/stable/c/2ebaea7f3089decb01a8294d89d7e0cf288146c4 git.kernel.org: https://git.kernel.org/stable/c/38b72267b7e22768a1f26d9935de4e1752a1dc85