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

Not scored Published Updated

A local attacker can cause a runtime PM reference leak in the gp2ap002 light sensor driver, preventing device autosuspend and leading to resource exhaustion.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2026-64494?

CVE-2026-64494 is a denial of service vulnerability in Linux, published on 25 Jul 2026. It can only be exploited from the same machine or local network, with no action from the victim.

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

Which versions are affected by CVE-2026-64494?

How do I fix CVE-2026-64494?

Apply the vendor's patch.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2026-64494 being exploited?

There is no known exploitation of CVE-2026-64494 in the wild and no public exploit code.

Sources

Also known as BELL-CVE-2026-64494, DEBIAN-CVE-2026-64494, GHSA-gpwj-cvm7-rmhj, ROOT-OS-UBUNTU-2204-CVE-2026-64494, UBUNTU-CVE-2026-64494.

Is CVE-2026-64494 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free