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.
Published: 2026-10-18
Score: n/a
EPSS: n/a
KEV: No
Impact: Use-After-Free leading to Kernel Memory Corruption
Action: Immediate Patch
AI Analysis

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.

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 not listed, and EPSS data is unavailable, but 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.

Generated by OpenCVE AI on October 18, 2026 at 18:31 UTC.

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 18, 2026 at 18:31 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sun, 18 Oct 2026 19:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-416

Sun, 18 Oct 2026 15:30:00 +0000

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

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-10-18T15:19:20.639Z

Reserved: 2026-09-25T10:25:14.359Z

Link: CVE-2026-98606

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-18T16:17:13.340

Modified: 2026-10-18T16:17:13.340

Link: CVE-2026-98606

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-18T18:45:06Z

Weaknesses