← CVE Intelligence

CVE-2022-50440

drm/vmwgfx: Validate the box size for the snooped cursor PUBLISHED

Description (CNA)

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.

Affected (CNA)

Vendor / productVersions
Linux / Linuxaffected 2ac863719e518ae1a8f328849e64ea26a222f079 before ee8d31836cbe7c26e207bfa0a4a726f0a25cfcf6; affected 2ac863719e518ae1a8f328849e64ea26a222f079 before 50d177f90b63ea4138560e500d92be5e4c928186; affected 2ac863719e518ae1a8f328849e64ea26a222f079 before 6b4e70a428b5a11f56db94047b68e144529fe512; affected 2ac863719e518ae1a8f328849e64ea26a222f079 before 94b283341f9f3f0ed56a360533766377a01540e0; affected 2ac863719e518ae1a8f328849e64ea26a222f079 before 439cbbc1519547f9a7b483f0de33b556ebfec901; affected 2ac863719e518ae1a8f328849e64ea26a222f079 before 6948e570f54f2044dd4da444b10471373a047eeb; affected 2ac863719e518ae1a8f328849e64ea26a222f079 before 4d54d11b49860686331c58a00f733b16a93edfc4; affected 2ac863719e518ae1a8f328849e64ea26a222f079 before 622d527decaac0eb65512acada935a0fdc1d0202; affected 2ac863719e518ae1a8f328849e64ea26a222f079 before 4cf949c7fafe21e085a4ee386bb2dade9067316e
Linux / Linuxaffected 3.2; unaffected 0 before 3.2; unaffected 4.9.337 through 4.9.*; unaffected 4.14.303 through 4.14.*; unaffected 4.19.270 through 4.19.*; unaffected 5.4.229 through 5.4.*; unaffected 5.10.163 through 5.10.*; unaffected 5.15.87 through 5.15.*; unaffected 6.0.18 through 6.0.*; unaffected 6.1.4 through 6.1.*; unaffected 6.2 through *

CWE

No CWE identifiers supplied.

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.