KernelScan.io

HIGH Introduced in 3.2

vmwgfx CursorSnoop OOB Read

CVE-2026-99002

CVSS 7.8 / 10.0 NVD

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

KernelScan AI7.2HIGH

01

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.

02

Engine v0.9.0

Risk summary

Local attackers with access to the vmwgfx DRM device (e.g., users in the video/render group or container workloads with GPU passthrough) can trigger an out-of-bounds read in the cursor snooping code by supplying a malicious pitch value. This allows reading arbitrary kernel memory adjacent to the surface buffer, potentially leaking sensitive data such as KASLR offsets or other kernel structures. The vulnerability affects VMware virtual machines using the vmwgfx driver.

Affecteddrivers/gpu/drm/vmwgfx/vmwgfx_cursor_plane.c (vmwgfx)

Vulnerability analysis

The vmwgfx driver's cursor snooping feature copies pixel data from a guest surface to a kernel buffer for display. The original code used a pitch value supplied by userspace via a DMA command without verifying that the calculated source extent—derived from the pitch, box width, and box height—remained within the bounds of the allocated buffer. A malicious process can craft a DMA command with an oversized pitch, causing the kernel to read past the end of the buffer during the copy operation. The fix adds a bounds check that computes the total source extent and rejects the operation if it exceeds the buffer size, while also correcting a separate stride mismatch in the non-fast copy path. Any local process that can open the vmwgfx DRM device and submit cursor snooping commands can trigger this vulnerability; no elevated privileges are required beyond access to the device node.

03

BranchIntroducedFixed inPatch commit
5.103.25.10.273073437615a8d
5.153.25.15.224f54b41644744
6.13.26.1.191cbf761646433
6.123.26.12.114f6d9c8abdf06
6.183.26.18.5776e5ddd7d982
6.63.26.6.160db6fbc2b7784
7.23.27.2.11fcb137f6e7ed
mainline3.27.321bc51cb89ce
cip/6.123.26.12.114-cip34f6d9c8abdf06

04

State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.

CIP treeState
cip/6.12Fixed in 6.12.114-cip34
cip/6.1Affected — no CIP fix yet (latest 6.1.190-cip62)
cip/6.1-rtAffected — no CIP fix yet (latest 6.1.189-cip61-rt32)
cip/5.10Affected — no CIP fix yet (latest 5.10.272-cip79)
cip/5.10-rtAffected — no CIP fix yet (latest 5.10.272-cip79-rt35)
cip/4.19Affected — no CIP fix yet (latest 4.19.325-cip137)
cip/4.19-rtAffected — no CIP fix yet (latest 4.19.325-cip136-rt50)
cip/4.4Affected — no CIP fix yet (latest 4.4.302-cip115)
cip/4.4-rtAffected — no CIP fix yet (latest 4.4.302-cip115-rt63)