Junglewise Threat Intelligence

CVE-2026-64494: Linux Kernel GP2AP002 light sensor runtime PM leak in gp2ap002_read_raw

CVE-2026-64494 · Severity: info · CVSS 2.1 · Published 2026-07-25

Technologies: Linux Core Team Linux Kernel. Vendors: Linux.

Executive brief

A vulnerability was identified in the Linux kernel's driver for the Sharp GP2AP002 light sensor. When the system fails to read data from the sensor, it fails to release a power management lock, which prevents the device from entering a low-power sleep state. This can lead to increased power consumption and battery drain on affected hardware, though it does not directly expose user data.

Technical details

A runtime Power Management (PM) reference leak exists in the gp2ap002_read_raw() function within drivers/iio/light/gp2ap002.c. The function calls pm_runtime_get_sync() to wake the device, but if a subsequent call to gp2ap002_get_lux() fails, the function returns an error code immediately without calling pm_runtime_put_autosuspend(). This results in a permanent increment of the PM usage counter, preventing the device from ever autosuspending. An attacker with local access could potentially trigger this error repeatedly to cause a denial of service regarding power management (battery exhaustion). The issue has been resolved by replacing the direct return with a jump to the proper cleanup label.

Affected products

  • Linux Core Team Linux Kernel 5.8 to 6.10.x

Timeline

  • 2026-06-14: patched: Initial patch authored by Biren Pandya
  • 2026-07-25: disclosed: CVE-2026-64494 published via NVD

References

Related threats