Description
In the Linux kernel, the following vulnerability has been resolved:

watchdog: pretimeout: Fix UAF in watchdog_unregister_governor()

When a watchdog governor is unregistered, it updates existing watchdog
devices that were using this governor by falling back to `default_gov`.

If the governor being unregistered is currently set as `default_gov`,
the `default_gov` is never cleared. This leads to 2 use-after-free
issues:
1. New watchdog devices registered after this point will inherit the
dangling `default_gov`.
2. Existing watchdog devices using the unregistered governor will have
their `wdd->gov` reassigned to the dangling `default_gov`.

Fix the UAF by clearing `default_gov` if it matches the governor being
unregistered.
Published: 2026-08-10
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability arises when a watchdog governor is removed and the kernel fails to clear the global default governor pointer. This results in two separate use‑after‑free instances: newly created watchdog devices inherit the dangling pointer, and existing devices that were using the removed governor are reassigned to the stale pointer. Such use‑after‑free can lead to unpredictable memory corruption and system instability, potentially enabling denial‑of‑service attacks or arbitrary code execution if an attacker can manipulate the watchdog subsystem. The weakness is a classic use‑after‑free flaw (CWE‑416).

Affected Systems

All Linux kernel implementations that include the watchdog subsystem and have not applied the commit that clears the default governor on unregistration are affected. No specific vendor or version numbers are listed in the available data; the vulnerability applies to kernel versions prior to the fix commit identified in the references.

Risk and Exploitability

The CVSS score is not provided, and no EPSS data is available. The vulnerability is not listed in the CISA KEV catalog. The attack vector is likely local or requires privileged code execution on the kernel; therefore the risk is significant for systems that rely on the watchdog subsystem. Even without an available exploit, the use‑after‑free presents a serious stability threat that could be leveraged by an attacker with kernel write access. The risk remains high until the kernel is updated or the watchdog functionality is disabled.

Generated by OpenCVE AI on August 10, 2026 at 16:39 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update the Linux kernel to a version that includes the patch commit removing the use‑after‑free bug.
  • If an immediate kernel upgrade is not possible, disable the watchdog subsystem or the specific governor that could be unregistered, ensuring no watchdog devices are registered during the period without the fix.
  • Continuously monitor system logs for kernel panics or abnormal watchdog activity, and apply the update as soon as it becomes available.

Generated by OpenCVE AI on August 10, 2026 at 16:39 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 10 Aug 2026 17:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Mon, 10 Aug 2026 12:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: watchdog: pretimeout: Fix UAF in watchdog_unregister_governor() When a watchdog governor is unregistered, it updates existing watchdog devices that were using this governor by falling back to `default_gov`. If the governor being unregistered is currently set as `default_gov`, the `default_gov` is never cleared. This leads to 2 use-after-free issues: 1. New watchdog devices registered after this point will inherit the dangling `default_gov`. 2. Existing watchdog devices using the unregistered governor will have their `wdd->gov` reassigned to the dangling `default_gov`. Fix the UAF by clearing `default_gov` if it matches the governor being unregistered.
Title watchdog: pretimeout: Fix UAF in watchdog_unregister_governor()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-10T12:03:34.241Z

Reserved: 2026-07-30T09:28:09.385Z

Link: CVE-2026-68357

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-10T16:45:03Z

Weaknesses