[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025050145-CVE-2022-49855-502a@gregkh>
Date: Thu, 1 May 2025 16:10:45 +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-49855: net: wwan: iosm: fix memory leak in ipc_pcie_read_bios_cfg
From: Greg Kroah-Hartman <gregkh@...nel.org>
Description
===========
In the Linux kernel, the following vulnerability has been resolved:
net: wwan: iosm: fix memory leak in ipc_pcie_read_bios_cfg
ipc_pcie_read_bios_cfg() is using the acpi_evaluate_dsm() to
obtain the wwan power state configuration from BIOS but is
not freeing the acpi_object. The acpi_evaluate_dsm() returned
acpi_object to be freed.
Free the acpi_object after use.
The Linux kernel CVE team has assigned CVE-2022-49855 to this issue.
Affected and fixed versions
===========================
Issue introduced in 5.14 with commit 7e98d785ae6184c7580a33619dae8b651769ff08 and fixed in 5.15.79 with commit 13b1ea861e8aeb701bcfbfe436b943efa2d44029
Issue introduced in 5.14 with commit 7e98d785ae6184c7580a33619dae8b651769ff08 and fixed in 6.0.9 with commit 7560ceef4d2832a67e8781d924e129c7f542376f
Issue introduced in 5.14 with commit 7e98d785ae6184c7580a33619dae8b651769ff08 and fixed in 6.1 with commit d38a648d2d6cc7bee11c6f533ff9426a00c2a74c
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-49855
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/net/wwan/iosm/iosm_ipc_pcie.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/13b1ea861e8aeb701bcfbfe436b943efa2d44029
https://git.kernel.org/stable/c/7560ceef4d2832a67e8781d924e129c7f542376f
https://git.kernel.org/stable/c/d38a648d2d6cc7bee11c6f533ff9426a00c2a74c
Powered by blists - more mailing lists