CVE-2022-50440
drm/vmwgfx: Validate the box size for the snooped cursor
Check your servers for CVE-2022-50440
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2022-50440 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.18%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 7.74% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 15 Oct 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- total: full control of the component or of its data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 2ac863719e518ae1a8f328849e64ea26a222f079, before ee8d31836cbe7c26e207bfa0a4a726f0a25cfcf6 affected from 2ac863719e518ae1a8f328849e64ea26a222f079, before 50d177f90b63ea4138560e500d92be5e4c928186 affected from 2ac863719e518ae1a8f328849e64ea26a222f079, before 6b4e70a428b5a11f56db94047b68e144529fe512 affected from 2ac863719e518ae1a8f328849e64ea26a222f079, before 94b283341f9f3f0ed56a360533766377a01540e0 affected from 2ac863719e518ae1a8f328849e64ea26a222f079, before 439cbbc1519547f9a7b483f0de33b556ebfec901 affected from 2ac863719e518ae1a8f328849e64ea26a222f079, before 6948e570f54f2044dd4da444b10471373a047eeb affected from 2ac863719e518ae1a8f328849e64ea26a222f079, before 4d54d11b49860686331c58a00f733b16a93edfc4 affected from 2ac863719e518ae1a8f328849e64ea26a222f079, before 622d527decaac0eb65512acada935a0fdc1d0202 affected from 2ac863719e518ae1a8f328849e64ea26a222f079, before 4cf949c7fafe21e085a4ee386bb2dade9067316e
Other versions: unaffected
|
| Linux |
affected 3.2 unaffected before 3.2 unaffected from 4.9.337 up to and including 4.9.* unaffected from 4.14.303 up to and including 4.14.* unaffected from 4.19.270 up to and including 4.19.* unaffected from 5.4.229 up to and including 5.4.* unaffected from 5.10.163 up to and including 5.10.* unaffected from 5.15.87 up to and including 5.15.* unaffected from 6.0.18 up to and including 6.0.* unaffected from 6.1.4 up to and including 6.1.* unaffected 6.2 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2022-50440 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2022-50440
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2022-50440
trivy image --scanners vuln IMAGE | grep CVE-2022-50440
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/ee8d31836cbe7c26e207bfa0a4a726f0a25cfcf6 git.kernel.org
- https://git.kernel.org/stable/c/50d177f90b63ea4138560e500d92be5e4c928186 git.kernel.org
- https://git.kernel.org/stable/c/6b4e70a428b5a11f56db94047b68e144529fe512 git.kernel.org
- https://git.kernel.org/stable/c/94b283341f9f3f0ed56a360533766377a01540e0 git.kernel.org
- https://git.kernel.org/stable/c/439cbbc1519547f9a7b483f0de33b556ebfec901 git.kernel.org
- https://git.kernel.org/stable/c/6948e570f54f2044dd4da444b10471373a047eeb git.kernel.org
- https://git.kernel.org/stable/c/4d54d11b49860686331c58a00f733b16a93edfc4 git.kernel.org
- https://git.kernel.org/stable/c/622d527decaac0eb65512acada935a0fdc1d0202 git.kernel.org
- https://git.kernel.org/stable/c/4cf949c7fafe21e085a4ee386bb2dade9067316e git.kernel.org
Source: the record CVE-2022-50440 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse