CVE-2026-74329: watchdog: unregister PM notifier on watchdog unregister
From: Greg Kroah-Hartman <[email protected]>
Description
===========
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.
The Linux kernel CVE team has assigned CVE-2026-74329 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.15 with commit 60bcd91aafd22ef62cef9ae2037fa2e1d4da2fb3 and fixed in 5.15.212 with commit cd2d1b1f99308f7680d75a377daaff363f1cc736 Issue introduced in 5.15 with commit 60bcd91aafd22ef62cef9ae2037fa2e1d4da2fb3 and fixed in 6.1.178 with commit 5d9b58ec6f5de5e159a570d419b1b08b3b9f854b Issue introduced in 5.15 with commit 60bcd91aafd22ef62cef9ae2037fa2e1d4da2fb3 and fixed in 6.6.145 with commit 89184909634e50d086d86d8a0c03fc86fe8d889f Issue introduced in 5.15 with commit 60bcd91aafd22ef62cef9ae2037fa2e1d4da2fb3 and fixed in 6.12.97 with commit e690afea5c876a4abfa2978c6a664460ed7d1217 Issue introduced in 5.15 with commit 60bcd91aafd22ef62cef9ae2037fa2e1d4da2fb3 and fixed in 6.18.40 with commit 298821692d447c2f7b1bc9ef41cd88a31bf56436 Issue introduced in 5.15 with commit 60bcd91aafd22ef62cef9ae2037fa2e1d4da2fb3 and fixed in 7.1.5 with commit c70b5bb6f04f77ef90e047d7edc2f476e206909f Issue introduced in 5.15 with commit 60bcd91aafd22ef62cef9ae2037fa2e1d4da2fb3 and fixed in 7.2-rc1 with commit a298c7302ee9584a7a1ac1e8acbede8d98ab51a4
Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.
Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at
https://cve.org/CVERecord/?id=CVE-2026-74329
will be updated if fixes are backported, please check that for the most up to date information about this issue.
Affected files
==============
The file(s) affected by this issue are:
drivers/watchdog/watchdog_core.c
Mitigation
==========
The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:
https://git.kernel.org/stable/c/cd2d1b1f99308f7680d75a377daaff363f1cc736 https://git.kernel.org/stable/c/5d9b58ec6f5de5e159a570d419b1b08b3b9f854b https://git.kernel.org/stable/c/89184909634e50d086d86d8a0c03fc86fe8d889f https://git.kernel.org/stable/c/e690afea5c876a4abfa2978c6a664460ed7d1217 https://git.kernel.org/stable/c/298821692d447c2f7b1bc9ef41cd88a31bf56436 https://git.kernel.org/stable/c/c70b5bb6f04f77ef90e047d7edc2f476e206909f https://git.kernel.org/stable/c/a298c7302ee9584a7a1ac1e8acbede8d98ab51a4