CVE-2026-64494
iio: light: gp2ap002: fix runtime PM leak on read error
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 5.8
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
Summary
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.
Timeline
- CVE published
- Record last updated
Affected versions
- Linux Linux
From 5.7.6 · fixed in 5.8
- Linux Linux
5.8
References 8
git.kernel.org
- stable/c/62e0d74821a02f0e0c5c79b99ae64dc83a9a90f5
- stable/c/7110201c6b21455240c63388f30113f3baafacfc
- stable/c/2593f0c6ea37df168975694a3b17e7086f11453e
- stable/c/f350883989ced96d6da7f582f9a6f9c6ffc94e34
- stable/c/29137052c4485c74bc2d1b0717f69ca4de14274f
- stable/c/0c655d067ac69ee24e2e9d706c54179ea58a43db
- stable/c/2ebaea7f3089decb01a8294d89d7e0cf288146c4
- stable/c/38b72267b7e22768a1f26d9935de4e1752a1dc85