VDB

CVE-2026-98609

CVE-2026-98609 PUBLISHED

drm/virtio: fix object leak when drm_gem_handle_create() fails

Reported by linux · Published October 18, 2026

In the Linux kernel, the following vulnerability has been resolved: drm/virtio: fix object leak when drm_gem_handle_create() fails virtio_gpu_gem_create() owns the reference taken by virtio_gpu_object_create(). On the drm_gem_handle_create() error path it calls drm_gem_object_release() instead of dropping that reference. drm_gem_object_release() is the inverse of drm_gem_object_init() and does not touch the reference count or call obj->funcs->free(), so it is only correct as the last step of a destructor, as in virtio_gpu_cleanup_object(). Using it here leaves the bo at refcount 1 with no remaining reference, so virtio_gpu_free_object() never runs and the shmem pages, sg table and virtio_gpu_object are leaked. Since virtio_gpu_object_create() has already set bo->created, VIRTIO_GPU_CMD_RESOURCE_UNREF is not queued either, leaking the host-side resource and the resource id. drm_gem_handle_create_tail() drops the handle reference on all of its internal error paths, so the caller only has to drop its own. Use drm_gem_object_put(), matching the success path below.

EPSS 0.18% · 7.3th percentile

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
microvm-kernel6.18Amazon Linux1:6.18.56-125.164.amzn2023
python3-perf6.12Amazon Linux1:6.12.113-138.209.amzn2023
kernel6.12Amazon Linux1:6.12.113-138.209.amzn2023
kernel-livepatch-6.18.56-125.164Amazon Linux1:1.0-0.amzn2023
kernelAmazon Linux1:6.1.189-236.399.amzn2023
perfAmazon Linux1:6.1.189-236.399.amzn2023
kernel6.12-headersAmazon Linux1:6.12.113-138.209.amzn2023
kernel6.12-develAmazon Linux1:6.12.113-138.209.amzn2023
microvm-kernelAmazon Linux1:6.1.189-236.399.amzn2023
kernel-headersAmazon Linux1:6.1.189-236.399.amzn2023
kernel6.18-modules-extra-commonAmazon Linux1:6.18.56-125.164.amzn2023
kernel-modules-extraAmazon Linux1:6.1.189-236.399.amzn2023

20 more packages have a fixed version. See every fix in Lookup.

Risk scores

EPSS Score
0.18%
7.3th percentile

Affected products

VendorProductVersions
LinuxLinuxdc5698e80cf724770283e10414054662bdf6ccfa, dc5698e80cf724770283e10414054662bdf6ccfa, dc5698e80cf724770283e10414054662bdf6ccfa
LinuxLinux4.2, 0, 5.10.271
amazon:2023microvm-kernel6.180
amazon:2023python3-perf6.120
amazon:2023kernel6.120
amazon:2023kernel-livepatch-6.18.56-125.1640
amazon:2023kernel0
amazon:2023perf0
amazon:2023kernel6.12-headers0
amazon:2023kernel6.12-devel0
amazon:2023microvm-kernel0
amazon:2023kernel-headers0
amazon:2023kernel6.18-modules-extra-common0
amazon:2023kernel-modules-extra0
amazon:2023python3-perf6.180
amazon:2023kernel6.18-devel0
amazon:2023kernel-tools0
amazon:2023kernel-tools-devel0
amazon:2023kernel6.12-tools0
amazon:2023perf6.120

…and 19 more

Timeline

  • Oct 18, 2026 Coalition ESS Score
  • Oct 18, 2026 CVE Published
  • Oct 19, 2026 EPSS Score (5 in total, the first dated here)
  • Oct 19, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2026-98609
vulnetix vdb fixes CVE-2026-98609

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-98609/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›