CVE-2026-98606

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

Published Oct 18, 2026 CVSS 3.1 · 7.0 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

During virtio GPU resource creation, the driver frees a GEM object with a bare kfree call without first releasing the object via drm_gem_object_release. The freed object remains in an interval tree data structure, so subsequent lookup or insertion operations can walk freed memory. This use‑after‑free can corrupt kernel memory and potentially allow an attacker to trigger a crash or execute arbitrary code in kernel mode, leading to loss of confidentiality, integrity, and availability. The flaw is rated CVSS 7.0, indicating high severity.

Affected Systems

The vulnerability is present in the Linux kernel’s virtio GPU driver (drm/virtio). No specific kernel version is listed, so any kernel containing the unpatched virtio_gpu_vram_create path is potentially affected. The issue arises in any environment that uses the virtio GPU interface, such as virtual machines or container runtimes that expose the virtio GPU device to guest workloads.

Risk and Exploitability

The CVSS score is 7.0, and the EPSS score is < 1%, indicating a low probability of exploitation. The fault occurs in kernel space and requires the attacker to trigger a virtio GPU operation. An attacker with local or privileged guest access to the driver could exploit the use‑after‑free to corrupt memory, which could lead to a denial‑of-service or, in the presence of additional code‑execution primitives, to runaway kernel execution. The vulnerability is not listed in CISA’s KEV catalog, but it represents a classic kernel memory corruption flaw with high potential impact if exploited.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Linux kernel to a version that contains the virtio GPU driver patch that properly calls drm_gem_object_release before freeing the GEM object.
  • If an immediate kernel upgrade is not feasible, temporarily disable or restrict virtio GPU device exposure to untrusted virtual machines or containers to reduce the attack surface.
  • Monitor system logs for signs of kernel crashes or abnormal driver behavior and apply the patch as soon as possible.
  • Consider applying a temporary kernel config workaround that prevents the virtio_gpu_vram_create path from allocating large GPU VRAM objects until the patch is applied.

Generated by OpenCVE AI on October 23, 2026 at 06:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4850-1 linux-6.12 security update
Ubuntu USN Ubuntu USN USN-8961-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9019-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9020-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9022-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9023-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9024-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9025-1 Linux kernel vulnerabilities
Ubuntu USN Ubuntu USN USN-9026-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9029-1 Linux kernel (Raspberry Pi) vulnerabilities
Ubuntu USN Ubuntu USN USN-9039-1 Linux kernel (Azure CVM) vulnerabilities
Ubuntu USN Ubuntu USN USN-9040-1 Linux kernel (Low Latency NVIDIA) vulnerabilities
Ubuntu USN Ubuntu USN USN-9066-1 Linux kernel (HWE) vulnerabilities
Ubuntu USN Ubuntu USN USN-9091-1 Linux kernel (NVIDIA Tegra) vulnerabilities
Ubuntu USN Ubuntu USN USN-9160-1 Linux kernel (Azure) vulnerabilities
Ubuntu USN Ubuntu USN USN-9183-1 Linux kernel (FIPS) vulnerabilities
Ubuntu USN Ubuntu USN USN-9192-1 Linux kernel (NVIDIA) vulnerabilities
History
Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
Weaknesses CWE-825
References
Metrics threat_severity

None

cvssV3_1

{'score': 7.0, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

threat_severity

Moderate

Type Values Removed Values Added
Weaknesses CWE-416
Type Values Removed Values Added
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.
Title drm/virtio: release the GEM object on virtio_gpu_vram_create() errors
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References
Weaknesses
  • CWE-825

    Expired Pointer Dereference

Sources

Status
PUBLISHED
Assigner
Linux
Published
Updated
Oct 19, 2026, 9:22 AM
Reserved
Sep 25, 2026, 10:25 AM
Status
Received
Published
Oct 18, 2026, 4:17 PM
Modified
Oct 19, 2026, 10:19 AM
Severity
Moderate
Public date
Oct 18, 2026, 12:00 AM