iio: light: gp2ap002: fix runtime PM leak on read error
Summary
| CVE | CVE-2026-64494 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-07-25 10:17:35 UTC |
| Updated | 2026-07-25 10:17:35 UTC |
| 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. |
Risk And Classification
EPSS: 0.001770000 probability, percentile 0.074960000 (date 2026-07-28)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected f6dbf83c17cb223ceabd7c42d441414f3e0e8a86 62e0d74821a02f0e0c5c79b99ae64dc83a9a90f5 git | Not specified |
| CNA | Linux | Linux | affected f6dbf83c17cb223ceabd7c42d441414f3e0e8a86 7110201c6b21455240c63388f30113f3baafacfc git | Not specified |
| CNA | Linux | Linux | affected f6dbf83c17cb223ceabd7c42d441414f3e0e8a86 2593f0c6ea37df168975694a3b17e7086f11453e git | Not specified |
| CNA | Linux | Linux | affected f6dbf83c17cb223ceabd7c42d441414f3e0e8a86 f350883989ced96d6da7f582f9a6f9c6ffc94e34 git | Not specified |
| CNA | Linux | Linux | affected f6dbf83c17cb223ceabd7c42d441414f3e0e8a86 29137052c4485c74bc2d1b0717f69ca4de14274f git | Not specified |
| CNA | Linux | Linux | affected f6dbf83c17cb223ceabd7c42d441414f3e0e8a86 0c655d067ac69ee24e2e9d706c54179ea58a43db git | Not specified |
| CNA | Linux | Linux | affected f6dbf83c17cb223ceabd7c42d441414f3e0e8a86 2ebaea7f3089decb01a8294d89d7e0cf288146c4 git | Not specified |
| CNA | Linux | Linux | affected f6dbf83c17cb223ceabd7c42d441414f3e0e8a86 38b72267b7e22768a1f26d9935de4e1752a1dc85 git | Not specified |
| CNA | Linux | Linux | affected f3e84bf3f86bb3b7bd50666bb8ef7a203a656ca3 git | Not specified |
| CNA | Linux | Linux | affected 5.7.6 5.8 semver | Not specified |
| CNA | Linux | Linux | affected 5.8 | Not specified |
| CNA | Linux | Linux | unaffected 5.8 semver | Not specified |
| CNA | Linux | Linux | unaffected 5.10.261 5.10.* semver | Not specified |
| CNA | Linux | Linux | unaffected 5.15.212 5.15.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.1.178 6.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.145 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.96 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.39 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.1.4 7.1.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.2-rc3 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/7110201c6b21455240c63388f30113f3baafacfc | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/38b72267b7e22768a1f26d9935de4e1752a1dc85 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/f350883989ced96d6da7f582f9a6f9c6ffc94e34 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/2593f0c6ea37df168975694a3b17e7086f11453e | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/2ebaea7f3089decb01a8294d89d7e0cf288146c4 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/62e0d74821a02f0e0c5c79b99ae64dc83a9a90f5 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/0c655d067ac69ee24e2e9d706c54179ea58a43db | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/29137052c4485c74bc2d1b0717f69ca4de14274f | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.