# CVE-2026-68357: watchdog: pretimeout: Fix UAF in watchdog_unregister_governor()

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-08-10T12:03:34.241Z
- Modified: 2026-08-19T17:20:45.310Z
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from da0d12ff2b829a35e9921918e925d79497b82bef before b9ae33faa96bdec6bc60e4c5f8f53786182e4207; from da0d12ff2b829a35e9921918e925d79497b82bef before 472ec1e34ff0bb26379805cae808f658cce58c35; from da0d12ff2b829a35e9921918e925d79497b82bef before 7a2ee3ec6f208307eca1119a343c7b5d39c03708; from da0d12ff2b829a35e9921918e925d79497b82bef before 2e47b91b9b4020fcc01def14d6b6556d66074cf4; from da0d12ff2b829a35e9921918e925d79497b82bef before 0ca252720f0e38411cfec3431db9bb1aed0a412c; from da0d12ff2b829a35e9921918e925d79497b82bef before 7d1658b066de30f4b23afc14814d22416a971e6e; from da0d12ff2b829a35e9921918e925d79497b82bef before 7993d626983cc58fbde9607333cfd2d57725c197; from da0d12ff2b829a35e9921918e925d79497b82bef before 7362ba0f9c96ac3ad6a2ca3995bd9fc9a28a8661; 4.9 (not affected: before 4.9; from 5.10.265 up to 5.10.*; from 5.15.216 up to 5.15.*; from 6.1.183 up to 6.1.*; from 6.6.148 up to 6.6.*; from 6.12.101 up to 6.12.*; from 6.18.42 up to 6.18.*; from 7.1.6 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/b9ae33faa96bdec6bc60e4c5f8f53786182e4207>
- <https://git.kernel.org/stable/c/472ec1e34ff0bb26379805cae808f658cce58c35>
- <https://git.kernel.org/stable/c/7a2ee3ec6f208307eca1119a343c7b5d39c03708>
- <https://git.kernel.org/stable/c/2e47b91b9b4020fcc01def14d6b6556d66074cf4>
- <https://git.kernel.org/stable/c/0ca252720f0e38411cfec3431db9bb1aed0a412c>
- <https://git.kernel.org/stable/c/7d1658b066de30f4b23afc14814d22416a971e6e>
- <https://git.kernel.org/stable/c/7993d626983cc58fbde9607333cfd2d57725c197>
- <https://git.kernel.org/stable/c/7362ba0f9c96ac3ad6a2ca3995bd9fc9a28a8661>

## Sources

- CVE List: [CVE-2026-68357](https://www.cve.org/CVERecord?id=CVE-2026-68357), CVE Terms of Use, modified 2026-08-19
- NVD: [CVE-2026-68357](https://nvd.nist.gov/vuln/detail/CVE-2026-68357), Public domain, modified 2026-08-19

---

Page: https://cve.day/CVE-2026-68357 · Whole record: https://cve.day/CVE-2026-68357.json · Rebuilt by cve.day 2026-11-25T22:59:32.098Z
