{
  "schema_version": "1.6.1",
  "id": "RPI-CVE-2026-98606",
  "modified": "2026-10-19T04:30:01Z",
  "upstream": [
    "CVE-2026-98606"
  ],
  "published": "2026-10-18T15:22:13Z",
  "summary": "drm/virtio: release the GEM object on virtio_gpu_vram_create() errors",
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/virtio: release the GEM object on virtio_gpu_vram_create() errors\n\nvirtio_gpu_vram_create() frees the object with a bare kfree(vram) on\nboth error paths after drm_gem_private_object_init() has run, and on the\nsecond one after drm_gem_create_mmap_offset() has linked obj->vma_node\ninto the device's VMA offset manager. The freed object stays in that\ninterval tree, so a later lookup or insertion walks freed memory, and\nthe dma_resv and gpuva lock are never destroyed.\n\nCall drm_gem_object_release() before kfree() on both paths.",
  "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.189",
            "compiled_filter": false
          }
        }
      }
    }
  ],
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://www.cve.org/CVERecord?id=CVE-2026-98606"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/977c2934064969503cabf98b1135d202ff62822e"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/5118b5fdf1eb9922a0cdd2afd25252081e2d4302"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/a9bb8f8fd5694185c2f71ff91869afb300aab392"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/03bdbf182082694ab2add620d85f1a8b8f51bbbc"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/5c2cb3dd1447752b73d4f44d6b7434bc5259bfec"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/7c8deb77d05bcc8f79e255f669d82ec6ce91be12"
    },
    {
      "type": "FIX",
      "url": "https://git.kernel.org/stable/c/036d28db1818af2f9d80db771f5405da84d7732d"
    }
  ],
  "database_specific": {
    "source": "https://git.kernel.org/pub/scm/linux/security/vulns.git",
    "upstream_modified": "2026-10-18T15:22:13Z"
  }
}
