Nixpkgs security tracker

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 3 weeks, 3 days ago Activity log
  • Created & dismissed (max. allowed matches exceeded) suggestion
watchdog: unregister PM notifier on watchdog unregister

In the Linux kernel, the following vulnerability has been resolved: watchdog: unregister PM notifier on watchdog unregister watchdog_register_device() registers wdd->pm_nb when WDOG_NO_PING_ON_SUSPEND is set, but watchdog_unregister_device() does not remove it. This leaves an embedded notifier block on the PM notifier chain after the watchdog device has been unregistered. A later suspend/resume notification can then call watchdog_pm_notifier() with a stale watchdog_device pointer, or at minimum after wdd->wd_data has been cleared by watchdog_dev_unregister(). Unregister the PM notifier before tearing down the watchdog device.

Affected products

Linux
  • <298821692d447c2f7b1bc9ef41cd88a31bf56436
  • <5.15
  • <c70b5bb6f04f77ef90e047d7edc2f476e206909f
  • <5d9b58ec6f5de5e159a570d419b1b08b3b9f854b
  • <e690afea5c876a4abfa2978c6a664460ed7d1217
  • =<6.6.*
  • =<*
  • ==5.15
  • =<6.18.*
  • =<6.12.*
  • <cd2d1b1f99308f7680d75a377daaff363f1cc736
  • =<7.1.*
  • <89184909634e50d086d86d8a0c03fc86fe8d889f
  • =<5.15.*
  • <a298c7302ee9584a7a1ac1e8acbede8d98ab51a4
  • =<6.1.*