CVE-2022-50440 drm/vmwgfx: Validate the box size for the snooped cursor
A local attacker can cause a kernel crash by triggering an invalid DMA surface copy in the vmwgfx driver due to missing box size validation.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-50440?
CVE-2022-50440 is a high-severity vulnerability in Linux kernel, published on 1 Oct 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-476
Which versions are affected by CVE-2022-50440?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2022-50440?
Apply the vendor's patch.
Is CVE-2022-50440 being exploited?
There is no known exploitation of CVE-2022-50440 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as DEBIAN-CVE-2022-50440, GHSA-rvwq-h638-7j7w, UBUNTU-CVE-2022-50440.