Skip to content
Heist/ feed
UnratedFix available

watchdog: pretimeout: Fix UAF in watchdog_unregister_governor()

Type: advisorySource: OSV1 source record

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.

Announced Group revision 1
Original source ↗

CVE-2026-68357

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:CVE-2026-68357

Kernel

Source reference: /affected/1/package/name

Affected versions
Not stated in this record
Fixed versions
5.10.265

Source reference: /affected/1/ranges

5.15.216

Source reference: /affected/1/ranges

6.1.183

Source reference: /affected/1/ranges

6.6.148

Source reference: /affected/1/ranges

6.12.101

Source reference: /affected/1/ranges

6.18.42

Source reference: /affected/1/ranges

7.1.6

Source reference: /affected/1/ranges

Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
        "type": "GIT",
        "events": [
          {
            "introduced": "da0d12ff2b829a35e9921918e925d79497b82bef"
          },
          {
            "fixed": "b9ae33faa96bdec6bc60e4c5f8f53786182e4207"
          },
          {
            "fixed": "472ec1e34ff0bb26379805cae808f658cce58c35"
          },
          {
            "fixed": "7a2ee3ec6f208307eca1119a343c7b5d39c03708"
          },
          {
            "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"
    }
  },
  {
    "ranges": [
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "4.9.0"
          },
          {
            "fixed": "5.10.265"
          }
        ]
      },
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "5.11.0"
          },
          {
            "fixed": "5.15.216"
          }
        ]
      },
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "5.16.0"
          },
          {
            "fixed": "6.1.183"
          }
        ]
      },
      {
        "type": "ECOSYSTEM",
        "events": [
          {
            "introduced": "6.2.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"
          }
        ]
      }
    ],
    "package": {
      "name": "Kernel",
      "ecosystem": "Linux"
    },
    "database_specific": {
      "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-68357.json"
    }
  }
]
Related CVEs
CVE-2026-68357

Source reference: /id

Publisher severity

No explicit severity was provided.

Event
#50782 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement