Nixpkgs security tracker

Login with GitHub

Suggestion detail

Dismissed
(max. allowed matches exceeded)
created 22 hours ago Activity log
  • Created & dismissed (max. allowed matches exceeded) suggestion
iio: accel: kxsd9: fix runtime PM imbalance on write_raw() error

In the Linux kernel, the following vulnerability has been resolved: iio: accel: kxsd9: fix runtime PM imbalance on write_raw() error kxsd9_write_raw() takes a runtime PM reference with pm_runtime_get_sync() but returns -EINVAL directly when a scale with a non-zero integer part is requested, skipping the matching pm_runtime_put_autosuspend(). This leaks a runtime PM usage-counter reference on every such write, after which the device can no longer autosuspend. Set the error code and fall through to the existing put instead of returning early.

Affected products

Linux
  • <191fcfeb729ededd8dd2a999c6bf351ddfa0cec7
  • =<6.18.*
  • <a93fd69c1ab0854ac4f5b8439c26dfadb25dfd20
  • <44a5fd874bb6873bdaec59f722c1d57832fbc9df
  • <13a91e8631cfeb68e5b7fd6687f194f5a86e83fe
  • <eeece4a85ece6f3837c75ef26a9b2bf5a1d0fcfc
  • =<5.15.*
  • <36154171385a8a2444a4b3c6eaa0c5294cb02478
  • =<6.12.*
  • =<7.1.*
  • <6293211d142605bec435229ef0aa3668b8964164
  • <4.9
  • =<6.1.*
  • ==4.9
  • =<6.6.*
  • <223703d6e8bed50b6a0b47e160877909518d94b9
  • =<*
  • =<5.10.*