{"id":"CVE-2026-23317","summary":"drm/vmwgfx: Return the correct value in vmw_translate_ptr functions","details":"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.","modified":"2026-04-02T13:12:21.268928Z","published":"2026-03-25T10:27:11.884Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23317.json","cna_assigner":"Linux"},"references":[{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"},{"type":"WEB","url":"https://git.kernel.org/stable/c/149f028772fa2879d9316b924ce948a6a0877e45"},{"type":"WEB","url":"https://git.kernel.org/stable/c/36cb28b6d303a81e6ed4536017090e85e0143e42"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5023ca80f9589295cb60735016e39fc5cc714243"},{"type":"WEB","url":"https://git.kernel.org/stable/c/531f45589787799aa81b63e1e1f8e71db5d93dd1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/7e55d0788b362c93660b80cc5603031bbbdefa98"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ce3a5cf139787c186d5d54336107298cacaad2b9"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/23xxx/CVE-2026-23317.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-23317"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"7ac9578e45b20e3f3c0c8eb71f5417a499a7226a"},{"fixed":"ce3a5cf139787c186d5d54336107298cacaad2b9"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"a309c7194e8a2f8bd4539b9449917913f6c2cd50"},{"fixed":"7e55d0788b362c93660b80cc5603031bbbdefa98"},{"fixed":"36cb28b6d303a81e6ed4536017090e85e0143e42"},{"fixed":"531f45589787799aa81b63e1e1f8e71db5d93dd1"},{"fixed":"149f028772fa2879d9316b924ce948a6a0877e45"},{"fixed":"5023ca80f9589295cb60735016e39fc5cc714243"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23317.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"6.1.167"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.130"},{"fixed":"6.12.77"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.18.17"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.19.7"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-23317.json"}}],"schema_version":"1.7.5"}