Description
In the Linux kernel, the following vulnerability has been resolved: iio: chemical: atlas-sensor: fix PM reference leak in buffer postenable atlas_buffer_postenable() acquires a runtime PM reference with pm_runtime_resume_and_get() but returns the result of atlas_set_interrupt() directly. If atlas_set_interrupt() fails, the runtime PM reference is leaked and the device can never autosuspend. Add pm_runtime_put_autosuspend() on the error path to balance the reference.
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
0e4f336f50debeacd0f81e931e8451f2ae03f685 to < c7e91ae6d7802170f53ece09a4ecc6302265d3e4affected0e4f336f50debeacd0f81e931e8451f2ae03f685 to < a595f4d3e4ee1c91c62a298730a77b16dc26b426affected0e4f336f50debeacd0f81e931e8451f2ae03f685 to < 72daa7eb7fc6202fece0bb56487d72af5c49ccdfaffected0e4f336f50debeacd0f81e931e8451f2ae03f685 to < aedf8f068d9da774d5cb62e9c9d6e62b2ce64d86affected0e4f336f50debeacd0f81e931e8451f2ae03f685 to < 43bce901047e95bbf8fb63eb471460642e497604affected0e4f336f50debeacd0f81e931e8451f2ae03f685 to < 777e8ebfe6b3fa733694977f0f4cf849e07e925caffected0e4f336f50debeacd0f81e931e8451f2ae03f685 to < bcd3f72e26314edfce7eaf8d7160b3119c7b7fedaffected
Linux Linux
Default version status: affected
5.14affected0 to < 5.14unaffected5.15.221 to ≤ 5.15.*unaffected6.1.188 to ≤ 6.1.*unaffected6.6.157 to ≤ 6.6.*unaffected6.12.110 to ≤ 6.12.*unaffected6.18.51 to ≤ 6.18.*unaffected7.2.5 to ≤ 7.2.*unaffected7.3 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/c7e91ae6d7802170f53ece09a4ecc6302265d3e4 ↗
- https://git.kernel.org/stable/c/a595f4d3e4ee1c91c62a298730a77b16dc26b426 ↗
- https://git.kernel.org/stable/c/72daa7eb7fc6202fece0bb56487d72af5c49ccdf ↗
- https://git.kernel.org/stable/c/aedf8f068d9da774d5cb62e9c9d6e62b2ce64d86 ↗
- https://git.kernel.org/stable/c/43bce901047e95bbf8fb63eb471460642e497604 ↗
- https://git.kernel.org/stable/c/777e8ebfe6b3fa733694977f0f4cf849e07e925c ↗
- https://git.kernel.org/stable/c/bcd3f72e26314edfce7eaf8d7160b3119c7b7fed ↗