CVE-2026-64494
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.
How to fix
- Linux Linux62e0d74821a02f0e0c5c79b99ae64dc83a9a90f5, 7110201c6b21455240c63388f30113f3baafacfc, 2593f0c6ea37df168975694a3b17e7086f11453e, f350883989ced96d6da7f582f9a6f9c6ffc94e34, 29137052c4485c74bc2d1b0717f69ca4de14274f, 0c655d067ac69ee24e2e9d706c54179ea58a43db, 2ebaea7f3089decb01a8294d89d7e0cf288146c4, 38b72267b7e22768a1f26d9935de4e1752a1dc85, 5.8 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Linux Linux | f6dbf83c17cb223ceabd7c42d441414f3e0e8a86 ≤ v < 62e0d74821a02f0e0c5c79b99ae64dc83a9a90f5, f6dbf83c17cb223ceabd7c42d441414f3e0e8a86 ≤ v < 7110201c6b21455240c63388f30113f3baafacfc, f6dbf83c17cb223ceabd7c42d441414f3e0e8a86 ≤ v < 2593f0c6ea37df168975694a3b17e7086f11453e, f6dbf83c17cb223ceabd7c42d441414f3e0e8a86 ≤ v < f350883989ced96d6da7f582f9a6f9c6ffc94e34, f6dbf83c17cb223ceabd7c42d441414f3e0e8a86 ≤ v < 29137052c4485c74bc2d1b0717f69ca4de14274f, f6dbf83c17cb223ceabd7c42d441414f3e0e8a86 ≤ v < 0c655d067ac69ee24e2e9d706c54179ea58a43db, f6dbf83c17cb223ceabd7c42d441414f3e0e8a86 ≤ v < 2ebaea7f3089decb01a8294d89d7e0cf288146c4, f6dbf83c17cb223ceabd7c42d441414f3e0e8a86 ≤ v < 38b72267b7e22768a1f26d9935de4e1752a1dc85, f3e84bf3f86bb3b7bd50666bb8ef7a203a656ca3, 5.7.6 ≤ v < 5.8, 5.8 | 62e0d74821a02f0e0c5c79b99ae64dc83a9a90f5, 7110201c6b21455240c63388f30113f3baafacfc, 2593f0c6ea37df168975694a3b17e7086f11453e, f350883989ced96d6da7f582f9a6f9c6ffc94e34, 29137052c4485c74bc2d1b0717f69ca4de14274f, 0c655d067ac69ee24e2e9d706c54179ea58a43db, 2ebaea7f3089decb01a8294d89d7e0cf288146c4, 38b72267b7e22768a1f26d9935de4e1752a1dc85, 5.8 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.