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

drm/vmwgfx: fix guest_memory_dirty bitfield clobbered as size

Two sites in vmwgfx_resource.c assign boolean literals to
res->guest_memory_size, which is an unsigned long allocation-size
field; the intended target is the adjacent res->guest_memory_dirty
bitfield. After the assignments the field holds 0 or 1 instead of
the resource's MOB allocation size:

- vmw_resource_release() writes 0 (false), and
- vmw_resource_unbind_list() writes 1 (true).

Subsequent revalidation paths read guest_memory_size when computing
the dirty page range (vmw_bo_dirty_transfer_to_res()) and the buffer
allocation size (vmw_resource_buf_alloc()), producing zero-length
walks or wrap-around ranges that read or write past the MOB bitmap.
The dirty-tracking intent of the original code (mark the resource as
dirtied since the last sync) is also lost, since guest_memory_dirty
is never updated.

Rename both assignments to guest_memory_dirty.
Published: 2026-08-28
Score: n/a
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

In the Linux kernel, a bug in the vmwgfx driver causes boolean values to be written to an unsigned long field that holds resource allocation size, instead of setting the intended dirty‑status bitfield. The incorrect assignments leave the size field with the values 0 or 1, and subsequent logic that relies on this size for walking page ranges or allocating buffers uses the corrupted value. This can result in zero‑length walks or wrap‑around ranges that read or write past the intended memory bitmap, potentially corrupting kernel memory or causing a crash. The original intent to flag a resource as dirty is lost, thereby degrading the driver’s functionality.

Affected Systems

The issue appears in any Linux kernel that includes the vmwgfx DRM component. Because the kernel identifies itself as Linux:Linux in the CNAs list, affected systems encompass all distributions that ship the default kernel with vmwgfx enabled. No specific version range is supplied, so the crash risk applies to any build prior to the fix applied in the referenced commits.

Risk and Exploitability

No CVSS score is provided, nor is the EPSS score available, and the vulnerability is not listed in the CISA KEV catalog. The bug resides in kernel space and requires the attacker to execute code with sufficient privilege to interact with the driver; a local threat is therefore likely. If an attacker can trigger the erroneous paths, they could achieve memory corruption within the kernel, which may lead to a denial of service or, in the right conditions, privilege escalation. The lack of a publicly documented CVSS score makes precise severity estimation difficult, but the nature of the bug suggests a high risk if the conditions for exploitation are met.

Generated by OpenCVE AI on August 28, 2026 at 12:23 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to a Linux kernel version that contains the commit fixing the vmwgfx guest_memory_size bug
  • If the patched kernel is not yet available, apply the specific commit patch manually to the kernel source and recompile the kernel
  • Disable the vmwgfx driver or unload the module to prevent exploitation while a patch is pending

Generated by OpenCVE AI on August 28, 2026 at 12:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 28 Aug 2026 11:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-665

Fri, 28 Aug 2026 07:30:00 +0000

Type Values Removed Values Added
Description In the Linux kernel, the following vulnerability has been resolved: drm/vmwgfx: fix guest_memory_dirty bitfield clobbered as size Two sites in vmwgfx_resource.c assign boolean literals to res->guest_memory_size, which is an unsigned long allocation-size field; the intended target is the adjacent res->guest_memory_dirty bitfield. After the assignments the field holds 0 or 1 instead of the resource's MOB allocation size: - vmw_resource_release() writes 0 (false), and - vmw_resource_unbind_list() writes 1 (true). Subsequent revalidation paths read guest_memory_size when computing the dirty page range (vmw_bo_dirty_transfer_to_res()) and the buffer allocation size (vmw_resource_buf_alloc()), producing zero-length walks or wrap-around ranges that read or write past the MOB bitmap. The dirty-tracking intent of the original code (mark the resource as dirtied since the last sync) is also lost, since guest_memory_dirty is never updated. Rename both assignments to guest_memory_dirty.
Title drm/vmwgfx: fix guest_memory_dirty bitfield clobbered as size
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-28T06:53:05.253Z

Reserved: 2026-08-26T14:34:25.786Z

Link: CVE-2026-80702

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-28T08:16:55.740

Modified: 2026-08-28T08:16:55.740

Link: CVE-2026-80702

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-28T13:30:06Z

Weaknesses