CVE-2026-89939: iio: chemical: atlas-sensor: fix PM reference leak in buffer postenable
In the Linux kernel, the following vulnerability has been resolved:
iio: chemical: atlas-sensor: fix PM reference leak in buffer postenable
atlasbufferpostenable() acquires a runtime PM reference with pmruntimeresumeandget() but returns the result of atlassetinterrupt() directly. If atlassetinterrupt() fails, the runtime PM reference is leaked and the device can never autosuspend.
Add pmruntimeputautosuspend() on the error path to balance the reference.
Affected Software
Event History
Frequently Asked Questions
What systems are exposed to this issue?
Systems using the Linux kernel atlas-sensor IIO chemical driver are affected when the buffer post-enable path runs and atlas_set_interrupt() fails. The impact is a leaked runtime PM reference that prevents the device from autosuspending.
What must occur for the leak to be triggered?
The atlas_buffer_postenable() path must acquire a runtime PM reference successfully, followed by a failure from atlas_set_interrupt(). The provided information does not identify the specific conditions that cause atlas_set_interrupt() to fail.
How can I tell whether a device is affected at runtime?
An affected device can remain unable to autosuspend after an atlas-sensor buffer post-enable attempt fails. The supplied data does not provide a log message, diagnostic command, or other definitive detection indicator.