CVE-2026-99002: drm/vmwgfx: validate pitch coming from userspace
From: Greg Kroah-Hartman <[email protected]>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
drm/vmwgfx: validate pitch coming from userspace
Validate the pitch, alongside the box dimensions before trying to copy data from the underlying surface. Fixes possible out of bounds reads with cursor snooping.
The Linux kernel CVE team has assigned CVE-2026-99002 to this issue.
Affected and fixed versions
===========================
Issue introduced in 3.2 with commit 2ac863719e518ae1a8f328849e64ea26a222f079 and fixed in 6.6.160 with commit db6fbc2b77849e3c3c2bc115ea9ac925c4625a0d Issue introduced in 3.2 with commit 2ac863719e518ae1a8f328849e64ea26a222f079 and fixed in 6.12.114 with commit f6d9c8abdf06a9c7efa799532d66ed8d5a50734c Issue introduced in 3.2 with commit 2ac863719e518ae1a8f328849e64ea26a222f079 and fixed in 6.18.57 with commit 76e5ddd7d9822c8c3492e0f50ba8978e093069ad Issue introduced in 3.2 with commit 2ac863719e518ae1a8f328849e64ea26a222f079 and fixed in 7.2.11 with commit fcb137f6e7ed769f7ecad84364a33c451371b602 Issue introduced in 3.2 with commit 2ac863719e518ae1a8f328849e64ea26a222f079 and fixed in 7.3 with commit 21bc51cb89ced74d6645a138cc2f21184bc75094
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-99002
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_cursor_plane.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/db6fbc2b77849e3c3c2bc115ea9ac925c4625a0d https://git.kernel.org/stable/c/f6d9c8abdf06a9c7efa799532d66ed8d5a50734c https://git.kernel.org/stable/c/76e5ddd7d9822c8c3492e0f50ba8978e093069ad https://git.kernel.org/stable/c/fcb137f6e7ed769f7ecad84364a33c451371b602 https://git.kernel.org/stable/c/21bc51cb89ced74d6645a138cc2f21184bc75094