Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 CD0283F8893 for ; Wed, 27 May 2026 12:26:42 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779884803; cv=none; b=uElOK9HB+JAZmhwKernibt4a/1f1aWyB6DEldcNGilpZ90QyxympL7thGqlGGBa2mERXC3B1V8g4hTkY8/cZTokZ6+Zmws6+uyblPskB8KwME/hOEqv4AIrvm8KfYk76G9lx2ynCf3M0kCGiytmSLGkVpG0Oek5udQdNrkmA0vc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779884803; c=relaxed/simple; bh=n/aWko5M2u5eO3B3vcOr95uJ8bWHi53OV3xgRKJG0yM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=FwUWJTx3JBO1zRtJiS88J7B6V1RVgydJrB0VruU3Qt6Y65rtdygzDyzTnvVkcQ6GTHPQb5/BNLwZcbvP/YCr6SbLPcHNiJA+LoeM59CCRkNK4QJXYyFpbAW3jS1L2A2REqRwWk9TUcBj6XNMEZUKqybAeXKc7YdGm7sbH0ksWK8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=Z5WWgNxf; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="Z5WWgNxf" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 289591F000E9; Wed, 27 May 2026 12:26:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779884802; bh=9aPgiMWd1JX04DjrJ/U5sCiFLSIIYhmZaPNucrkuvtI=; h=From:To:Cc:Subject:Date:Reply-To; b=Z5WWgNxfy0R8bbkVQTDf/MSQPY/xFomtBQrgHGTNAgvpZWXNP9PlyUydIgE11Iirt JRiQeK2LaTSaLHpWfFebuMpLNYcdsxgIFvK32hAZBxnMtWhVhISlV2ASmEIHdSBb6r 7i3oNYzfNHFLnpQYAZtDCG82LDAxHzVg//ROqiPs= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-45947: drm/amdgpu: Fix memory leak in amdgpu_acpi_enumerate_xcc() Date: Wed, 27 May 2026 14:19:49 +0200 Message-ID: <2026052730-CVE-2026-45947-aad9@gregkh> X-Mailer: git-send-email 2.54.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2808; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=lcdG/KsWYCqENKrNVhsR8ggyeRSy+5i8nLEUzqEiRjY=; b=owGbwMvMwCRo6H6F97bub03G02pJDFliD8XeX3+h7mcdPDli+ztHt83q01bJeWfrP7ex4jCpW L9+QfGmjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhIiRHD/ICo5Beqad7Gjfvi roaxKIRft+iRYFiwpNv/al9PSQxX9SGpJf0/Ur3U3FgB 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: drm/amdgpu: Fix memory leak in amdgpu_acpi_enumerate_xcc() In amdgpu_acpi_enumerate_xcc(), if amdgpu_acpi_dev_init() returns -ENOMEM, the function returns directly without releasing the allocated xcc_info, resulting in a memory leak. Fix this by ensuring that xcc_info is properly freed in the error paths. Compile tested only. Issue found using a prototype static analysis tool and code review. The Linux kernel CVE team has assigned CVE-2026-45947 to this issue. Affected and fixed versions =========================== Issue introduced in 6.5 with commit 4d5275ab0b18d17697392aafd93e206e6b9de647 and fixed in 6.6.128 with commit e87c73a80a12d337cf5f493c0956f6c2c9eafd80 Issue introduced in 6.5 with commit 4d5275ab0b18d17697392aafd93e206e6b9de647 and fixed in 6.12.75 with commit 18a7bbd11f17a7cd4c42fd5955d3675d68c692df Issue introduced in 6.5 with commit 4d5275ab0b18d17697392aafd93e206e6b9de647 and fixed in 6.18.14 with commit d1370ef2ecf7d4df25e3e1e430cd191b1e7f8596 Issue introduced in 6.5 with commit 4d5275ab0b18d17697392aafd93e206e6b9de647 and fixed in 6.19.4 with commit 7e4b612fe7a960d610c20260c9ee220bddd1b215 Issue introduced in 6.5 with commit 4d5275ab0b18d17697392aafd93e206e6b9de647 and fixed in 7.0 with commit c9be63d565789b56ca7b0197e2cb78a3671f95a8 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-2026-45947 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/gpu/drm/amd/amdgpu/amdgpu_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/e87c73a80a12d337cf5f493c0956f6c2c9eafd80 https://git.kernel.org/stable/c/18a7bbd11f17a7cd4c42fd5955d3675d68c692df https://git.kernel.org/stable/c/d1370ef2ecf7d4df25e3e1e430cd191b1e7f8596 https://git.kernel.org/stable/c/7e4b612fe7a960d610c20260c9ee220bddd1b215 https://git.kernel.org/stable/c/c9be63d565789b56ca7b0197e2cb78a3671f95a8