{"id":"CVE-2026-80702","aliases":["CVE-2026-80702"],"related":[],"kind":"vulnerability","state":"published","title":"drm/vmwgfx: fix guest_memory_dirty bitfield clobbered as size","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/vmwgfx: fix guest_memory_dirty bitfield clobbered as size\n\nTwo sites in vmwgfx_resource.c assign boolean literals to\nres->guest_memory_size, which is an unsigned long allocation-size\nfield; the intended target is the adjacent res->guest_memory_dirty\nbitfield.  After the assignments the field holds 0 or 1 instead of\nthe resource's MOB allocation size:\n\n  - vmw_resource_release()       writes 0 (false), and\n  - vmw_resource_unbind_list()   writes 1 (true).\n\nSubsequent revalidation paths read guest_memory_size when computing\nthe dirty page range (vmw_bo_dirty_transfer_to_res()) and the buffer\nallocation size (vmw_resource_buf_alloc()), producing zero-length\nwalks or wrap-around ranges that read or write past the MOB bitmap.\nThe dirty-tracking intent of the original code (mark the resource as\ndirtied since the last sync) is also lost, since guest_memory_dirty\nis never updated.\n\nRename both assignments to guest_memory_dirty.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/vmwgfx: fix guest_memory_dirty bitfield clobbered as size\n\nTwo sites in vmwgfx_resource.c assign boolean literals to\nres->guest_memory_size, which is an unsigned long allocation-size\nfield; the intended target is the adjacent res->guest_memory_dirty\nbitfield.  After the assignments the field holds 0 or 1 instead of\nthe resource's MOB allocation size:\n\n  - vmw_resource_release()       writes 0 (false), and\n  - vmw_resource_unbind_list()   writes 1 (true).\n\nSubsequent revalidation paths read guest_memory_size when computing\nthe dirty page range (vmw_bo_dirty_transfer_to_res()) and the buffer\nallocation size (vmw_resource_buf_alloc()), producing zero-length\nwalks or wrap-around ranges that read or write past the MOB bitmap.\nThe dirty-tracking intent of the original code (mark the resource as\ndirtied since the last sync) is also lost, since guest_memory_dirty\nis never updated.\n\nRename both assignments to guest_memory_dirty.","source":"cvelist"}],"published":"2026-08-28T06:53:05.253Z","modified":"2026-10-16T20:18:07.180Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"668b206601c5f5063e03b76784a0d3024fa2b249","fixed":"21bbe38faee4a195d33a93e3908e307807f7745d","status":"affected"},{"type":"git","introduced":"668b206601c5f5063e03b76784a0d3024fa2b249","fixed":"9d6cbb76fe9cd760351f6b0b20f1bf788eab8fa6","status":"affected"},{"type":"git","introduced":"668b206601c5f5063e03b76784a0d3024fa2b249","fixed":"282f261cb035e5f01a486f76d356b7e9dbfba73f","status":"affected"},{"type":"git","introduced":"668b206601c5f5063e03b76784a0d3024fa2b249","fixed":"3b2bb16a5b622867140d69925db411ac8ecb3b2b","status":"affected"},{"type":"git","introduced":"668b206601c5f5063e03b76784a0d3024fa2b249","fixed":"83195b778f2d109a3a4f3ffaba4dce7e4cdb58aa","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.4","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.4","status":"unaffected"},{"type":"semver","introduced":"6.6.151","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.103","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.44","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.1.8","lastAffected":"7.1.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/21bbe38faee4a195d33a93e3908e307807f7745d","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9d6cbb76fe9cd760351f6b0b20f1bf788eab8fa6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/282f261cb035e5f01a486f76d356b7e9dbfba73f","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/3b2bb16a5b622867140d69925db411ac8ecb3b2b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/83195b778f2d109a3a4f3ffaba4dce7e4cdb58aa","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-16T19:20:19.394Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-80702","url":"https://www.cve.org/CVERecord?id=CVE-2026-80702","licence":"CVE Terms of Use","modified":"2026-10-16T19:26:34.045Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-80702","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-80702","licence":"Public domain","modified":"2026-10-16T20:18:07.180Z"}],"updatedAt":"2026-11-25T22:59:35.619Z","epss":{"score":0.00129,"percentile":0.02714,"date":"2026-12-02T12:00:21.000Z"}}