CVE-2026-74444

drm/vmwgfx: validate DRAW_PRIMITIVES header size before division

State
Published
Severity
7.8 High
Published
Aug 15, 2026
Updated
Oct 16, 2026
Reserved
Aug 15, 2026

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

drm/vmwgfx: validate DRAW_PRIMITIVES header size before division

vmw_cmd_draw() computes

maxnum = (header->size - sizeof(cmd->body)) / sizeof(*decl);

where header->size is u32 and is taken straight from the user-supplied command stream. When header->size is less than sizeof(cmd->body) the unsigned subtraction wraps to nearly 4 GiB, producing a huge maxnum. Any user-controlled cmd->body.numVertexDecls then passes the bound and the loop dereferences decl[i] far past the end of the kernel command bounce buffer, producing an out-of-bounds read of kernel memory.

Reject undersized headers up front.

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

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 7a73ba7469cbea631050094fd14f73acebb97cf9 to before b89ca4bba820f79dde52af15ee139fe6e8bbc314Affected
  • 7a73ba7469cbea631050094fd14f73acebb97cf9 to before bef30317fcb4c838a37bceb2fc76256eb6b975c1Affected
  • 7a73ba7469cbea631050094fd14f73acebb97cf9 to before 112c6ff29a56f3a22db4d5af869697aa07035ad6Affected
  • 7a73ba7469cbea631050094fd14f73acebb97cf9 to before 2666cddf0dd218aa9bd1f99db688d1b532eac21aAffected
  • 7a73ba7469cbea631050094fd14f73acebb97cf9 to before fc0c02f510e41650df3479f96e257acf87d8a20aAffected
  • 7a73ba7469cbea631050094fd14f73acebb97cf9 to before dc0be7662b7b0ce28cb5eea864737793ed7b9e70Affected
  • 7a73ba7469cbea631050094fd14f73acebb97cf9 to before c77cf8edae2bd3a1599115301cc7c98d0c78e731Affected
  • 7a73ba7469cbea631050094fd14f73acebb97cf9 to before 85891d174707d8bddcec7a888fb4e1d17def34f3Affected
LinuxLinux
  • 2.6.33Affected
  • before 2.6.33Not affected
  • 5.10.265 through 5.10.*Not affected
  • 5.15.216 through 5.15.*Not affected
  • 6.1.183 through 6.1.*Not affected
  • 6.6.151 through 6.6.*Not affected
  • 6.12.103 through 6.12.*Not affected
  • 6.18.44 through 6.18.*Not affected
  • 7.1.8 through 7.1.*Not affected
  • 7.2 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.