Shellfeed logo Shellfeed

CVE-2026-74329 · UNKNOWN

Summary: watchdog: unregister PM notifier on watchdog unregister

Details

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 packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [60bcd91aafd22ef62cef9ae2037fa2e1d4da2fb3 – cd2d1b1f99308f7680d75a377daaff363f1cc736]
  • Linux Kernel [5.15.0 – 5.15.212] [5.16.0 – 6.1.178] [6.2.0 – 6.6.145] [6.7.0 – 6.12.97] [6.13.0 – 6.18.40] [6.19.0 – 7.1.5]

References