CVE-2022-50667

drm/vmwgfx: Fix memory leak in vmw_mksstat_add_ioctl()

State
Published
Severity
Not scored
Published
Dec 9, 2025
Updated
May 11, 2026
Reserved
Dec 9, 2025

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

drm/vmwgfx: Fix memory leak in vmw_mksstat_add_ioctl()

If the copy of the description string from userspace fails, then the page for the instance descriptor doesn't get freed before returning -EFAULT, which leads to a memleak.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 7a7a933edd6c3a6d5d64e08093f2d564104cefcd to before b47a37ad4a444d82f9caf153a79d090b79786ebbAffected
  • 7a7a933edd6c3a6d5d64e08093f2d564104cefcd to before 6ad40bbb2c25f17b899fcea114ebc0a46d8a938bAffected
  • 7a7a933edd6c3a6d5d64e08093f2d564104cefcd to before 53066b144715332ce9370143c33c50d9a4d3e809Affected
  • 7a7a933edd6c3a6d5d64e08093f2d564104cefcd to before a40c7f61d12fbd1e785e59140b9efd57127c0c33Affected
LinuxLinux
  • 5.15Affected
  • before 5.15Not affected
  • 5.15.75 through 5.15.*Not affected
  • 5.19.17 through 5.19.*Not affected
  • 6.0.3 through 6.0.*Not affected
  • 6.1 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.