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 7A58429344F for ; Wed, 18 Jun 2025 11:14:10 +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=1750245250; cv=none; b=WfxwQU3nAc+RbbodHR+iznlldXjPqSypLJSK9dLQ9f1mf1EOhl8R/gGmdsKvvdC68wuHpTG1ZJ0WfQpBg25ZDeqCwrxfRFx01TNob5YmgMYDTsDM8Z4msKGNeYXRcbvj6M1AlBmRy1WQsTx2gVkT2AMOJ1QhjA4xrBIWrjcgriw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750245250; c=relaxed/simple; bh=Kmz/uSAzNlaQ5cidoWAl+05fKTZPCWdWG9Yb/CY2i3c=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=hzh1tfGHapoXnmhupe2/jMiLx9xNvHBgGYQJj9xLFe7IXHwNFBEFaxjTIgvWbysi9oRkd9gQXHE32riZzKHu0Jr2mEZdHa4tWic3SAJYlRwqUkre3glSHfHWhYh3fwsDGEEeeAknCcrfSg/2E64C/CSXLV8ZQTZRRZm3y3zNbhY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=PegMHGOk; 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="PegMHGOk" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D29C8C4CEE7; Wed, 18 Jun 2025 11:14:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1750245250; bh=Kmz/uSAzNlaQ5cidoWAl+05fKTZPCWdWG9Yb/CY2i3c=; h=From:To:Cc:Subject:Date:Reply-to:From; b=PegMHGOkpkGhWt2WgkRt8+rhfPbon7ucuXAH+M9z/YAoDPJQ2TN2qeQ7eEmupDiu/ H0Aj+SJ7iNnI5GalxjevJIrYPBEU6/iWkrvEQt6uu4o4TgjE9hBBrAYFTgQRjByOxG CbMH9Ecv+kSwAfxM+VQzlBHqZGcrxZVhnxAcd610= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50143: intel_th: Fix a resource leak in an error handling path Date: Wed, 18 Jun 2025 13:03:28 +0200 Message-ID: <2025061819-CVE-2022-50143-fac7@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=2822; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=K0EWXDpE7m+pEcUz1BJfzf5rfcbqzVXrPgyWnlvsWM8=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlBc+ofd6QIJ97Wr/80Y/axVdYcqZNuPGy/cy6kvPr5+ vVFFar9HbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjCR6dMZFlx7naJo8mTfkecP VE2D5zzhnF3cYsGw4Exikon+g3uKdY1yNp2/9Wa8res5BgA= 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: intel_th: Fix a resource leak in an error handling path If an error occurs after calling 'pci_alloc_irq_vectors()', 'pci_free_irq_vectors()' must be called as already done in the remove function. The Linux kernel CVE team has assigned CVE-2022-50143 to this issue. Affected and fixed versions =========================== Issue introduced in 5.2 with commit 7b7036d47c356a40818e516a69ac81a5dcc1613f and fixed in 5.4.211 with commit 859342220accd0d332864fafbf4e3d2d0492bc3f Issue introduced in 5.2 with commit 7b7036d47c356a40818e516a69ac81a5dcc1613f and fixed in 5.10.137 with commit a8f3b78b1f8e959d06801ae82149f140a75724e8 Issue introduced in 5.2 with commit 7b7036d47c356a40818e516a69ac81a5dcc1613f and fixed in 5.15.61 with commit 9b5469573a274729bdb04b60a8d71f8d09940a31 Issue introduced in 5.2 with commit 7b7036d47c356a40818e516a69ac81a5dcc1613f and fixed in 5.18.18 with commit ed4d5ecb7d7fd80336afb2f9ac6685651a6aa32f Issue introduced in 5.2 with commit 7b7036d47c356a40818e516a69ac81a5dcc1613f and fixed in 5.19.2 with commit fae9da7d4c2ccad3792de03e3cac1fe2bfabb73d Issue introduced in 5.2 with commit 7b7036d47c356a40818e516a69ac81a5dcc1613f and fixed in 6.0 with commit 086c28ab7c5699256aced0049aae9c42f1410313 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-50143 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/hwtracing/intel_th/pci.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/859342220accd0d332864fafbf4e3d2d0492bc3f https://git.kernel.org/stable/c/a8f3b78b1f8e959d06801ae82149f140a75724e8 https://git.kernel.org/stable/c/9b5469573a274729bdb04b60a8d71f8d09940a31 https://git.kernel.org/stable/c/ed4d5ecb7d7fd80336afb2f9ac6685651a6aa32f https://git.kernel.org/stable/c/fae9da7d4c2ccad3792de03e3cac1fe2bfabb73d https://git.kernel.org/stable/c/086c28ab7c5699256aced0049aae9c42f1410313