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 6223D3CF1FC for ; Sun, 18 Oct 2026 16:15:02 +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=1792340103; cv=none; b=SrvZa+PcDVD01naB6ssmoxt0Oo0bsVtbYUaYkOT1Ucp+GTvx0J262VnfjhrN0Be+3tdhhUcM4zdiVXfNVSfbHdiR7KZq/DoQiSRZe87uJ8PObcZ7AomwEYzQlbFHr74KiOdXOpHSAeXdr9kHxkc4fyhxYp+5ULegRKXNA+GOfnA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1792340103; c=relaxed/simple; bh=b7q8DZpWkApTKUZLrbadrVsObNtWot/5w9P27PBgx+s=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=oij54L2aTASHy7upgCNLckuYgUe8j4Y0wnkl7MoUT6RBWft4fYRR1+3wYuRGin6QqDXKBw9SYwZoVAj4Y303ZeobIAZpwq1SvM6Q2ms/3JIiBiGfBCj6YGxwR0EkWYZF5ojKvYzpo8zUPQpxChy6/SH6h7mMRIUyZicuvrbO4Ao= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=oO0Yz+Kt; 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="oO0Yz+Kt" Received: by smtp.kernel.org (Postfix) with ESMTPSA id C5D251F000C4; Sun, 18 Oct 2026 16:15:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1792340102; bh=4EniFvXV2/V9fifhFNUYWl024cXMkBZMurIoxf5RYQk=; h=From:To:Cc:Subject:Date:Reply-To; b=oO0Yz+KtlDgZx57GgCmDzGZHA5bEz7HCZiO7S+BhE0G/SOoSEP3ceQhFn3l8PTjhx qlGnJ23Ayg47EoV2ku6Z8GA2XYfWxhUCUC0RpcLObNgP7ke2bXtgxRQZCMPlVWZv17 0QOogAtz1Ud0s7J9TZHmjfOcRnLrsJNe9jbIm5zg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-98779: drm/amdgpu: fix ACP MFD device leak on init failure Date: Sun, 18 Oct 2026 17:45:54 +0200 Message-ID: <2026101820-CVE-2026-98779-ea4d@gregkh> X-Mailer: git-send-email 2.56.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=3125; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=VQlynGjjgHO2UjpRZQOrOXAbs0QBv+QUIt58Komr4Fw=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlXXoZs4EtlnPhGcsN9e4ZHv6s0dsiK2l+ZVrlpa/RqP uc6p71zOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAiffcZFky7FHdsQ5Pxu4MM oSsydRsurlURTmOYn3xML3FirNBXdjU7BV/+S/znj6WmAQA= 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 ACP MFD device leak on init failure acp_hw_init() registers ACP child devices with mfd_add_devices() before attaching them to the ACP power domain and initializing the hardware. If attaching a child to the power domain fails, or if the ACP reset or clock enable operation times out, the failure path frees only the source cell, resource, and platform-data allocations. The child platform devices already registered by mfd_add_devices() remain registered and are never released. Remove the children from the power domain and unregister the MFD devices on failures that occur after mfd_add_devices() succeeds. Keep mfd_add_devices() failures on the existing cleanup path since the MFD core already rolls back partially registered children itself. The issue was identified by a static analysis tool I developed and confirmed by manual review. (cherry picked from commit 63da68d6a2279ec945581c990c5a59a5ae8b5560) The Linux kernel CVE team has assigned CVE-2026-98779 to this issue. Affected and fixed versions =========================== Issue introduced in 4.6 with commit 25030321ba2860c56651429a4f28d94a6483d952 and fixed in 6.12.113 with commit 2b9a53940a2bc063ea4cd09ee49220a503a0170c Issue introduced in 4.6 with commit 25030321ba2860c56651429a4f28d94a6483d952 and fixed in 6.18.56 with commit 587469076e4ffb617f7ad1a0c4a13072a3e87113 Issue introduced in 4.6 with commit 25030321ba2860c56651429a4f28d94a6483d952 and fixed in 7.2.10 with commit abf854513bc19e6e24d45353ac99ec5627ee0acc Issue introduced in 4.6 with commit 25030321ba2860c56651429a4f28d94a6483d952 and fixed in 7.3-rc6 with commit f0013046151b7467e62c471c1c83d63ea255799c 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-98779 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_acp.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/2b9a53940a2bc063ea4cd09ee49220a503a0170c https://git.kernel.org/stable/c/587469076e4ffb617f7ad1a0c4a13072a3e87113 https://git.kernel.org/stable/c/abf854513bc19e6e24d45353ac99ec5627ee0acc https://git.kernel.org/stable/c/f0013046151b7467e62c471c1c83d63ea255799c