Nixpkgs security tracker

Login with GitHub

Suggestion detail

Dismissed
(max. allowed matches exceeded)
created 11 hours ago Activity log
  • Created & dismissed (max. allowed matches exceeded) suggestion
iio: pressure: mpl115: fix runtime PM leak on read error

In the Linux kernel, the following vulnerability has been resolved: iio: pressure: mpl115: fix runtime PM leak on read error mpl115_read_raw() takes a runtime PM reference with pm_runtime_get_sync() before reading the processed pressure or raw temperature, but on the read error path it returns without calling pm_runtime_put_autosuspend(). Each failed read therefore leaks a runtime PM reference and prevents the device from autosuspending. Drop the reference before checking the return value so both the success and error paths are balanced.

Affected products

Linux
  • ==6.2
  • =<6.18.*
  • <6.2
  • =<6.12.*
  • <b3f1af4ba8e9cf33aa08c4cdcaa5a17b140521ec
  • =<7.1.*
  • <46e69d3dd429b33e50e2731913239f6af4ea2705
  • =<*
  • =<6.6.*
  • <5022f4ed5aae974ec530e3cbf0bd223be13055f7
  • <aab0fed636b14a5fd52fcae58b484f1cb96b841d
  • <fbe67ff37a6fd855a6c097f84f3738bd13d0a898