CVE-2026-23317 (GCVE-0-2026-23317)
Vulnerability from cvelistv5
Published
2026-03-25 10:27
Modified
2026-08-05 12:21
Summary
In the Linux kernel, the following vulnerability has been resolved: drm/vmwgfx: Return the correct value in vmw_translate_ptr functions Before the referenced fixes these functions used a lookup function that returned a pointer. This was changed to another lookup function that returned an error code with the pointer becoming an out parameter. The error path when the lookup failed was not changed to reflect this change and the code continued to return the PTR_ERR of the now uninitialized pointer. This could cause the vmw_translate_ptr functions to return success when they actually failed causing further uninitialized and OOB accesses.
Impacted products
Vendor Product Version
Linux Linux Version: 7ac9578e45b20e3f3c0c8eb71f5417a499a7226a
Version: a309c7194e8a2f8bd4539b9449917913f6c2cd50
Version: a309c7194e8a2f8bd4539b9449917913f6c2cd50
Version: a309c7194e8a2f8bd4539b9449917913f6c2cd50
Version: a309c7194e8a2f8bd4539b9449917913f6c2cd50
Version: a309c7194e8a2f8bd4539b9449917913f6c2cd50
Version: 6.1.7   
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "ce3a5cf139787c186d5d54336107298cacaad2b9",
              "status": "affected",
              "version": "7ac9578e45b20e3f3c0c8eb71f5417a499a7226a",
              "versionType": "git"
            },
            {
              "lessThan": "7e55d0788b362c93660b80cc5603031bbbdefa98",
              "status": "affected",
              "version": "a309c7194e8a2f8bd4539b9449917913f6c2cd50",
              "versionType": "git"
            },
            {
              "lessThan": "36cb28b6d303a81e6ed4536017090e85e0143e42",
              "status": "affected",
              "version": "a309c7194e8a2f8bd4539b9449917913f6c2cd50",
              "versionType": "git"
            },
            {
              "lessThan": "531f45589787799aa81b63e1e1f8e71db5d93dd1",
              "status": "affected",
              "version": "a309c7194e8a2f8bd4539b9449917913f6c2cd50",
              "versionType": "git"
            },
            {
              "lessThan": "149f028772fa2879d9316b924ce948a6a0877e45",
              "status": "affected",
              "version": "a309c7194e8a2f8bd4539b9449917913f6c2cd50",
              "versionType": "git"
            },
            {
              "lessThan": "5023ca80f9589295cb60735016e39fc5cc714243",
              "status": "affected",
              "version": "a309c7194e8a2f8bd4539b9449917913f6c2cd50",
              "versionType": "git"
            },
            {
              "lessThan": "6.1.167",
              "status": "affected",
              "version": "6.1.7",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.2"
            },
            {
              "lessThan": "6.2",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.167",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.130",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.12.*",
              "status": "unaffected",
              "version": "6.12.77",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.18.*",
              "status": "unaffected",
              "version": "6.18.17",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.19.*",
              "status": "unaffected",
              "version": "6.19.7",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "7.0",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.167",
                  "versionStartIncluding": "6.1.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.130",
                  "versionStartIncluding": "6.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.12.77",
                  "versionStartIncluding": "6.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.18.17",
                  "versionStartIncluding": "6.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.19.7",
                  "versionStartIncluding": "6.2",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "7.0",
                  "versionStartIncluding": "6.2",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/vmwgfx: Return the correct value in vmw_translate_ptr functions\n\nBefore the referenced fixes these functions used a lookup function that\nreturned a pointer. This was changed to another lookup function that\nreturned an error code with the pointer becoming an out parameter.\n\nThe error path when the lookup failed was not changed to reflect this\nchange and the code continued to return the PTR_ERR of the now\nuninitialized pointer. This could cause the vmw_translate_ptr functions\nto return success when they actually failed causing further uninitialized\nand OOB accesses."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The vulnerability is triggered via the DRM execbuf ioctl (DRM_IOCTL_VMW_EXECBUF) on the vmwgfx render node (/dev/dri/renderD*), requiring local system access.\nAC:L - The attacker reliably triggers the bug by submitting a command buffer with an invalid buffer handle. With CONFIG_INIT_STACK_ALL_ZERO (default on most modern distros), the uninitialized vmw_bo is deterministically NULL, making PTR_ERR return 0 every time.\nPR:L - The ioctl is marked DRM_RENDER_ALLOW, meaning any user with access to the render node can trigger it. Render nodes are typically accessible to unprivileged local users on desktop/VM systems.\nUI:N - No user interaction is required; the attacker directly issues the ioctl with a crafted command buffer.\nS:U - The vulnerability affects the kernel within its own security authority. While this is in a VM guest driver, exploitation stays within the guest kernel boundary.\nC:H - The uninitialized pointer dereference leads to OOB memory accesses, potentially reading arbitrary kernel memory contents.\nI:H - The uninitialized pointer is passed to vmw_bo_placement_set and vmw_validation_add_bo which perform write operations, enabling memory corruption that could be leveraged for code execution.\nA:H - Dereferencing an uninitialized or invalid pointer in kernel context causes a kernel oops/crash, confirmed by the commit message describing \"uninitialized and OOB accesses.\""
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T12:21:12.503Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/ce3a5cf139787c186d5d54336107298cacaad2b9"
        },
        {
          "url": "https://git.kernel.org/stable/c/7e55d0788b362c93660b80cc5603031bbbdefa98"
        },
        {
          "url": "https://git.kernel.org/stable/c/36cb28b6d303a81e6ed4536017090e85e0143e42"
        },
        {
          "url": "https://git.kernel.org/stable/c/531f45589787799aa81b63e1e1f8e71db5d93dd1"
        },
        {
          "url": "https://git.kernel.org/stable/c/149f028772fa2879d9316b924ce948a6a0877e45"
        },
        {
          "url": "https://git.kernel.org/stable/c/5023ca80f9589295cb60735016e39fc5cc714243"
        }
      ],
      "title": "drm/vmwgfx: Return the correct value in vmw_translate_ptr functions",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2026-23317",
    "datePublished": "2026-03-25T10:27:11.884Z",
    "dateReserved": "2026-01-13T15:37:45.995Z",
    "dateUpdated": "2026-08-05T12:21:12.503Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…