# CVE-2026-80702: drm/vmwgfx: fix guest_memory_dirty bitfield clobbered as size

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-02)
- Published: 2026-08-28T06:53:05.253Z
- Modified: 2026-10-16T20:18:07.180Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 668b206601c5f5063e03b76784a0d3024fa2b249 before 21bbe38faee4a195d33a93e3908e307807f7745d; from 668b206601c5f5063e03b76784a0d3024fa2b249 before 9d6cbb76fe9cd760351f6b0b20f1bf788eab8fa6; from 668b206601c5f5063e03b76784a0d3024fa2b249 before 282f261cb035e5f01a486f76d356b7e9dbfba73f; from 668b206601c5f5063e03b76784a0d3024fa2b249 before 3b2bb16a5b622867140d69925db411ac8ecb3b2b; from 668b206601c5f5063e03b76784a0d3024fa2b249 before 83195b778f2d109a3a4f3ffaba4dce7e4cdb58aa; 6.4 (not affected: before 6.4; from 6.6.151 up to 6.6.*; from 6.12.103 up to 6.12.*; from 6.18.44 up to 6.18.*; from 7.1.8 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/21bbe38faee4a195d33a93e3908e307807f7745d>
- <https://git.kernel.org/stable/c/9d6cbb76fe9cd760351f6b0b20f1bf788eab8fa6>
- <https://git.kernel.org/stable/c/282f261cb035e5f01a486f76d356b7e9dbfba73f>
- <https://git.kernel.org/stable/c/3b2bb16a5b622867140d69925db411ac8ecb3b2b>
- <https://git.kernel.org/stable/c/83195b778f2d109a3a4f3ffaba4dce7e4cdb58aa>

## Sources

- CVE List: [CVE-2026-80702](https://www.cve.org/CVERecord?id=CVE-2026-80702), CVE Terms of Use, modified 2026-10-16
- NVD: [CVE-2026-80702](https://nvd.nist.gov/vuln/detail/CVE-2026-80702), Public domain, modified 2026-10-16

---

Page: https://cve.day/CVE-2026-80702 · Whole record: https://cve.day/CVE-2026-80702.json · Rebuilt by cve.day 2026-11-25T22:59:35.619Z
