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

CVE-2026-74443
HIGH 8.8

At a glance

Source
NVD
EPSS
EPSS 0.13 % · percentile 3 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Received

Description

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 (unsigned long) &cmd->body + header->size - sizeof(*suffix) 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.

References

Scores

VersionScoreVectorScored by
CVSS 3.1HIGH 8.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HLinux
CVSS 3.1HIGH 8.8CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:HNVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary)

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 4e4ddd47774313accc86b233d6ca2c6a9037a671 < eb20f418933bea53375843b27b4022c1810be63b ; affected 4e4ddd47774313accc86b233d6ca2c6a9037a671 < fcd1e56e7816b31a1050ccc67df722b20f6bb15d ; affected 4e4ddd47774313accc86b233d6ca2c6a9037a671 < a4a37080a5ac777b59306cfcdf854cc05d7604d4 ; affected 4e4ddd47774313accc86b233d6ca2c6a9037a671 < 036e16ada95389bdc30f41068af04c1d0872fad0 ; affected 4e4ddd47774313accc86b233d6ca2c6a9037a671 < d5d7ada4e1296b00d89fe82b2ca850cc7809d6f7 ; affected 4e4ddd47774313accc86b233d6ca2c6a9037a671 < 7e40e6120fb232a10b543ffd994e5c6d8f3a2cc6
Linux · Linuxaffected 2.6.33 ; unaffected 0 < 2.6.33 ; unaffected 5.10.265 ≤ 5.10.* ; unaffected 5.15.216 ≤ 5.15.* ; unaffected 6.1.183 ≤ 6.1.* ; unaffected 6.6.151 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD