{"id":"CVE-2026-68357","summary":"watchdog: pretimeout: Fix UAF in watchdog_unregister_governor()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nwatchdog: pretimeout: Fix UAF in watchdog_unregister_governor()\n\nWhen a watchdog governor is unregistered, it updates existing watchdog\ndevices that were using this governor by falling back to `default_gov`.\n\nIf the governor being unregistered is currently set as `default_gov`,\nthe `default_gov` is never cleared.  This leads to 2 use-after-free\nissues:\n1. New watchdog devices registered after this point will inherit the\n   dangling `default_gov`.\n2. Existing watchdog devices using the unregistered governor will have\n   their `wdd-\u003egov` reassigned to the dangling `default_gov`.\n\nFix the UAF by clearing `default_gov` if it matches the governor being\nunregistered.","modified":"2026-08-18T03:31:29.650509606Z","published":"2026-08-10T12:03:34.241Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68357.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/0ca252720f0e38411cfec3431db9bb1aed0a412c"},{"type":"WEB","url":"https://git.kernel.org/stable/c/2e47b91b9b4020fcc01def14d6b6556d66074cf4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7362ba0f9c96ac3ad6a2ca3995bd9fc9a28a8661"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7993d626983cc58fbde9607333cfd2d57725c197"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7d1658b066de30f4b23afc14814d22416a971e6e"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68357.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68357"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"da0d12ff2b829a35e9921918e925d79497b82bef"},{"fixed":"2e47b91b9b4020fcc01def14d6b6556d66074cf4"},{"fixed":"0ca252720f0e38411cfec3431db9bb1aed0a412c"},{"fixed":"7d1658b066de30f4b23afc14814d22416a971e6e"},{"fixed":"7993d626983cc58fbde9607333cfd2d57725c197"},{"fixed":"7362ba0f9c96ac3ad6a2ca3995bd9fc9a28a8661"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68357.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.9.0"},{"fixed":"6.6.148"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.101"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.42"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.1.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68357.json"}}],"schema_version":"1.9.0"}