{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-68357",
  "modified": "2026-10-07T17:22:01Z",
  "upstream": [
    "CVE-2026-68357"
  ],
  "published": "2026-08-10T12:08:00Z",
  "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->gov` reassigned to the dangling `default_gov`.\n\nFix the UAF by clearing `default_gov` if it matches the governor being\nunregistered.",
  "affected": [
    {
      "package": {
        "ecosystem": "Raspberry Pi OS:12",
        "name": "linux"
      },
      "versions": [
        "1:6.1.47-1+rpt4"
      ],
      "ecosystem_specific": {
        "binaries": [
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-2712",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v6",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v7l",
            "binary_version": "1:6.1.47-1+rpt4"
          },
          {
            "binary_name": "linux-image-6.1.0-rpi3-rpi-v8",
            "binary_version": "1:6.1.47-1+rpt4"
          }
        ]
      },
      "database_specific": {
        "per_version": {
          "1:6.1.47-1+rpt4": {
            "linux_commit": "655fc658a15ae7a6f37103754adb39ba52a9a14e",
            "upstream_version": "6.1.47",
            "assessment": "commit ancestry (strak rule)",
            "upstream_fixed": "6.1.183",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-68357"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/b9ae33faa96bdec6bc60e4c5f8f53786182e4207"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/472ec1e34ff0bb26379805cae808f658cce58c35"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/7a2ee3ec6f208307eca1119a343c7b5d39c03708"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/2e47b91b9b4020fcc01def14d6b6556d66074cf4"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/0ca252720f0e38411cfec3431db9bb1aed0a412c"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/7d1658b066de30f4b23afc14814d22416a971e6e"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/7993d626983cc58fbde9607333cfd2d57725c197"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/7362ba0f9c96ac3ad6a2ca3995bd9fc9a28a8661"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-08-19T16:47:12Z"
  }
}
