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 DBC7F21A459 for ; Wed, 26 Feb 2025 02:24:58 +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=1740536698; cv=none; b=qevZv0xvV8hZaFmYX623Qkqe0Ay+izvthSNUMCoR+uBrQ/a0CDKBNQvNDC1q4J5IgKaoFmIlLkiiyIP6p2xRjgYRHWJLOcM7VoaE3eGDpKZLvIOHXdx58An5Tw5N2frqNvHAEzbsF4zBZFjNOwRyoQcBS2p0yluc8XE9ZGu6Qb8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740536698; c=relaxed/simple; bh=okSc5lialDRSsByt1QskCwiVQrCQY/cKXkkljpQJ6bU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=HDKgO9g/VCDSlKE3JgwJj4P8Qg9hdCmEp/eC+j6Z+/6frhnztQq2j/lPjOsSk881hHt9qx8HnugP3vYcPJO9G6r+4llMdfs4RUSYBmdICoeVj6eF5a/i1cGnnxw+iFCIo/XN73JICEwxwtjL4rcVOC4aFfNwGqNdmuy7v36n9gI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=TE7UAW5j; 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="TE7UAW5j" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B0978C4CEDD; Wed, 26 Feb 2025 02:24:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740536698; bh=okSc5lialDRSsByt1QskCwiVQrCQY/cKXkkljpQJ6bU=; h=From:To:Cc:Subject:Date:Reply-to:From; b=TE7UAW5jYO3wwvekuF211hVPFhKA8mPPnUWGBsrqvE74t80QCS1aY5vFs+yGr6bE1 dqZGgimd+stX/MizWNjKE55RZh+lnXALe+v2vCLWFUw0kvcjPK6KO0/8wXAiRnyr+b kOipE2qRKecMvLzHaknyp2ecVHF/odXO6DcXzjbQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49665: platform/x86: thinkpad_acpi: Fix a memory leak of EFCH MMIO resource Date: Wed, 26 Feb 2025 03:23:48 +0100 Message-ID: <2025022623-CVE-2022-49665-502b@gregkh> X-Mailer: git-send-email 2.48.1 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=1933; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=okSc5lialDRSsByt1QskCwiVQrCQY/cKXkkljpQJ6bU=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7qu6z+Eqc5LVvy5iqxsckWZPQs8H1qd/ZxtmrLqQvP ry4PkewI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACbir8ywYGK4YaXY5+/Lp79J nr5P7Fun/yPeEob5bjW2O27LH5e/1LV5kZKhuLferV0NAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: platform/x86: thinkpad_acpi: Fix a memory leak of EFCH MMIO resource Unlike release_mem_region(), a call to release_resource() does not free the resource, so it has to be freed explicitly to avoid a memory leak. The Linux kernel CVE team has assigned CVE-2022-49665 to this issue. Affected and fixed versions =========================== Issue introduced in 5.18 with commit 455cd867b85b53fd3602345f9b8a8facc551adc9 and fixed in 5.18.10 with commit 3884bf75fa044c73e843d95dd71a424e80ebb095 Issue introduced in 5.18 with commit 455cd867b85b53fd3602345f9b8a8facc551adc9 and fixed in 5.19 with commit d2f33f0c3ad7b0d5262d9b986f1353265fad7a08 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-49665 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/platform/x86/thinkpad_acpi.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/3884bf75fa044c73e843d95dd71a424e80ebb095 https://git.kernel.org/stable/c/d2f33f0c3ad7b0d5262d9b986f1353265fad7a08