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 21AE93D4114 for ; Fri, 28 Aug 2026 06:54:29 +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=1787900071; cv=none; b=TAMKdpirk7D5zV8TGL1iGR3xeEZHz2TeIfE0LIKJta41XScPXST7JeHDpds2HTHjcLcPmrDAHiIcsxcaLsJeTf9vQyUa0WRdjYlcqzYrQvk1pK+imHuCJqQAFUwFyV9jAMV8FQB6OmXtgdpsTUYdMC8eUs1sjIFvGNvJ4ABV0HA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1787900071; c=relaxed/simple; bh=aVP57xdti7q+GWjM89JAC28qgl5boPI63N+ip1fNRgg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=RktpyHmtuzlG3SqWZp/HjAl40RXqJ2gMQ9CgMso+j1JTVYjUnT58MJaQkwC81O+lFbTGzEfMNspbqpTABRyXsAhjZOmmAL7WwaOjNO1y4cJ/B80W3jyh3Dm6Oyklxken3pO3+pzjgs6oDDchHQngzrFNSRPeS79v2O09bRRJqiA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=lxT3UUAh; 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="lxT3UUAh" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4376A1F000E9; Fri, 28 Aug 2026 06:54:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1787900069; bh=TY1hylzoqb3tHpC7tX5B5daoUH1OltKsB9KSyfRpK3I=; h=From:To:Cc:Subject:Date:Reply-To; b=lxT3UUAh9bqNaAot3MPKZJ1b6gNKAOd56suIUfw5uo9MK2+vqaXRwgdT8aao1P7Px c5SJ6A6UPQoFUI3xBGx0+c1ByKhmzAqNdA56aXqBR+M2Yi7fQKLOwZN8ZDSBI9bAZl lZ3YMC2j0iEVUjySjQrL4SxmAHGEYOQCcIfTtEOA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-80700: drm/vmwgfx: validate external BO copy bounds for both stride paths Date: Fri, 28 Aug 2026 08:53:23 +0200 Message-ID: <2026082806-CVE-2026-80700-b765@gregkh> X-Mailer: git-send-email 2.55.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=3871; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=HxW9PNHi/Oya5rQaYpYalcAFuiLkqw5pjuN13Cn3ULo=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkTDYL0b4oEmC4sdlrGX6yT0MvGJbbt9fdGh8+BEfoO3 lLmd591xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwESY7zDMU13LVvQhcM/0Za07 yhUbdqn+UNOsZZjvlul58s0cB4dStdPLxF/dqfp0S1wAAA== 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/vmwgfx: validate external BO copy bounds for both stride paths vmw_external_bo_copy() trusts caller-supplied offsets, strides, and heights and operates on imported dma-buf vmaps: - The equal-stride memcpy() bound was clamped after subtracting the offsets from dst_size and src_size; an offset larger than the BO size wraps the unsigned subtraction to a huge value and the resulting memcpy() runs off the end of the vmap. dst_stride * height is also a u32 multiplication that can overflow. - The non-equal-stride row-by-row path had no bound at all. The loop touches bytes through offset + (height - 1) * stride + width_in_bytes, with only a WARN_ON(dst_stride < width_in_bytes), and could likewise step past the end of either mapping. The offsets and strides are derived from STDU/SOU plane state, so a configured CRTC submitting a crafted atomic commit on an imported framebuffer can reach this path. Validate the exact row-copy endpoint against each BO's size up front using check_mul_overflow() and check_add_overflow(). Use the bulk memcpy() path only when width_in_bytes covers the whole stride; otherwise copy one row at a time so partial-row updates near the bottom of a framebuffer remain valid. Also reject zero strides and stride < width_in_bytes, both of which the row-by-row path cannot represent safely. The Linux kernel CVE team has assigned CVE-2026-80700 to this issue. Affected and fixed versions =========================== Issue introduced in 6.6.49 with commit 9a9716bbbf3dd6b6cbefba3abcc89af8b72631f4 and fixed in 6.6.151 with commit 4e0f669e2951b742239c6fe847fcc406fe78748d Issue introduced in 6.11 with commit 50f1199250912568606b3778dc56646c10cb7b04 and fixed in 6.12.103 with commit e7b25a6011781ebfdbc458552cae6d4156732771 Issue introduced in 6.11 with commit 50f1199250912568606b3778dc56646c10cb7b04 and fixed in 6.18.44 with commit 042ca38779554687fc32b66a28328e0d9a36c58f Issue introduced in 6.11 with commit 50f1199250912568606b3778dc56646c10cb7b04 and fixed in 7.1.8 with commit 5e4a2d15637a906cbd9bc98e0bf969f5f713e344 Issue introduced in 6.11 with commit 50f1199250912568606b3778dc56646c10cb7b04 and fixed in 7.2 with commit 706c93c5813caabbb0d0a576c017d15aeec2c113 Issue introduced in 6.10.8 with commit 5c12391ee1ab59cb2f3be3f1f5e6d0fc0c2dc854 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-80700 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_blit.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/4e0f669e2951b742239c6fe847fcc406fe78748d https://git.kernel.org/stable/c/e7b25a6011781ebfdbc458552cae6d4156732771 https://git.kernel.org/stable/c/042ca38779554687fc32b66a28328e0d9a36c58f https://git.kernel.org/stable/c/5e4a2d15637a906cbd9bc98e0bf969f5f713e344 https://git.kernel.org/stable/c/706c93c5813caabbb0d0a576c017d15aeec2c113