Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0D2B32472AE for ; Sun, 18 Oct 2026 15:33:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792337587; cv=none; b=eYVYeztohmaEu5fbkjdQv0cwXp/CXaQF4w9lU8nTBJUw6vAgun/Se1j1cIg8AvWJ4Wi/tygibwSUck3AXyDnaUGV5LOqTzuAQUqLu6zgRVc6TK9B0BHIZ/Q4Bu8kyU5WZ1MC+dF5L9qqyPofb5RtIqWr7/egsHv9LfHyLyCP87c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792337587; c=relaxed/simple; bh=luitfjVcdgiy/2pzBEubgsy4uj3VRCdOOXnNoFfyGlw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=M+9hy6otQWXDYyLpu/K6llVIzxuWaCRjRzv4fjuY2OQnaGgpRXZTAVD4ac20u6eHbQbXtFMQzBT7fW7ebAuQkr09whtnxBFwJAbkIuWWisN4WXaNxZ5gHMSU+PkB7KtmKrTWvb189JeuqkQxK3eDHsXTWe/XKrrKoksSWRXm7h4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=zKdH/dW3; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="zKdH/dW3" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 33C6B1F000C4; Sun, 18 Oct 2026 15:33:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792337585; bh=sniTTpcOlnuNpSOenCn5DCWiTlYPZhHM1wQKoNtOaCM=; h=From:To:Cc:Subject:Date:Reply-To; b=zKdH/dW3xlInHgG25s2y8lJ3CAK7dLb4zKq/6Agi+y7z03A7uY+rIqxzG+rnLxWiY P17jNgVunQ0WKx+k1ecEJzxDx/BERsa4RDwviGYZ7sJQjYbyXH6EuKMi6Ae+etv1vX DzZ7W3f1uDxKneAN24wlPz86ex1WpaLeSTvaPvm8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98606: drm/virtio: release the GEM object on virtio_gpu_vram_create() errors Date: Sun, 18 Oct 2026 17:17:50 +0200 Message-ID: <2026101839-CVE-2026-98606-3732@gregkh> X-Mailer: git-send-email 2.56.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=3407; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=QVFHXDGpIqa7agBqTtWuFigB2mXWBA+W9+SP5nYhvxk=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlXHs0+YpXYPFn75GnFvk8C0nM0LA7ffcCQrlbT69fqz HhRr1SgI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACbiWsYwz7BJSv2qcA3HcctA vpBnE2XCfA5pMSy4+ZbvdH9iwsw1XI+kn5X9fcPONM0HAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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. The Linux kernel CVE team has assigned CVE-2026-98606 to this issue. Affected and fixed versions =========================== Issue introduced in 5.11 with commit 16845c5d540929d2f4dc845f11fbbb238e69170a and fixed in 5.15.222 with commit 977c2934064969503cabf98b1135d202ff62822e Issue introduced in 5.11 with commit 16845c5d540929d2f4dc845f11fbbb238e69170a and fixed in 6.1.189 with commit 5118b5fdf1eb9922a0cdd2afd25252081e2d4302 Issue introduced in 5.11 with commit 16845c5d540929d2f4dc845f11fbbb238e69170a and fixed in 6.6.158 with commit a9bb8f8fd5694185c2f71ff91869afb300aab392 Issue introduced in 5.11 with commit 16845c5d540929d2f4dc845f11fbbb238e69170a and fixed in 6.12.112 with commit 03bdbf182082694ab2add620d85f1a8b8f51bbbc Issue introduced in 5.11 with commit 16845c5d540929d2f4dc845f11fbbb238e69170a and fixed in 6.18.55 with commit 5c2cb3dd1447752b73d4f44d6b7434bc5259bfec Issue introduced in 5.11 with commit 16845c5d540929d2f4dc845f11fbbb238e69170a and fixed in 7.2.9 with commit 7c8deb77d05bcc8f79e255f669d82ec6ce91be12 Issue introduced in 5.11 with commit 16845c5d540929d2f4dc845f11fbbb238e69170a and fixed in 7.3-rc5 with commit 036d28db1818af2f9d80db771f5405da84d7732d Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community. Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at https://cve.org/CVERecord/?id=CVE-2026-98606 will be updated if fixes are backported, please check that for the most up to date information about this issue. Affected files ============== The file(s) affected by this issue are: drivers/gpu/drm/virtio/virtgpu_vram.c Mitigation ========== The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits: 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