CVEvulnerability
CVE-2022-50440
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2025-10-01
- Last modified
- 2026-10-15
- Assigner
- 416baaa9-dc9f-4396-8d5f-8c081fb06d67
- CVSS 3.1 (416baaa9-dc9f-4396-8d5f-8c081fb06d67)
- 7.8 HIGH — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-476
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.
Affected configurations
• linux linux kernel (>= 3.2 < 4.9.337)
• linux linux kernel (>= 4.10 < 4.14.303)
• linux linux kernel (>= 4.15 < 4.19.270)
• linux linux kernel (>= 4.20 < 5.4.229)
• linux linux kernel (>= 5.5 < 5.10.163)
• linux linux kernel (>= 5.11 < 5.15.87)
• linux linux kernel (>= 5.16 < 6.0.18)
• linux linux kernel (>= 6.1 < 6.1.4)
Related
Weakness · CWE (1)
- CWE-476 NULL Pointer Dereference weakness
References
- https://git.kernel.org/stable/c/439cbbc1519547f9a7b483f0de33b556ebfec901 Patch
- https://git.kernel.org/stable/c/4cf949c7fafe21e085a4ee386bb2dade9067316e Patch
- https://git.kernel.org/stable/c/4d54d11b49860686331c58a00f733b16a93edfc4 Patch
- https://git.kernel.org/stable/c/50d177f90b63ea4138560e500d92be5e4c928186 Patch
- https://git.kernel.org/stable/c/622d527decaac0eb65512acada935a0fdc1d0202 Patch
- https://git.kernel.org/stable/c/6948e570f54f2044dd4da444b10471373a047eeb Patch
- https://git.kernel.org/stable/c/6b4e70a428b5a11f56db94047b68e144529fe512 Patch
- https://git.kernel.org/stable/c/94b283341f9f3f0ed56a360533766377a01540e0 Patch
- https://git.kernel.org/stable/c/ee8d31836cbe7c26e207bfa0a4a726f0a25cfcf6 Patch