HIGH Introduced in 3.2
vmwgfx CursorSnoop OOB Read
CVE-2026-99002
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
KernelScan AI7.2HIGH
01Description
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.
02KernelScan AI Analysis
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.
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.
Lifecycle
03Fix Versions
| Branch | Introduced | Fixed in | Patch commit |
|---|---|---|---|
| 5.10 | 3.2 | 5.10.273 | 073437615a8d |
| 5.15 | 3.2 | 5.15.224 | f54b41644744 |
| 6.1 | 3.2 | 6.1.191 | cbf761646433 |
| 6.12 | 3.2 | 6.12.114 | f6d9c8abdf06 |
| 6.18 | 3.2 | 6.18.57 | 76e5ddd7d982 |
| 6.6 | 3.2 | 6.6.160 | db6fbc2b7784 |
| 7.2 | 3.2 | 7.2.11 | fcb137f6e7ed |
| mainline | 3.2 | 7.3 | 21bc51cb89ce |
| cip/6.12 | 3.2 | 6.12.114-cip34 | f6d9c8abdf06 |
04CIP Kernels
State of the newest release of each Civil Infrastructure Platform SLTS tree, from CIP's own fix records.
| CIP tree | State |
|---|---|
| cip/6.12 | Fixed in 6.12.114-cip34 |
| cip/6.1 | Affected — no CIP fix yet (latest 6.1.190-cip62) |
| cip/6.1-rt | Affected — no CIP fix yet (latest 6.1.189-cip61-rt32) |
| cip/5.10 | Affected — no CIP fix yet (latest 5.10.272-cip79) |
| cip/5.10-rt | Affected — no CIP fix yet (latest 5.10.272-cip79-rt35) |
| cip/4.19 | Affected — no CIP fix yet (latest 4.19.325-cip137) |
| cip/4.19-rt | Affected — no CIP fix yet (latest 4.19.325-cip136-rt50) |
| cip/4.4 | Affected — no CIP fix yet (latest 4.4.302-cip115) |
| cip/4.4-rt | Affected — no CIP fix yet (latest 4.4.302-cip115-rt63) |