From mboxrd@z Thu Jan 1 00:00:00 1970 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 A546C171095 for ; Fri, 21 Jun 2024 10:25:03 +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=1718965503; cv=none; b=o4eiOq2aouaf+Gza0oqO1p1ZKcg4Nt7PaciDyTTQ1tLWyYI1O7pjXQEb4hIe977LCgkp39JGBoRxoDhmWw0D8mCcxrxhdIDiQTSBCDMFWXyyg7tk6yeG6IHqZJMN0xhmYMgF1zT8NkR8IJ0kq40DbV7yIFPLL6rJaed4WtY4r6E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718965503; c=relaxed/simple; bh=vD+1CEijZRdaHm8IG+rG7+msKFCo/y6qJvQ6bdsWERU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ftPGYPrJwKqnOomILHQ7ayzGOy3vXZYEW8Y6jgem86uhAoI0HgvWI1DLUz/syhQg8YfFn3W6i5sUVQNa2bWevYJWReudDL7NafME25e8ARObTI5Z91zs0U23vifce8wpPcxN+aQ6zhNwtJjvcke4UP7vEyEzCeHUgIdl2H+BWFs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=nQeWdBoh; 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="nQeWdBoh" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2BEFEC2BBFC; Fri, 21 Jun 2024 10:25:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1718965503; bh=vD+1CEijZRdaHm8IG+rG7+msKFCo/y6qJvQ6bdsWERU=; h=From:To:Cc:Subject:Date:Reply-to:From; b=nQeWdBohCMF2mAxRZxQNYsZckvn8LVeVmeVkIGZBsi94m83oqeALPxMzQ3a9EqMAh 3W8X2abef3+cE2hFv/lwJh7+AYnz/1rxqsv961pXv5MNE6bB9B8W/5GQkS0BbEo/B6 rEvuPDJzcqcmYeOjYqHre6M7ZkWXN2TTzM+/+3IA= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-38632: vfio/pci: fix potential memory leak in vfio_intx_enable() Date: Fri, 21 Jun 2024 12:19:58 +0200 Message-ID: <2024062142-CVE-2024-38632-eaf6@gregkh> X-Mailer: git-send-email 2.45.2 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=2228; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=vD+1CEijZRdaHm8IG+rG7+msKFCo/y6qJvQ6bdsWERU=; b=owGbwMvMwCRo6H6F97bub03G02pJDGmlwftmr9IXlZRwiY7JmllTN78pMPxty+3XXE69OjUd1 7c07IvpiGVhEGRikBVTZPmyjefo/opDil6Gtqdh5rAygQxh4OIUgIls4WBY0GPEZ3jrkOaRkAnu GUfT7ti8XSSaz7Dg+OUs8109TNaKc6Y1fTI2nZbgI2sPAA== 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: vfio/pci: fix potential memory leak in vfio_intx_enable() If vfio_irq_ctx_alloc() failed will lead to 'name' memory leak. The Linux kernel CVE team has assigned CVE-2024-38632 to this issue. Affected and fixed versions =========================== Issue introduced in 6.6.24 with commit 69276a555c74 and fixed in 6.6.33 with commit 0bd22a4966d5 Issue introduced in 6.9 with commit 18c198c96a81 and fixed in 6.9.4 with commit 35fef97c33f3 Issue introduced in 6.9 with commit 18c198c96a81 and fixed in 6.10-rc1 with commit 82b951e6fbd3 Issue introduced in 5.4.274 with commit b18fa894d615 Issue introduced in 5.10.215 with commit 27d40bf72dd9 Issue introduced in 5.15.154 with commit 4cb0d7532126 Issue introduced in 6.1.84 with commit 7d29d4c72c1e Issue introduced in 6.7.12 with commit 4c089cefe309 Issue introduced in 6.8.3 with commit 0e09cf81959d 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-2024-38632 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/vfio/pci/vfio_pci_intrs.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/0bd22a4966d55f1d2c127a53300d5c2b50152376 https://git.kernel.org/stable/c/35fef97c33f3d3ca0455f9a8e2a3f2c1f8cc9140 https://git.kernel.org/stable/c/82b951e6fbd31d85ae7f4feb5f00ddd4c5d256e2