Shellfeed logo Shellfeed

CVE-2026-98606 · UNKNOWN

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

EPSS: 0.2% probability of exploitation in the next 30 days (percentile 11.5).

Details

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.

Affected packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [16845c5d540929d2f4dc845f11fbbb238e69170a – 977c2934064969503cabf98b1135d202ff62822e]
  • Linux Kernel [5.11.0 – 5.15.222] [5.16.0 – 6.1.189] [6.2.0 – 6.6.158] [6.7.0 – 6.12.112] [6.13.0 – 6.18.55] [6.19.0 – 7.2.9]

References