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

Summary

CVECVE-2026-98606
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-10-18 16:17:13 UTC
Updated2026-10-19 10:19:22 UTC
DescriptionIn 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.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 16845c5d540929d2f4dc845f11fbbb238e69170a 977c2934064969503cabf98b1135d202ff62822e git Not specified
CNA Linux Linux affected 16845c5d540929d2f4dc845f11fbbb238e69170a 5118b5fdf1eb9922a0cdd2afd25252081e2d4302 git Not specified
CNA Linux Linux affected 16845c5d540929d2f4dc845f11fbbb238e69170a a9bb8f8fd5694185c2f71ff91869afb300aab392 git Not specified
CNA Linux Linux affected 16845c5d540929d2f4dc845f11fbbb238e69170a 03bdbf182082694ab2add620d85f1a8b8f51bbbc git Not specified
CNA Linux Linux affected 16845c5d540929d2f4dc845f11fbbb238e69170a 5c2cb3dd1447752b73d4f44d6b7434bc5259bfec git Not specified
CNA Linux Linux affected 16845c5d540929d2f4dc845f11fbbb238e69170a 7c8deb77d05bcc8f79e255f669d82ec6ce91be12 git Not specified
CNA Linux Linux affected 16845c5d540929d2f4dc845f11fbbb238e69170a 036d28db1818af2f9d80db771f5405da84d7732d git Not specified
CNA Linux Linux affected 5.11 Not specified
CNA Linux Linux unaffected 5.11 semver Not specified
CNA Linux Linux unaffected 5.15.222 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.189 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.158 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.112 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.55 6.18.* semver Not specified
CNA Linux Linux unaffected 7.2.9 7.2.* semver Not specified
CNA Linux Linux unaffected 7.3 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/036d28db1818af2f9d80db771f5405da84d7732d 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/a9bb8f8fd5694185c2f71ff91869afb300aab392 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/5118b5fdf1eb9922a0cdd2afd25252081e2d4302 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/5c2cb3dd1447752b73d4f44d6b7434bc5259bfec 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/03bdbf182082694ab2add620d85f1a8b8f51bbbc 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/977c2934064969503cabf98b1135d202ff62822e 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/7c8deb77d05bcc8f79e255f669d82ec6ce91be12 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report