{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-23317",
        "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "state": "PUBLISHED",
        "assignerShortName": "Linux",
        "dateReserved": "2026-01-13T15:37:45.995Z",
        "datePublished": "2026-03-25T10:27:11.884Z",
        "dateUpdated": "2026-08-05T12:21:12.503Z"
    },
    "containers": {
        "cna": {
            "providerMetadata": {
                "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
                "shortName": "Linux",
                "dateUpdated": "2026-08-05T12:21:12.503Z"
            },
            "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": {
                        "version": "3.1",
                        "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
                        "baseScore": 7.8,
                        "baseSeverity": "HIGH"
                    },
                    "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.\""
                        }
                    ]
                }
            ],
            "affected": [
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "unaffected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c"
                    ],
                    "versions": [
                        {
                            "version": "7ac9578e45b20e3f3c0c8eb71f5417a499a7226a",
                            "lessThan": "ce3a5cf139787c186d5d54336107298cacaad2b9",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "a309c7194e8a2f8bd4539b9449917913f6c2cd50",
                            "lessThan": "7e55d0788b362c93660b80cc5603031bbbdefa98",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "a309c7194e8a2f8bd4539b9449917913f6c2cd50",
                            "lessThan": "36cb28b6d303a81e6ed4536017090e85e0143e42",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "a309c7194e8a2f8bd4539b9449917913f6c2cd50",
                            "lessThan": "531f45589787799aa81b63e1e1f8e71db5d93dd1",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "a309c7194e8a2f8bd4539b9449917913f6c2cd50",
                            "lessThan": "149f028772fa2879d9316b924ce948a6a0877e45",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "a309c7194e8a2f8bd4539b9449917913f6c2cd50",
                            "lessThan": "5023ca80f9589295cb60735016e39fc5cc714243",
                            "status": "affected",
                            "versionType": "git"
                        },
                        {
                            "version": "6.1.7",
                            "lessThan": "6.1.167",
                            "status": "affected",
                            "versionType": "semver"
                        }
                    ]
                },
                {
                    "product": "Linux",
                    "vendor": "Linux",
                    "defaultStatus": "affected",
                    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
                    "programFiles": [
                        "drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c"
                    ],
                    "versions": [
                        {
                            "version": "6.2",
                            "status": "affected"
                        },
                        {
                            "version": "0",
                            "lessThan": "6.2",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.1.167",
                            "lessThanOrEqual": "6.1.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.6.130",
                            "lessThanOrEqual": "6.6.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.12.77",
                            "lessThanOrEqual": "6.12.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.18.17",
                            "lessThanOrEqual": "6.18.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "6.19.7",
                            "lessThanOrEqual": "6.19.*",
                            "status": "unaffected",
                            "versionType": "semver"
                        },
                        {
                            "version": "7.0",
                            "lessThanOrEqual": "*",
                            "status": "unaffected",
                            "versionType": "original_commit_for_fix"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "operator": "OR",
                            "negate": false,
                            "cpeMatch": [
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.1.7",
                                    "versionEndExcluding": "6.1.167"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.2",
                                    "versionEndExcluding": "6.6.130"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.2",
                                    "versionEndExcluding": "6.12.77"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.2",
                                    "versionEndExcluding": "6.18.17"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.2",
                                    "versionEndExcluding": "6.19.7"
                                },
                                {
                                    "vulnerable": true,
                                    "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                                    "versionStartIncluding": "6.2",
                                    "versionEndExcluding": "7.0"
                                }
                            ]
                        }
                    ]
                }
            ],
            "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"
            }
        }
    }
}