CVE-2026-64494
iio: light: gp2ap002: fix runtime PM leak on read error
Reported by linux · Published July 25, 2026
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.
EPSS 0.12% · 1.8th percentile
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| linux_kernel | linux | 7.1.4, 6.18.39, 6.12.96, 6.6.145, 6.1.178, 5.15.212, 5.10.261 |
| Linux | Linux | 5.8 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Linux | Linux | f6dbf83c17cb223ceabd7c42d441414f3e0e8a86, f6dbf83c17cb223ceabd7c42d441414f3e0e8a86, f6dbf83c17cb223ceabd7c42d441414f3e0e8a86 |
| Linux | Linux | 5.8, 0, 5.10.261 |
| Linux | Linux | 7.2, 5.8, 0 |
| linux | linux_kernel | 5.8, 5.8, 5.8 |
Timeline
- Jul 25, 2026 EPSS Score (15 in total, the first dated here)
- Jul 25, 2026 Coalition ESS Score
- Jul 25, 2026 CVE Published
- Jul 26, 2026 Security Advisory (20 in total, the first dated here)
- Aug 9, 2026 CVE Updated
- Aug 12, 2026 Distribution Patch (21 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-64494
vulnetix vdb fixes CVE-2026-64494
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-64494/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart