iio: adc: ti-ads1119: fix PM reference leak in buffer preenable
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 6.12.96, Kernel 6.18.39, Kernel 7.1.4 and 4 more.
In the Linux kernel, the following vulnerability has been resolved: iio: adc: ti-ads1119: fix PM reference leak in buffer preenable ads1119_triggered_buffer_preenable() resumes the device with pm_runtime_resume_and_get() before starting a conversion. If i2c_smbus_write_byte() fails, the function returns the error directly and leaves the runtime PM usage counter elevated. The matching postdisable callback is not called when preenable fails, so the reference is leaked and the device may remain runtime-active indefinitely. Store the I2C transfer result in ret and drop the runtime PM reference on failure before returning the error.
Affected
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| Linux | Kernel | >=6.11 <6.12.96, >=6.13 <6.18.39, >=6.19 <7.1.4, =7.2, >=a9306887eba41c5fe7232727a8147da3d3c4f83c <adf4bc07f814da8329278d32600147f5a150938c, >=a9306887eba41c5fe7232727a8147da3d3c4f83c <f40292fb19399a3c3f82de698023ba87c01e66cf, >=a9306887eba41c5fe7232727a8147da3d3c4f83c <ffb2195921c3d629194b9807de589578df9f9cb8, =6.11, >=a9306887eba41c5fe7232727a8147da3d3c4f83c <6537f08100189d12bec4975000244e6ac4873c28 | 6.12.96, 6.18.39, 7.1.4, adf4bc07f814da8329278d32600147f5a150938c, f40292fb19399a3c3f82de698023ba87c01e66cf, ffb2195921c3d629194b9807de589578df9f9cb8, 6537f08100189d12bec4975000244e6ac4873c28 |
| linux-kernel: Kernel | >=6.11.0 <6.12.96, >=6.13.0 <6.18.39, >=6.19.0 <7.1.4 | 6.12.96, 6.18.39, 7.1.4 |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in Kernel, strongest first
Embed
A live severity badge for an advisory, README or ticket