CVE-2026-80702

drm/vmwgfx: fix guest_memory_dirty bitfield clobbered as size

State
Published
Severity
7.8 High
Published
Aug 28, 2026
Updated
Oct 16, 2026
Reserved
Aug 26, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 668b206601c5f5063e03b76784a0d3024fa2b249 to before 21bbe38faee4a195d33a93e3908e307807f7745dAffected
  • 668b206601c5f5063e03b76784a0d3024fa2b249 to before 9d6cbb76fe9cd760351f6b0b20f1bf788eab8fa6Affected
  • 668b206601c5f5063e03b76784a0d3024fa2b249 to before 282f261cb035e5f01a486f76d356b7e9dbfba73fAffected
  • 668b206601c5f5063e03b76784a0d3024fa2b249 to before 3b2bb16a5b622867140d69925db411ac8ecb3b2bAffected
  • 668b206601c5f5063e03b76784a0d3024fa2b249 to before 83195b778f2d109a3a4f3ffaba4dce7e4cdb58aaAffected
LinuxLinux
  • 6.4Affected
  • before 6.4Not affected
  • 6.6.151 through 6.6.*Not affected
  • 6.12.103 through 6.12.*Not affected
  • 6.18.44 through 6.18.*Not affected
  • 7.1.8 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.