Skip to main content
Vulnerability Database/CVE-2026-98607

CVE-2026-98607: Linux Kernel DRM Object Leak Vulnerability

CVE-2026-98607 is a resource leak flaw in the Linux kernel DRM virtio driver that causes object and resource leaks. This post explains the technical details, affected versions, impact, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-98607 Overview

CVE-2026-98607 is a memory leak vulnerability in the Linux kernel's virtio GPU driver (drm/virtio). The flaw resides in virtio_gpu_resource_create_blob_ioctl(), where error paths incorrectly call drm_gem_object_release() instead of dropping the reference the function owns. As a result, obj->funcs->free() never executes, and the virtio_gpu_object, resource identifier, and host-side resource are leaked. Repeated invocation of the affected ioctl under failure conditions can exhaust guest and host GPU resources over time. The upstream fix replaces the release call with drm_gem_object_put() to correctly drop the reference.

Critical Impact

Guest userspace triggering the error paths in virtio_gpu_resource_create_blob_ioctl() can leak kernel objects, resource IDs, and host-side GPU resources, degrading availability on virtualized hosts.

Affected Products

  • Linux kernel builds containing the virtio GPU DRM driver (drivers/gpu/drm/virtio)
  • Virtualized guests using virtio-gpu with blob resource support
  • Hypervisor hosts providing virtio-gpu backends to guests

Discovery Timeline

  • 2026-10-18 - CVE-2026-98607 published to NVD
  • 2026-10-19 - Last updated in NVD database

Technical Details for CVE-2026-98607

Vulnerability Analysis

The vulnerability is a reference-counting error in the virtio GPU DRM driver. virtio_gpu_resource_create_blob_ioctl() creates a GEM object and holds a reference to it. When either virtio_gpu_resource_assign_uuid() or drm_gem_handle_create() fails, the function calls drm_gem_object_release() directly rather than decrementing the reference count.

Because the reference the function owns is never dropped, the GEM free callback (obj->funcs->free()) does not run. The underlying virtio_gpu_object, its allocated resource identifier, and the corresponding host-side resource remain allocated. This classifies as a Memory Leak and resource exhaustion issue in a kernel driver.

Root Cause

drm_gem_object_release() is intended to be invoked from a driver's free callback to tear down shared GEM state. It does not decrement the kref. Using it on an error path bypasses the normal release sequence, so the object outlives the ioctl invocation despite no handle existing to reach it.

Attack Vector

An unprivileged guest process with access to the virtio-gpu DRM device node can repeatedly issue DRM_IOCTL_VIRTGPU_RESOURCE_CREATE_BLOB in conditions that trigger the error paths. Each failed invocation leaks guest kernel memory, consumes a virtio-gpu resource ID, and pins a host-side resource. Sustained exploitation leads to resource exhaustion in both the guest kernel and the hypervisor backend.

No synthetic exploit code is provided. See the upstream commits referenced below for the precise code paths and fix.

Detection Methods for CVE-2026-98607

Indicators of Compromise

  • Steady growth of kernel slab allocations associated with virtio_gpu_object on affected guests with no corresponding workload increase
  • Exhaustion of virtio-gpu resource identifiers reported by the host backend (for example, QEMU virtio-gpu error logs)
  • Repeated failing DRM_IOCTL_VIRTGPU_RESOURCE_CREATE_BLOB calls from a single guest process in audit traces

Detection Strategies

  • Monitor /proc/slabinfo and DRM debugfs counters on virtio-gpu guests for unbounded growth in GEM object allocations
  • Correlate guest ioctl failure rates with host-side virtio-gpu resource allocation telemetry
  • Baseline normal virtio-gpu usage per workload to flag anomalous ioctl spikes

Monitoring Recommendations

  • Enable host-level logging for virtio-gpu resource allocation and release events
  • Track kernel memory consumption trends on virtualized workloads and alert on sustained upward drift
  • Review DRM subsystem error paths through kernel tracing (ftrace, bpftrace) to catch repeated failures in virtio_gpu_resource_create_blob_ioctl

How to Mitigate CVE-2026-98607

Immediate Actions Required

  • Apply the upstream Linux kernel patches that replace drm_gem_object_release() with drm_gem_object_put() in virtio_gpu_resource_create_blob_ioctl()
  • Rebuild and deploy fixed kernels across all virtualized guests exposing virtio-gpu to untrusted workloads
  • Restart affected guests after patching to clear any already-leaked resources

Patch Information

The fix is distributed across multiple stable branches. Reference the upstream commits: Kernel Commit 02df4e24, Kernel Commit 0455867b, Kernel Commit 24b6d5c7, Kernel Commit 73ea38a8, Kernel Commit 81c6769e, Kernel Commit 88c60c06, and Kernel Commit eea47353. Distribution-provided stable kernel updates should be installed as they become available.

Workarounds

  • Restrict access to /dev/dri/* nodes within guests to trusted users and services via group permissions
  • Disable virtio-gpu blob resource support on guests that do not require it, where the host configuration allows
  • Set per-guest resource limits and periodically restart long-running guests to bound the impact of leaked resources
bash
# Verify running kernel and virtio-gpu module status, then update
uname -r
lsmod | grep virtio_gpu

# Debian/Ubuntu
sudo apt update && sudo apt install --only-upgrade linux-image-$(uname -r | cut -d- -f3-)

# RHEL/Fedora
sudo dnf update kernel

# Reboot into patched kernel
sudo systemctl reboot

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.