Skip to content
Heist/ feed
Back to feed
HighFix available

drm/vmwgfx: fix guest_memory_dirty bitfield clobbered as size

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
6.12.103, 6.18.44, 6.6.151, 7.1.8
CVEs
CVE-2026-80702
Confirmed fixed CVEs
Not specified
Updated in this feed
3 Nov 2026, 04:55 UTC · Revision 1

Source evidence

drm/vmwgfx: fix guest_memory_dirty bitfield clobbered as size

core-osv · Original source

Published 28 Aug 2026, 06:53 UTC

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.

osv:CVE-2026-80702

Kernel

Fixed versions: 6.6.151, 6.12.103, 6.18.44, 7.1.8

Complete source record
{
  "id": "d2b3546ad7eee5c2ecf2f8001d505345efd6a8082b4827f854fa3793ec722600",
  "url": "https://osv.dev/vulnerability/CVE-2026-80702",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "drm/vmwgfx: fix guest_memory_dirty bitfield clobbered as size",
    "summary": "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.",
    "evidence": "osv:CVE-2026-80702",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "6.6.151",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.103",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.44",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.1.8",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-80702",
      "aliases": [
        "CVE-2026-80702"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "668b206601c5f5063e03b76784a0d3024fa2b249"
                },
                {
                  "fixed": "21bbe38faee4a195d33a93e3908e307807f7745d"
                },
                {
                  "fixed": "9d6cbb76fe9cd760351f6b0b20f1bf788eab8fa6"
                },
                {
                  "fixed": "282f261cb035e5f01a486f76d356b7e9dbfba73f"
                },
                {
                  "fixed": "3b2bb16a5b622867140d69925db411ac8ecb3b2b"
                },
                {
                  "fixed": "83195b778f2d109a3a4f3ffaba4dce7e4cdb58aa"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80702.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.4.0"
                },
                {
                  "fixed": "6.6.151"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.103"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.44"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "7.1.8"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-80702.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:25.903595015Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/21bbe38faee4a195d33a93e3908e307807f7745d",
        "https://git.kernel.org/stable/c/282f261cb035e5f01a486f76d356b7e9dbfba73f",
        "https://git.kernel.org/stable/c/3b2bb16a5b622867140d69925db411ac8ecb3b2b",
        "https://git.kernel.org/stable/c/83195b778f2d109a3a4f3ffaba4dce7e4cdb58aa",
        "https://git.kernel.org/stable/c/9d6cbb76fe9cd760351f6b0b20f1bf788eab8fa6",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80702.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-80702",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/80xxx/CVE-2026-80702.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-80702",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 492605,
  "published_at": "2026-08-28T06:53:05.253+00:00"
}