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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025091503-CVE-2022-50263-040c@gregkh>
Date: Mon, 15 Sep 2025 16:21:05 +0200
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2022-50263: vdpasim: fix memory leak when freeing IOTLBs

From: Greg Kroah-Hartman <gregkh@...nel.org>

Description
===========

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

vdpasim: fix memory leak when freeing IOTLBs

After commit bda324fd037a ("vdpasim: control virtqueue support"),
vdpasim->iommu became an array of IOTLB, so we should clean the
mappings of each free one by one instead of just deleting the ranges
in the first IOTLB which may leak maps.

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


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

	Issue introduced in 5.19 with commit bda324fd037a6b0d44da5699574ce741ca161bc4 and fixed in 6.0.19 with commit 54b210c90d2803a9f1c8fd2f0d08e90172e9a06d
	Issue introduced in 5.19 with commit bda324fd037a6b0d44da5699574ce741ca161bc4 and fixed in 6.1.5 with commit 16b22e27fba6fd816d0dcb98f42cc71f0836c27e
	Issue introduced in 5.19 with commit bda324fd037a6b0d44da5699574ce741ca161bc4 and fixed in 6.2 with commit 0b7a04a30eef20e6b24926a45c0ce7906ae85bd6

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-50263
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/vdpa/vdpa_sim/vdpa_sim.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/54b210c90d2803a9f1c8fd2f0d08e90172e9a06d
	https://git.kernel.org/stable/c/16b22e27fba6fd816d0dcb98f42cc71f0836c27e
	https://git.kernel.org/stable/c/0b7a04a30eef20e6b24926a45c0ce7906ae85bd6

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ