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: <2025022620-CVE-2022-49653-f6b6@gregkh>
Date: Wed, 26 Feb 2025 03:23:36 +0100
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Subject: CVE-2022-49653: i2c: piix4: Fix a memory leak in the EFCH MMIO support

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

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

i2c: piix4: Fix a memory leak in the EFCH MMIO support

The recently added support for EFCH MMIO regions introduced a memory
leak in that code path. The leak is caused by the fact that
release_resource() merely removes the resource from the tree but does
not free its memory. We need to call release_mem_region() instead,
which does free the memory. As a nice side effect, this brings back
some symmetry between the legacy and MMIO paths.

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


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

	Issue introduced in 5.15.42 with commit 4b965566ca26e83553d92b8c57050e5d59911806 and fixed in 5.15.54 with commit d2bf1a6480e8d44658a8ac3bdcec081238873212
	Issue introduced in 5.18 with commit 7c148722d074c29fb998578eea5de3c14b9608c9 and fixed in 5.18.11 with commit a3263e4cf8265f0c9eb0ed8a9b50f132c7a42e19
	Issue introduced in 5.18 with commit 7c148722d074c29fb998578eea5de3c14b9608c9 and fixed in 5.19 with commit 8ad59b397f86a4d8014966fdc0552095a0c4fb2b
	Issue introduced in 5.17.10 with commit f48190bca4b1a397f2e050efea2c8e8e72049ec8

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-49653
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/i2c/busses/i2c-piix4.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/d2bf1a6480e8d44658a8ac3bdcec081238873212
	https://git.kernel.org/stable/c/a3263e4cf8265f0c9eb0ed8a9b50f132c7a42e19
	https://git.kernel.org/stable/c/8ad59b397f86a4d8014966fdc0552095a0c4fb2b

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ