Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 3BA1E78C6D for ; Fri, 13 Sep 2024 06:45:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726209915; cv=none; b=uVOrKbs2/ax+gda9G9AZwRWmvGb5b68FrM8dRtES6Nb1318EgEkjbi8XdyPuUXfd8+o9WL/UcnlBiB6KGLYjc5Z3TRY+5JYXpWn+mTY3bg7QFe1VrF0dZ3mrHD2zp8coCEeoUJbL2NFOaiGgAGP/AXFTNkJRepGVKa9jC1awEAA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726209915; c=relaxed/simple; bh=+iockCplSDHak1NiNq5fflReG++ibdChZ4lImlFRbyk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=oN5trG0iWFX9dgfeO7gMo+hkLXsuYHSy9ShBi6o9H/eXrKuJt26s0Jscjf9nm2vYa4mNene2gEM5MjlthSuaL0HObX7mfwOKYuPPfk8pkdEsZOiCbPGbjq+5ejc/D7Q1Mscdy40eEPXu8u+yEvXn/ukOz9a9bjAFEKFhrmokydU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=DQEeOufL; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="DQEeOufL" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 68FB1C4CEC0; Fri, 13 Sep 2024 06:45:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1726209914; bh=+iockCplSDHak1NiNq5fflReG++ibdChZ4lImlFRbyk=; h=From:To:Cc:Subject:Date:Reply-to:From; b=DQEeOufL7OaQVCKueVmJwnbd/mxsC7BYNArL3L9ZKkCW1fEzwS1TX5dxcMDQ17jKv TMgnT/eQ2JAhhYHh/7nIT4TwcTSps+v48g0eQAQlHzogNRlLbgrNtsPvsUUpgJMaBj dqkS+fC7i5pMfr3oz4fIgzMeZjbxuHB4NjmHkiZk= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-46712: drm/vmwgfx: Disable coherent dumb buffers without 3d Date: Fri, 13 Sep 2024 08:45:10 +0200 Message-ID: <2024091309-CVE-2024-46712-5ca7@gregkh> X-Mailer: git-send-email 2.46.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2222; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=+iockCplSDHak1NiNq5fflReG++ibdChZ4lImlFRbyk=; b=owGbwMvMwCRo6H6F97bub03G02pJDGmP75eqZ5b/6dYXyjrtobzu32bhufdZIz7ZH8m53fi6y 2rpT//9HbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCRk24M8/TV/TfOlfZd5XR5 t1ZV7rul/yq4IhgWzN8/r7HM6rHEnUaWtftCtHqfiE9dCQA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: drm/vmwgfx: Disable coherent dumb buffers without 3d Coherent surfaces make only sense if the host renders to them using accelerated apis. Without 3d the entire content of dumb buffers stays in the guest making all of the extra work they're doing to synchronize between guest and host useless. Configurations without 3d also tend to run with very low graphics memory limits. The pinned console fb, mob cursors and graphical login manager tend to run out of 16MB graphics memory that those guests use. Fix it by making sure the coherent dumb buffers are only used on configs with 3d enabled. The Linux kernel CVE team has assigned CVE-2024-46712 to this issue. Affected and fixed versions =========================== Issue introduced in 6.10.4 with commit af6441e6f3d4 and fixed in 6.10.8 with commit c45558414b8f Issue introduced in 6.11-rc2 with commit d6667f0ddf46 and fixed in 6.11-rc6 with commit e9fd436bb8fb 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-2024-46712 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/vmwgfx/vmwgfx_surface.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/c45558414b8f2e0b9dc34eb8f9d4e8359b887681 https://git.kernel.org/stable/c/e9fd436bb8fb9b9d31fdf07bbcdba6d30290c5e4