Bug 2554921 (CVE-2026-98606) - CVE-2026-98606 kernel: drm/virtio: release the GEM object on virtio_gpu_vram_create() errors
Summary: CVE-2026-98606 kernel: drm/virtio: release the GEM object on virtio_gpu_vram_...
Keywords:
Status: NEW
Alias: CVE-2026-98606
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security DevOps Team
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-10-18 15:32 UTC by OSIDB Bzimport
Modified: 2026-10-20 16:35 UTC (History)
17 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-10-18 15:32:45 UTC
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.


Note You need to log in before you can comment on or make changes to this bug.