Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BF0141A0731 for ; Thu, 1 May 2025 14:15:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746108929; cv=none; b=pBi6wsyqkBtMsAuwvyXFFoRaexV4mzm5a3IrblcPoWpX2cydRPIDEPUn44ei+AtEfHUgwcJSS2SKbNm5maNkuNzQzP9HR5wIhgr72utmu9rxT7aUBt0dzhEq5WT+5sUwFvnd+o1QnQ+CT5cvJ+OGIKsOa1/XxriJYV1NKh0Ko5o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746108929; c=relaxed/simple; bh=vDpUZejBXaPQFBsvswvNfqmv9mNevLJNvhFobzL9kOY=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=q9/jqa6gPYOKjNjVxuW9oX9+YGxEzxhQIhfYjOgAVN/LwEg0C2f4rkX/E3kNGru6MRda6L9nNqS+OGQ/c8iLiDUHwEBEHqL3c5cilXraBZyx4lL/+cPQoairXgTtCSgI0FqyI/j4nUZFSyAoYW+pG4tifYuxXpUHNKVY7GnByRQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=xaV5o+j7; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="xaV5o+j7" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2EC02C4CEE3; Thu, 1 May 2025 14:15:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1746108929; bh=vDpUZejBXaPQFBsvswvNfqmv9mNevLJNvhFobzL9kOY=; h=From:To:Cc:Subject:Date:Reply-to:From; b=xaV5o+j7ZB3TV46GP/poHUVAiZd/fNkkiu4bauwG/cjVT+jV2qWR33DFhnXCKh1yL jbm+PvFtsbdz7S38g2p/94C74TYHjw0HdtbRnL43asSojsVjUDfFtROUWuGpeHoDpK wz7NW35rmW2y9D0nWq0AB0YeLJzD8qlIZEu++4w8= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49855: net: wwan: iosm: fix memory leak in ipc_pcie_read_bios_cfg Date: Thu, 1 May 2025 16:10:45 +0200 Message-ID: <2025050145-CVE-2022-49855-502a@gregkh> X-Mailer: git-send-email 2.49.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=2250; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=WuEMjnvBymWN8VbjcXZqy/iN75pIkt5hJSkKileqGQQ=; b=owGbwMvMwCRo6H6F97bub03G02pJDBnCDStfq75cxnxkt43msubz2z+4dClpHZ2rZb369TWP3 mLT+67zOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAi2+cxzBX6cna1LKfNsyUa nTeFyyeLPGUxecow33tBUUfvpl2B76PmRRwy3+gu/3rqAwA= X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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