# CVE-2026-64494: iio: light: gp2ap002: fix runtime PM leak on read error

- Severity: Low 3.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.16%, higher than 3% of CVEs (2026-11-30)
- Published: 2026-07-25T08:51:51.747Z
- Modified: 2026-11-18T18:51:15.187Z
- Weaknesses: CWE-772
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from f6dbf83c17cb223ceabd7c42d441414f3e0e8a86 before 62e0d74821a02f0e0c5c79b99ae64dc83a9a90f5; from f6dbf83c17cb223ceabd7c42d441414f3e0e8a86 before 7110201c6b21455240c63388f30113f3baafacfc; from f6dbf83c17cb223ceabd7c42d441414f3e0e8a86 before 2593f0c6ea37df168975694a3b17e7086f11453e; from f6dbf83c17cb223ceabd7c42d441414f3e0e8a86 before f350883989ced96d6da7f582f9a6f9c6ffc94e34; from f6dbf83c17cb223ceabd7c42d441414f3e0e8a86 before 29137052c4485c74bc2d1b0717f69ca4de14274f; from f6dbf83c17cb223ceabd7c42d441414f3e0e8a86 before 0c655d067ac69ee24e2e9d706c54179ea58a43db; from f6dbf83c17cb223ceabd7c42d441414f3e0e8a86 before 2ebaea7f3089decb01a8294d89d7e0cf288146c4; from f6dbf83c17cb223ceabd7c42d441414f3e0e8a86 before 38b72267b7e22768a1f26d9935de4e1752a1dc85; f3e84bf3f86bb3b7bd50666bb8ef7a203a656ca3; from 5.7.6 before 5.8; 5.8 (not affected: before 5.8; from 5.10.261 up to 5.10.*; from 5.15.212 up to 5.15.*; from 6.1.178 up to 6.1.*; from 6.6.145 up to 6.6.*; from 6.12.96 up to 6.12.*; from 6.18.39 up to 6.18.*; from 7.1.4 up to 7.1.*; from 7.2 up to *)
- linux linux_kernel: from 5.7.6 before 5.10.261; from 5.11 before 5.15.212; from 5.16 before 6.1.178; from 6.2 before 6.6.145; from 6.7 before 6.12.96; from 6.13 before 6.18.39; from 6.19 before 7.1.4; 7.2

## References

- <https://git.kernel.org/stable/c/62e0d74821a02f0e0c5c79b99ae64dc83a9a90f5> (patch)
- <https://git.kernel.org/stable/c/7110201c6b21455240c63388f30113f3baafacfc> (patch)
- <https://git.kernel.org/stable/c/2593f0c6ea37df168975694a3b17e7086f11453e> (patch)
- <https://git.kernel.org/stable/c/f350883989ced96d6da7f582f9a6f9c6ffc94e34> (patch)
- <https://git.kernel.org/stable/c/29137052c4485c74bc2d1b0717f69ca4de14274f> (patch)
- <https://git.kernel.org/stable/c/0c655d067ac69ee24e2e9d706c54179ea58a43db> (patch)
- <https://git.kernel.org/stable/c/2ebaea7f3089decb01a8294d89d7e0cf288146c4> (patch)
- <https://git.kernel.org/stable/c/38b72267b7e22768a1f26d9935de4e1752a1dc85> (patch)

## Sources

- CVE List: [CVE-2026-64494](https://www.cve.org/CVERecord?id=CVE-2026-64494), CVE Terms of Use, modified 2026-08-17
- NVD: [CVE-2026-64494](https://nvd.nist.gov/vuln/detail/CVE-2026-64494), Public domain, modified 2026-11-18

---

Page: https://cve.day/CVE-2026-64494 · Whole record: https://cve.day/CVE-2026-64494.json · Rebuilt by cve.day 2026-11-25T22:59:30.146Z
