lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025120945-CVE-2022-50667-01f6@gregkh>
Date: Tue,  9 Dec 2025 10:30:52 +0900
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2022-50667: drm/vmwgfx: Fix memory leak in vmw_mksstat_add_ioctl()

From: Greg Kroah-Hartman <gregkh@...nel.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.

The Linux kernel CVE team has assigned CVE-2022-50667 to this issue.


Affected and fixed versions
===========================

	Issue introduced in 5.15 with commit 7a7a933edd6c3a6d5d64e08093f2d564104cefcd and fixed in 5.15.75 with commit b47a37ad4a444d82f9caf153a79d090b79786ebb
	Issue introduced in 5.15 with commit 7a7a933edd6c3a6d5d64e08093f2d564104cefcd and fixed in 5.19.17 with commit 6ad40bbb2c25f17b899fcea114ebc0a46d8a938b
	Issue introduced in 5.15 with commit 7a7a933edd6c3a6d5d64e08093f2d564104cefcd and fixed in 6.0.3 with commit 53066b144715332ce9370143c33c50d9a4d3e809
	Issue introduced in 5.15 with commit 7a7a933edd6c3a6d5d64e08093f2d564104cefcd and fixed in 6.1 with commit a40c7f61d12fbd1e785e59140b9efd57127c0c33

Please see https://www.kernel.org for a full list of currently supported
kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to
older supported kernel versions.  The official CVE entry at
	https://cve.org/CVERecord/?id=CVE-2022-50667
will be updated if fixes are backported, please check that for the most
up to date information about this issue.


Affected files
==============

The file(s) affected by this issue are:
	drivers/gpu/drm/vmwgfx/vmwgfx_msg.c


Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest
stable kernel version for this, and many other bugfixes.  Individual
changes are never tested alone, but rather are part of a larger kernel
release.  Cherry-picking individual commits is not recommended or
supported by the Linux kernel community at all.  If however, updating to
the latest release is impossible, the individual changes to resolve this
issue can be found at these commits:
	https://git.kernel.org/stable/c/b47a37ad4a444d82f9caf153a79d090b79786ebb
	https://git.kernel.org/stable/c/6ad40bbb2c25f17b899fcea114ebc0a46d8a938b
	https://git.kernel.org/stable/c/53066b144715332ce9370143c33c50d9a4d3e809
	https://git.kernel.org/stable/c/a40c7f61d12fbd1e785e59140b9efd57127c0c33

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ