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 3852A1A9B2B for ; Wed, 26 Feb 2025 01:58:30 +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=1740535110; cv=none; b=ATl2v4vl/tLsY2iM6mvYpd8OVIcoc0a9w0R6FpeX4RpE9JXMTbSO+4DOBWUSzjMwqKqj9Vg1ZJPtvf6Qfj39EbJ7YWo1icusyr+PcKCa0ulBn/Kdp/+9OvG3giPWKf1Tww2oLr87NhHgwo7rW6qwxnfajGGDWsjMfTeh+7muhcY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1740535110; c=relaxed/simple; bh=6DVxH7ZSO8gomKbV8WyZy5taN8SGotTqC7BY/s5ItZM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=gemaZJ+dZt3mjvr4DeWP++8/mjaeFuExNw+143g02arSbsIdZKDcID9r0dWtJF+CwsvbEBbd+tEALCflaIcTgXfI4P9g/4TrIhhEjQOpu/kbqXhehHv91Wr4I2yOEnompPT7qWgUURotQaHOzt+v0SZdrLmOIwrJUpNmMky5rrg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=KLqJL3HJ; 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="KLqJL3HJ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0CFDFC4CEDD; Wed, 26 Feb 2025 01:58:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1740535110; bh=6DVxH7ZSO8gomKbV8WyZy5taN8SGotTqC7BY/s5ItZM=; h=From:To:Cc:Subject:Date:Reply-to:From; b=KLqJL3HJ+tzT8ge3zXzJh3exKIDfuHJoZ5Hyweh1FkWzwJeOJhNoUPSBh1KELH77a flhuHKmQAjf7xV3r5OwIl9XJ+pCgU0eRkrnXQR2XsowmbwPPzgO091x9r0Jk66zTve yGm4IBIugpf5baHD6riYOsnFnMG86TBCDyP4Lvng= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-49115: PCI: endpoint: Fix misused goto label Date: Wed, 26 Feb 2025 02:55:20 +0100 Message-ID: <2025022603-CVE-2022-49115-44c9@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=2113; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=6DVxH7ZSO8gomKbV8WyZy5taN8SGotTqC7BY/s5ItZM=; b=owGbwMvMwCRo6H6F97bub03G02pJDOn7SqxXnLQ7dbyH7eRtw3MJu//M8j4ptJq7MULlZ9TSr E7WM08WdMSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEJoszLFgclLdGwr7t5SmB O2++7umwE5vF8ZphfoXHvc+/e95u6mxbt3pr+FbtO5t+XwEA 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: PCI: endpoint: Fix misused goto label Fix a misused goto label jump since that can result in a memory leak. The Linux kernel CVE team has assigned CVE-2022-49115 to this issue. Affected and fixed versions =========================== Fixed in 5.10.111 with commit 7c657c0694ff690e361a13ce41c36b9dfb433ec8 Fixed in 5.15.34 with commit dc9d33b2d8d09e6478e8ef817a81cf26930acc3e Fixed in 5.16.20 with commit 70236a0d2d62b081d52076de22d8d017d6cbe99f Fixed in 5.17.3 with commit d3642fc64276b06446290f82fd45630aeaa4b007 Fixed in 5.18 with commit bf8d87c076f55b8b4dfdb6bc6c6b6dc0c2ccb487 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-49115 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/pci/endpoint/functions/pci-epf-test.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/7c657c0694ff690e361a13ce41c36b9dfb433ec8 https://git.kernel.org/stable/c/dc9d33b2d8d09e6478e8ef817a81cf26930acc3e https://git.kernel.org/stable/c/70236a0d2d62b081d52076de22d8d017d6cbe99f https://git.kernel.org/stable/c/d3642fc64276b06446290f82fd45630aeaa4b007 https://git.kernel.org/stable/c/bf8d87c076f55b8b4dfdb6bc6c6b6dc0c2ccb487