CVE-2026-74444 PUBLISHED

drm/vmwgfx: validate DRAW_PRIMITIVES header size before division

Assigner: Linux
Reserved: 15.08.2026 Published: 15.08.2026 Updated: 15.08.2026

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

drm/vmwgfx: validate DRAW_PRIMITIVES header size before division

vmw_cmd_draw() computes

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

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.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 7a73ba7469cbea631050094fd14f73acebb97cf9 to 2666cddf0dd218aa9bd1f99db688d1b532eac21a (excl.)
  • affected from 7a73ba7469cbea631050094fd14f73acebb97cf9 to fc0c02f510e41650df3479f96e257acf87d8a20a (excl.)
  • affected from 7a73ba7469cbea631050094fd14f73acebb97cf9 to dc0be7662b7b0ce28cb5eea864737793ed7b9e70 (excl.)
  • affected from 7a73ba7469cbea631050094fd14f73acebb97cf9 to c77cf8edae2bd3a1599115301cc7c98d0c78e731 (excl.)
  • affected from 7a73ba7469cbea631050094fd14f73acebb97cf9 to 85891d174707d8bddcec7a888fb4e1d17def34f3 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 2.6.33 is affected
  • unaffected from 0 to 2.6.33 (excl.)
  • unaffected from 6.6.151 to 6.6.* (incl.)
  • unaffected from 6.12.103 to 6.12.* (incl.)
  • unaffected from 6.18.44 to 6.18.* (incl.)
  • unaffected from 7.1.8 to 7.1.* (incl.)
  • unaffected from 7.2-rc6 to * (incl.)

References