Description
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 products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
a9306887eba41c5fe7232727a8147da3d3c4f83c to < f40292fb19399a3c3f82de698023ba87c01e66cfaffecteda9306887eba41c5fe7232727a8147da3d3c4f83c to < ffb2195921c3d629194b9807de589578df9f9cb8affecteda9306887eba41c5fe7232727a8147da3d3c4f83c to < 6537f08100189d12bec4975000244e6ac4873c28affecteda9306887eba41c5fe7232727a8147da3d3c4f83c to < adf4bc07f814da8329278d32600147f5a150938caffected
Linux Linux
Default version status: affected
6.11affected0 to < 6.11unaffected6.12.96 to ≤ 6.12.*unaffected6.18.39 to ≤ 6.18.*unaffected7.1.4 to ≤ 7.1.*unaffected7.2 to ≤ *unaffected