# CVE-2026-74444: drm/vmwgfx: validate DRAW_PRIMITIVES header size before division

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.13%, higher than 2% of CVEs (2026-12-01)
- Published: 2026-08-15T12:26:51.443Z
- Modified: 2026-10-16T20:17:28.103Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 7a73ba7469cbea631050094fd14f73acebb97cf9 before b89ca4bba820f79dde52af15ee139fe6e8bbc314; from 7a73ba7469cbea631050094fd14f73acebb97cf9 before bef30317fcb4c838a37bceb2fc76256eb6b975c1; from 7a73ba7469cbea631050094fd14f73acebb97cf9 before 112c6ff29a56f3a22db4d5af869697aa07035ad6; from 7a73ba7469cbea631050094fd14f73acebb97cf9 before 2666cddf0dd218aa9bd1f99db688d1b532eac21a; from 7a73ba7469cbea631050094fd14f73acebb97cf9 before fc0c02f510e41650df3479f96e257acf87d8a20a; from 7a73ba7469cbea631050094fd14f73acebb97cf9 before dc0be7662b7b0ce28cb5eea864737793ed7b9e70; from 7a73ba7469cbea631050094fd14f73acebb97cf9 before c77cf8edae2bd3a1599115301cc7c98d0c78e731; from 7a73ba7469cbea631050094fd14f73acebb97cf9 before 85891d174707d8bddcec7a888fb4e1d17def34f3; 2.6.33 (not affected: before 2.6.33; from 5.10.265 up to 5.10.*; from 5.15.216 up to 5.15.*; from 6.1.183 up to 6.1.*; from 6.6.151 up to 6.6.*; from 6.12.103 up to 6.12.*; from 6.18.44 up to 6.18.*; from 7.1.8 up to 7.1.*; from 7.2 up to *)

## References

- <https://git.kernel.org/stable/c/b89ca4bba820f79dde52af15ee139fe6e8bbc314>
- <https://git.kernel.org/stable/c/bef30317fcb4c838a37bceb2fc76256eb6b975c1>
- <https://git.kernel.org/stable/c/112c6ff29a56f3a22db4d5af869697aa07035ad6>
- <https://git.kernel.org/stable/c/2666cddf0dd218aa9bd1f99db688d1b532eac21a>
- <https://git.kernel.org/stable/c/fc0c02f510e41650df3479f96e257acf87d8a20a>
- <https://git.kernel.org/stable/c/dc0be7662b7b0ce28cb5eea864737793ed7b9e70>
- <https://git.kernel.org/stable/c/c77cf8edae2bd3a1599115301cc7c98d0c78e731>
- <https://git.kernel.org/stable/c/85891d174707d8bddcec7a888fb4e1d17def34f3>

## Sources

- CVE List: [CVE-2026-74444](https://www.cve.org/CVERecord?id=CVE-2026-74444), CVE Terms of Use, modified 2026-10-16
- NVD: [CVE-2026-74444](https://nvd.nist.gov/vuln/detail/CVE-2026-74444), Public domain, modified 2026-10-16

---

Page: https://cve.day/CVE-2026-74444 · Whole record: https://cve.day/CVE-2026-74444.json · Rebuilt by cve.day 2026-11-25T22:59:33.216Z
