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

- 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.18%, higher than 7% of CVEs (2026-12-01)
- Published: 2025-10-01T11:42:16.567Z
- Modified: 2026-10-15T22:17:30.637Z
- Weaknesses: CWE-476
- 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 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 2ac863719e518ae1a8f328849e64ea26a222f079 before ee8d31836cbe7c26e207bfa0a4a726f0a25cfcf6; from 2ac863719e518ae1a8f328849e64ea26a222f079 before 50d177f90b63ea4138560e500d92be5e4c928186; from 2ac863719e518ae1a8f328849e64ea26a222f079 before 6b4e70a428b5a11f56db94047b68e144529fe512; from 2ac863719e518ae1a8f328849e64ea26a222f079 before 94b283341f9f3f0ed56a360533766377a01540e0; from 2ac863719e518ae1a8f328849e64ea26a222f079 before 439cbbc1519547f9a7b483f0de33b556ebfec901; from 2ac863719e518ae1a8f328849e64ea26a222f079 before 6948e570f54f2044dd4da444b10471373a047eeb; from 2ac863719e518ae1a8f328849e64ea26a222f079 before 4d54d11b49860686331c58a00f733b16a93edfc4; from 2ac863719e518ae1a8f328849e64ea26a222f079 before 622d527decaac0eb65512acada935a0fdc1d0202; from 2ac863719e518ae1a8f328849e64ea26a222f079 before 4cf949c7fafe21e085a4ee386bb2dade9067316e; 3.2 (not affected: before 3.2; from 4.9.337 up to 4.9.*; from 4.14.303 up to 4.14.*; from 4.19.270 up to 4.19.*; from 5.4.229 up to 5.4.*; from 5.10.163 up to 5.10.*; from 5.15.87 up to 5.15.*; from 6.0.18 up to 6.0.*; from 6.1.4 up to 6.1.*; from 6.2 up to *)
- linux linux_kernel: from 3.2 before 4.9.337; from 4.10 before 4.14.303; from 4.15 before 4.19.270; from 4.20 before 5.4.229; from 5.5 before 5.10.163; from 5.11 before 5.15.87; from 5.16 before 6.0.18; from 6.1 before 6.1.4

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

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

## Sources

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

---

Page: https://cve.day/CVE-2022-50440 · Whole record: https://cve.day/CVE-2022-50440.json · Rebuilt by cve.day 2026-11-25T22:58:21.219Z
