CVE-2026-74443 PUBLISHED

drm/vmwgfx: bound DMA command body size against suffix pointer

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: bound DMA command body size against suffix pointer

vmw_cmd_dma() locates the DMA suffix at

<pre>(unsigned long) &cmd->body + header->size - sizeof(*suffix) </pre>

without checking that header->size is large enough to contain both cmd->body and the suffix. An undersized header makes the suffix pointer underflow back into the previous command in the bounce buffer. The verifier later writes suffix->maximumOffset, clobbering verified fields of an already-relocated earlier command -- a TOCTOU on the device-visible command stream that lets one command rewrite another's GMR id, surface id, or other authenticated fields.

Reject the command if the body is too small for the suffix to fit.

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 4e4ddd47774313accc86b233d6ca2c6a9037a671 to 036e16ada95389bdc30f41068af04c1d0872fad0 (excl.)
  • affected from 4e4ddd47774313accc86b233d6ca2c6a9037a671 to d5d7ada4e1296b00d89fe82b2ca850cc7809d6f7 (excl.)
  • affected from 4e4ddd47774313accc86b233d6ca2c6a9037a671 to 7e40e6120fb232a10b543ffd994e5c6d8f3a2cc6 (excl.)
  • affected from 4e4ddd47774313accc86b233d6ca2c6a9037a671 to 9759da60e38d7b9db44dc92713e4e0391883d221 (excl.)
  • affected from 4e4ddd47774313accc86b233d6ca2c6a9037a671 to f4f1db96bfd68b81053693ba53405b6f510ac16c (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