In the Linux kernel, the following vulnerability has been resolved: iio: light: gp2ap002: fix runtime PM leak on read error gp2ap002_read_raw()… (CVE-2026-64494)
A vulnerability in the Linux kernel's gp2ap002 light sensor driver caused a runtime power management (PM) reference leak when a read error occurred. Specifically, the function gp2ap002_read_raw() called pm_runtime_get_sync() but failed to properly release the reference if gp2ap002_get_lux() returned an error, preventing the device from autosuspending. This issue has been resolved by ensuring the reference is properly dropped on error paths.
AI Analysis
Technical Summary
The Linux kernel's gp2ap002 light sensor driver had a flaw in its power management handling. The function gp2ap002_read_raw() invoked pm_runtime_get_sync() before reading the lux value, but if gp2ap002_get_lux() failed, the function returned immediately without calling pm_runtime_put_autosuspend(), causing a permanent runtime PM reference leak. This prevented the device from autosuspending as intended. The fix replaced the direct return with a 'goto out' statement to ensure the reference is released correctly even on error.
Potential Impact
The vulnerability causes a runtime power management reference leak that prevents the affected device from entering autosuspend mode. This could lead to increased power consumption and reduced battery life on devices using the gp2ap002 light sensor driver. There is no indication of direct security compromise or code execution impact.
Mitigation Recommendations
A fix for this issue has been implemented in the Linux kernel source code by correcting the error handling path to properly release the runtime PM reference. Users should apply the official Linux kernel updates that include this fix. Patch status is not explicitly confirmed in the provided data; therefore, check the vendor advisory or Linux kernel release notes for the exact fixed versions and apply updates accordingly.
In the Linux kernel, the following vulnerability has been resolved: iio: light: gp2ap002: fix runtime PM leak on read error gp2ap002_read_raw()… (CVE-2026-64494)
Description
A vulnerability in the Linux kernel's gp2ap002 light sensor driver caused a runtime power management (PM) reference leak when a read error occurred. Specifically, the function gp2ap002_read_raw() called pm_runtime_get_sync() but failed to properly release the reference if gp2ap002_get_lux() returned an error, preventing the device from autosuspending. This issue has been resolved by ensuring the reference is properly dropped on error paths.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The Linux kernel's gp2ap002 light sensor driver had a flaw in its power management handling. The function gp2ap002_read_raw() invoked pm_runtime_get_sync() before reading the lux value, but if gp2ap002_get_lux() failed, the function returned immediately without calling pm_runtime_put_autosuspend(), causing a permanent runtime PM reference leak. This prevented the device from autosuspending as intended. The fix replaced the direct return with a 'goto out' statement to ensure the reference is released correctly even on error.
Potential Impact
The vulnerability causes a runtime power management reference leak that prevents the affected device from entering autosuspend mode. This could lead to increased power consumption and reduced battery life on devices using the gp2ap002 light sensor driver. There is no indication of direct security compromise or code execution impact.
Mitigation Recommendations
A fix for this issue has been implemented in the Linux kernel source code by correcting the error handling path to properly release the runtime PM reference. Users should apply the official Linux kernel updates that include this fix. Patch status is not explicitly confirmed in the provided data; therefore, check the vendor advisory or Linux kernel release notes for the exact fixed versions and apply updates accordingly.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-gpwj-cvm7-rmhj
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-64494"]
- Ecosystems
- []
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a6542069c2644c7f808207e
Added to database: 07/25/2026, 23:08:54 UTC
Last enriched: 07/25/2026, 23:13:58 UTC
Last updated: 07/26/2026, 03:42:33 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.