Description
In the Linux kernel, the following vulnerability has been resolved:

drm/vmwgfx: validate DRAW_PRIMITIVES header size before division

vmw_cmd_draw() computes

maxnum = (header->size - sizeof(cmd->body)) / sizeof(*decl);

where header->size is u32 and is taken straight from the user-supplied
command stream. When header->size is less than sizeof(cmd->body) the
unsigned subtraction wraps to nearly 4 GiB, producing a huge maxnum.
Any user-controlled cmd->body.numVertexDecls then passes the bound and
the loop dereferences decl[i] far past the end of the kernel command
bounce buffer, producing an out-of-bounds read of kernel memory.

Reject undersized headers up front.
Published: 2026-08-15
Score: n/a
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability originates in the vmwgfx driver of the Linux kernel, where an arithmetic calculation uses a user‑supplied header size without validating that the size is large enough. If an attacker supplies a header smaller than the expected body size, the subtraction wraps to a very large value, causing a subsequent loop to read beyond the bounds of the kernel buffer. The resulting out‑of‑bounds read can leak kernel data to the attacker. The weakness is a classic example of unchecked pointer arithmetic leading to memory corruption.

Affected Systems

All Linux kernel builds that include the vmwgfx graphics driver and have not yet applied the patch. The specific kernel version range is not listed, so affected systems should check for the presence of commits 2666cdd, 85891d1, c77cf8e, dc0be76, or fc0c020 in the tree.

Risk and Exploitability

The fixed code path prevents kernel memory disclosure, but the lack of a CVSS score and EPSS data means the precise risk level is unclear. However, a kernel out‑of‑bounds read carries a high confidentiality impact and potential for privilege escalation if the attacker can control the command stream. The exploit seems to require the ability to send crafted data to the vmwgfx driver, which is typically available to all local users; thus the attack vector is local with low environmental barriers.

Generated by OpenCVE AI on August 15, 2026 at 13:36 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to a kernel version that contains the vmwgfx security fix, including the commit that validates the DRAW_PRIMITIVES header size.
  • If an upgrade is not immediately possible, unload or disable the vmwgfx module to eliminate the vulnerable code path until a patch can be applied.
  • Continue to monitor the Linux kernel security advisories for additional information on the vulnerability and its mitigations.

Generated by OpenCVE AI on August 15, 2026 at 13:36 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Sat, 15 Aug 2026 14:00:00 +0000

Type Values Removed Values Added
Weaknesses CWE-119
CWE-788

Sat, 15 Aug 2026 12:45:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: drm/vmwgfx: validate DRAW_PRIMITIVES header size before division vmw_cmd_draw() computes maxnum = (header->size - sizeof(cmd->body)) / sizeof(*decl); where header->size is u32 and is taken straight from the user-supplied command stream. When header->size is less than sizeof(cmd->body) the unsigned subtraction wraps to nearly 4 GiB, producing a huge maxnum. Any user-controlled cmd->body.numVertexDecls then passes the bound and the loop dereferences decl[i] far past the end of the kernel command bounce buffer, producing an out-of-bounds read of kernel memory. Reject undersized headers up front.
Title drm/vmwgfx: validate DRAW_PRIMITIVES header size before division
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-15T12:26:51.443Z

Reserved: 2026-08-15T05:44:03.898Z

Link: CVE-2026-74444

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-15T13:17:48.963

Modified: 2026-08-15T13:17:48.963

Link: CVE-2026-74444

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-15T13:45:03Z

Weaknesses
  • CWE-119

    Improper Restriction of Operations within the Bounds of a Memory Buffer

  • CWE-788

    Access of Memory Location After End of Buffer