{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-99684",
  "modified": "2026-11-24T05:30:02Z",
  "upstream": [
    "CVE-2026-99684"
  ],
  "published": "2026-11-20T05:52:17Z",
  "summary": "hwrng: virtio - prevent use-after-free after a failed restore",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nhwrng: virtio - prevent use-after-free after a failed restore\n\nremove_common() frees the driver data during freeze, but does not clear\nvdev->priv, which points to freed memory. If probe_common() then fails\nduring restore, a later remove or freeze can dereference the dangling\npointer.\n\nClear vdev->priv on the probe_common() error cleanup path and before\nfreeing the driver data in remove_common(). Also reset the device and\nreturn early from remove_common() if vdev->priv is already NULL for a\nsafe teardown after a failed restore.",
  "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.193",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-99684"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/4e16413f7bf306947c81b913330d54ed75646808"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/2aecdb2c490384618057535d461a4fcd19f64b7c"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/e8a75bd0e3c3270076cdf8d841ffe49c35516096"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/eb07306b576b6545323abb806e2f840d2de67dd4"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/ec81f97c6b13b839e5800cdade1e5b187b9b2738"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/42f2f4ee9d6e75b8b55b9108f6f5cf254425db64"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/b18bda055c0d3e44fdf419e2739d92ea92a6f1d2"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/0f7bf47f5a0cc26320aa4b14f4504d03a07f4b74"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-11-23T08:12:11Z"
  }
}
