Dismissed
(max. allowed matches exceeded)
Activity log
- Created & dismissed (max. allowed matches exceeded) suggestion
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 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.
References
Affected products
Linux
- =<7.2.*
- <aedf8f068d9da774d5cb62e9c9d6e62b2ce64d86
- ==5.14
- =<6.12.*
- <c7e91ae6d7802170f53ece09a4ecc6302265d3e4
- <72daa7eb7fc6202fece0bb56487d72af5c49ccdf
- =<5.15.*
- <bcd3f72e26314edfce7eaf8d7160b3119c7b7fed
- =<6.18.*
- <43bce901047e95bbf8fb63eb471460642e497604
- <777e8ebfe6b3fa733694977f0f4cf849e07e925c
- =<*
- =<6.1.*
- =<6.6.*
- <5.14
- <a595f4d3e4ee1c91c62a298730a77b16dc26b426