Nixpkgs security tracker

Try the new UI
Login with GitHub
⚠️ You are using a production deployment that is still only suitable for demo purposes. Any work done in this might be wiped later without notice.

Suggestion detail

Dismissed
(max. allowed matches exceeded)
created 1 week, 4 days ago Activity log
  • Created & dismissed (max. allowed matches exceeded) suggestion
iio: light: ltrf216a: fix runtime PM reference leak in error path

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 products

Linux
  • =<7.2.*
  • <80e7381e8cccb543397572af153865f34aaf4353
  • <0614928a3eda35bddd8c2f02311e286b59bbe746
  • =<6.12.*
  • <c4f003d8578f5718fe1ec332bc89f9ff69fd205b
  • <c132aef0e757a39036b1d40faf0569f2e343b13e
  • =<6.18.*
  • =<*
  • ==6.1
  • <6.1