CVE-2026-98606

drm/virtio: release the GEM object on virtio_gpu_vram_create() errors

State
Published
Severity
Not scored
Published
Oct 18, 2026
Updated
Oct 19, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

drm/virtio: release the GEM object on virtio_gpu_vram_create() errors

virtio_gpu_vram_create() frees the object with a bare kfree(vram) on both error paths after drm_gem_private_object_init() has run, and on the second one after drm_gem_create_mmap_offset() has linked obj->vma_node into the device's VMA offset manager. The freed object stays in that interval tree, so a later lookup or insertion walks freed memory, and the dma_resv and gpuva lock are never destroyed.

Call drm_gem_object_release() before kfree() on both paths.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 16845c5d540929d2f4dc845f11fbbb238e69170a to before 977c2934064969503cabf98b1135d202ff62822eAffected
  • 16845c5d540929d2f4dc845f11fbbb238e69170a to before 5118b5fdf1eb9922a0cdd2afd25252081e2d4302Affected
  • 16845c5d540929d2f4dc845f11fbbb238e69170a to before a9bb8f8fd5694185c2f71ff91869afb300aab392Affected
  • 16845c5d540929d2f4dc845f11fbbb238e69170a to before 03bdbf182082694ab2add620d85f1a8b8f51bbbcAffected
  • 16845c5d540929d2f4dc845f11fbbb238e69170a to before 5c2cb3dd1447752b73d4f44d6b7434bc5259bfecAffected
  • 16845c5d540929d2f4dc845f11fbbb238e69170a to before 7c8deb77d05bcc8f79e255f669d82ec6ce91be12Affected
  • 16845c5d540929d2f4dc845f11fbbb238e69170a to before 036d28db1818af2f9d80db771f5405da84d7732dAffected
LinuxLinux
  • 5.11Affected
  • before 5.11Not affected
  • 5.15.222 through 5.15.*Not affected
  • 6.1.189 through 6.1.*Not affected
  • 6.6.158 through 6.6.*Not affected
  • 6.12.112 through 6.12.*Not affected
  • 6.18.55 through 6.18.*Not affected
  • 7.2.9 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.