CVE-2026-74444

drm/vmwgfx: validate DRAW_PRIMITIVES header size before division

HIGH 7.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: 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.

References

Scores

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

European references

CERT-FR advisories

Affected products

ProductVersions
Linux · Linuxaffected 7a73ba7469cbea631050094fd14f73acebb97cf9 < b89ca4bba820f79dde52af15ee139fe6e8bbc314 ; affected 7a73ba7469cbea631050094fd14f73acebb97cf9 < bef30317fcb4c838a37bceb2fc76256eb6b975c1 ; affected 7a73ba7469cbea631050094fd14f73acebb97cf9 < 112c6ff29a56f3a22db4d5af869697aa07035ad6 ; affected 7a73ba7469cbea631050094fd14f73acebb97cf9 < 2666cddf0dd218aa9bd1f99db688d1b532eac21a ; affected 7a73ba7469cbea631050094fd14f73acebb97cf9 < fc0c02f510e41650df3479f96e257acf87d8a20a ; affected 7a73ba7469cbea631050094fd14f73acebb97cf9 < dc0be7662b7b0ce28cb5eea864737793ed7b9e70
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