iio: light: ltrf216a: fix runtime PM reference leak in error path
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel c4f003d8578f5718fe1ec332bc89f9ff69fd205b, Kernel 0614928a3eda35bddd8c2f02311e286b59bbe746, Kernel 4bf5525c6ff4a9f8df35bcc227a918b6396b2cb5 and 8 more.
In the Linux kernel, the following vulnerability has been resolved: iio: light: ltrf216a: fix runtime PM reference leak in error path ltrf216a_get_lux() acquires a runtime PM reference by calling ltrf216a_set_power_state(data, true). However, if ltrf216a_read_data() fails, the function returns immediately without dropping the reference. This leaves the runtime PM usage count unbalanced, preventing the device from autosuspending after a failed read. Fix this by releasing the runtime PM reference before returning from the error path.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=83f0bcd40d5cf88870d2f2bb8b97c772b92a3d1f <c4f003d8578f5718fe1ec332bc89f9ff69fd205b, >=83f0bcd40d5cf88870d2f2bb8b97c772b92a3d1f <0614928a3eda35bddd8c2f02311e286b59bbe746, >=83f0bcd40d5cf88870d2f2bb8b97c772b92a3d1f <4bf5525c6ff4a9f8df35bcc227a918b6396b2cb5, >=83f0bcd40d5cf88870d2f2bb8b97c772b92a3d1f <80e7381e8cccb543397572af153865f34aaf4353, >=83f0bcd40d5cf88870d2f2bb8b97c772b92a3d1f <a065b8b596d23de4b2e108d78ba34d17e723c865, >=83f0bcd40d5cf88870d2f2bb8b97c772b92a3d1f <c132aef0e757a39036b1d40faf0569f2e343b13e, =6.1 | c4f003d8578f5718fe1ec332bc89f9ff69fd205b, 0614928a3eda35bddd8c2f02311e286b59bbe746, 4bf5525c6ff4a9f8df35bcc227a918b6396b2cb5, 80e7381e8cccb543397572af153865f34aaf4353, a065b8b596d23de4b2e108d78ba34d17e723c865, c132aef0e757a39036b1d40faf0569f2e343b13e |
| linux-kernel: Kernel | >=6.13.0 <6.18.51, >=6.19.0 <7.2.5, >=6.2.0 <6.6.160, >=6.7.0 <6.12.110, >=6.1.0 <6.1.191 | 6.18.51, 7.2.5, 6.6.160, 6.12.110, 6.1.191 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket