CVE-2026-23317

drm/vmwgfx: Return the correct value in vmw_translate_ptr functions

State
Published
Severity
7.8 High
Published
Mar 25, 2026
Updated
Oct 19, 2026
Reserved
Jan 13, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

  • CWE-457 Use of Uninitialized Variable

Affected Products

ProductVersions
LinuxLinux
  • 7ac9578e45b20e3f3c0c8eb71f5417a499a7226a to before ce3a5cf139787c186d5d54336107298cacaad2b9Affected
  • a309c7194e8a2f8bd4539b9449917913f6c2cd50 to before 7e55d0788b362c93660b80cc5603031bbbdefa98Affected
  • a309c7194e8a2f8bd4539b9449917913f6c2cd50 to before 36cb28b6d303a81e6ed4536017090e85e0143e42Affected
  • a309c7194e8a2f8bd4539b9449917913f6c2cd50 to before 531f45589787799aa81b63e1e1f8e71db5d93dd1Affected
  • a309c7194e8a2f8bd4539b9449917913f6c2cd50 to before 149f028772fa2879d9316b924ce948a6a0877e45Affected
  • a309c7194e8a2f8bd4539b9449917913f6c2cd50 to before 5023ca80f9589295cb60735016e39fc5cc714243Affected
  • 6.1.7 to before 6.1.167Affected
LinuxLinux
  • 6.2Affected
  • before 6.2Not affected
  • 6.1.167 through 6.1.*Not affected
  • 6.6.130 through 6.6.*Not affected
  • 6.12.77 through 6.12.*Not affected
  • 6.18.17 through 6.18.*Not affected
  • 6.19.7 through 6.19.*Not affected
  • 7.0 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.