{"id":"CVE-2026-99002","state":"PUBLISHED","title":"drm/vmwgfx: validate pitch coming from userspace","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/vmwgfx: validate pitch coming from userspace\n\nValidate the pitch, alongside the box dimensions before trying\nto copy data from the underlying surface. Fixes possible\nout of bounds reads with cursor snooping.","publishedAt":"2026-10-23T12:20:22.763Z","updatedAt":"2026-10-30T12:40:48.116Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"2ac863719e518ae1a8f328849e64ea26a222f079","status":"affected","lessThan":"073437615a8da528935146ca6a17292c0ca8ce19","versionType":"git"},{"version":"2ac863719e518ae1a8f328849e64ea26a222f079","status":"affected","lessThan":"f54b41644744f72c86e44a21733ac6fc910ca133","versionType":"git"},{"version":"2ac863719e518ae1a8f328849e64ea26a222f079","status":"affected","lessThan":"cbf7616464334b217ed07b8adacaed549f2a9433","versionType":"git"},{"version":"2ac863719e518ae1a8f328849e64ea26a222f079","status":"affected","lessThan":"db6fbc2b77849e3c3c2bc115ea9ac925c4625a0d","versionType":"git"},{"version":"2ac863719e518ae1a8f328849e64ea26a222f079","status":"affected","lessThan":"f6d9c8abdf06a9c7efa799532d66ed8d5a50734c","versionType":"git"},{"version":"2ac863719e518ae1a8f328849e64ea26a222f079","status":"affected","lessThan":"76e5ddd7d9822c8c3492e0f50ba8978e093069ad","versionType":"git"},{"version":"2ac863719e518ae1a8f328849e64ea26a222f079","status":"affected","lessThan":"fcb137f6e7ed769f7ecad84364a33c451371b602","versionType":"git"},{"version":"2ac863719e518ae1a8f328849e64ea26a222f079","status":"affected","lessThan":"21bc51cb89ced74d6645a138cc2f21184bc75094","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/vmwgfx/vmwgfx_cursor_plane.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.2","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.2","versionType":"semver"},{"version":"5.10.273","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.224","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.191","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.160","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.114","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.57","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.11","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/vmwgfx/vmwgfx_cursor_plane.c"]}],"references":["https://git.kernel.org/stable/c/073437615a8da528935146ca6a17292c0ca8ce19","https://git.kernel.org/stable/c/f54b41644744f72c86e44a21733ac6fc910ca133","https://git.kernel.org/stable/c/cbf7616464334b217ed07b8adacaed549f2a9433","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"],"weaknesses":[],"ingestedAt":"2026-10-30T13:00:06.648Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/99xxx/CVE-2026-99002.json","commit":"cb14bf1b43b0c9f05f7f40eae2246263fd430780","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-99002","state":"PUBLISHED","datePublished":"2026-10-23T12:20:22.763Z","dateUpdated":"2026-10-30T12:40:48.116Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:25:14.385Z"},"containers":{"cna":{"title":"drm/vmwgfx: validate pitch coming from userspace","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/vmwgfx: validate pitch coming from userspace\n\nValidate the pitch, alongside the box dimensions before trying\nto copy data from the underlying surface. Fixes possible\nout of bounds reads with cursor snooping."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"2ac863719e518ae1a8f328849e64ea26a222f079","status":"affected","lessThan":"073437615a8da528935146ca6a17292c0ca8ce19","versionType":"git"},{"version":"2ac863719e518ae1a8f328849e64ea26a222f079","status":"affected","lessThan":"f54b41644744f72c86e44a21733ac6fc910ca133","versionType":"git"},{"version":"2ac863719e518ae1a8f328849e64ea26a222f079","status":"affected","lessThan":"cbf7616464334b217ed07b8adacaed549f2a9433","versionType":"git"},{"version":"2ac863719e518ae1a8f328849e64ea26a222f079","status":"affected","lessThan":"db6fbc2b77849e3c3c2bc115ea9ac925c4625a0d","versionType":"git"},{"version":"2ac863719e518ae1a8f328849e64ea26a222f079","status":"affected","lessThan":"f6d9c8abdf06a9c7efa799532d66ed8d5a50734c","versionType":"git"},{"version":"2ac863719e518ae1a8f328849e64ea26a222f079","status":"affected","lessThan":"76e5ddd7d9822c8c3492e0f50ba8978e093069ad","versionType":"git"},{"version":"2ac863719e518ae1a8f328849e64ea26a222f079","status":"affected","lessThan":"fcb137f6e7ed769f7ecad84364a33c451371b602","versionType":"git"},{"version":"2ac863719e518ae1a8f328849e64ea26a222f079","status":"affected","lessThan":"21bc51cb89ced74d6645a138cc2f21184bc75094","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/vmwgfx/vmwgfx_cursor_plane.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.2","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.2","versionType":"semver"},{"version":"5.10.273","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.224","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.191","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.160","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.114","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.57","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.11","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/gpu/drm/vmwgfx/vmwgfx_cursor_plane.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/073437615a8da528935146ca6a17292c0ca8ce19"},{"url":"https://git.kernel.org/stable/c/f54b41644744f72c86e44a21733ac6fc910ca133"},{"url":"https://git.kernel.org/stable/c/cbf7616464334b217ed07b8adacaed549f2a9433"},{"url":"https://git.kernel.org/stable/c/db6fbc2b77849e3c3c2bc115ea9ac925c4625a0d"},{"url":"https://git.kernel.org/stable/c/f6d9c8abdf06a9c7efa799532d66ed8d5a50734c"},{"url":"https://git.kernel.org/stable/c/76e5ddd7d9822c8c3492e0f50ba8978e093069ad"},{"url":"https://git.kernel.org/stable/c/fcb137f6e7ed769f7ecad84364a33c451371b602"},{"url":"https://git.kernel.org/stable/c/21bc51cb89ced74d6645a138cc2f21184bc75094"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:L - DRM_IOCTL_VMW_EXECBUF passes a locally supplied SVGA_3D_CMD_SURFACE_DMA through vmw_execbuf_process(), vmw_cmd_dma(), and vmw_kms_cursor_snoop(); the malformed guest.pitch and copy box originate in this ioctl, not a network protocol.\nAC:L - The attacker can create the required 64x64 A8R8G8B8 scanout surface and choose the box, pitch, and source BO. A 63x64 box with pitch 256 deterministically reaches the corrupting partial-copy loop without a race or attacker-uncontrolled condition.\nPR:L - VMW_CREATE_SURFACE, VMW_ALLOC_DMABUF, and VMW_EXECBUF are DRM_RENDER_ALLOW on a DRIVER_RENDER device; drm_ioctl_permit() therefore requires no DRM master, authentication, or capability from an unprivileged render-node client.\nUI:N - The attacker creates the surface and BO and submits the malformed DMA command through their own file descriptor; no victim must mount, open, or display anything.\nS:U - vmw_kms_cursor_snoop() corrupts the guest kernel's own cursor-snooper allocation from guest userspace. The code demonstrates neither host-memory corruption nor a guest-to-host or IOMMU-boundary escape.\nC:H - The unchecked pitch causes out-of-bounds source reads, while the attacker-controlled heap overwrite can corrupt neighboring pointer-bearing objects and be developed into arbitrary guest-kernel read primitives.\nI:H - snooper.image is a u32 pointer, but the vulnerable loop uses the 256-byte image_pitch as an element stride; a 63x64 copy writes controlled 252-byte rows at 1024-byte intervals far beyond the 16-KiB allocation, enabling control-flow hijacking.\nA:H - An excessive pitch can fault while reading beyond the TTM mapping, and the partial-copy destination bug can overwrite roughly 48 KiB beyond the snooper image, causing an oops or kernel panic."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-30T12:40:48.116Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.2","versionEndExcluding":"5.10.273"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.2","versionEndExcluding":"5.15.224"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.2","versionEndExcluding":"6.1.191"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.2","versionEndExcluding":"6.6.160"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.2","versionEndExcluding":"6.12.114"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.2","versionEndExcluding":"6.18.57"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.2","versionEndExcluding":"7.2.11"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.2","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}