Skip to content
CVE PROGRAM SOURCE RECORDUnscored

CVE-2022-50667

drm/vmwgfx: Fix memory leak in vmw_mksstat_add_ioctl()

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

Linux Linux

Default version status: unaffected

  • 7a7a933edd6c3a6d5d64e08093f2d564104cefcd to < b47a37ad4a444d82f9caf153a79d090b79786ebbaffected
  • 7a7a933edd6c3a6d5d64e08093f2d564104cefcd to < 6ad40bbb2c25f17b899fcea114ebc0a46d8a938baffected
  • 7a7a933edd6c3a6d5d64e08093f2d564104cefcd to < 53066b144715332ce9370143c33c50d9a4d3e809affected
  • 7a7a933edd6c3a6d5d64e08093f2d564104cefcd to < a40c7f61d12fbd1e785e59140b9efd57127c0c33affected

Linux Linux

Default version status: affected

  • 5.15affected
  • 0 to < 5.15unaffected
  • 5.15.75 to ≤ 5.15.*unaffected
  • 5.19.17 to ≤ 5.19.*unaffected
  • 6.0.3 to ≤ 6.0.*unaffected
  • 6.1 to ≤ *unaffected

References