drm/amdgpu: fix ACP MFD device leak on init failure
Summary
| CVE | CVE-2026-98779 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-10-18 16:17:31 UTC |
| Updated | 2026-10-21 13:21:45 UTC |
| 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) |
Risk And Classification
EPSS: 0.001680000 probability, percentile 0.057210000 (date 2026-10-21)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Linux | Linux | affected 25030321ba2860c56651429a4f28d94a6483d952 d700c26ed64bd3c26e4aa7679b9d5f3333c3747a git | Not specified |
| CNA | Linux | Linux | affected 25030321ba2860c56651429a4f28d94a6483d952 2b9a53940a2bc063ea4cd09ee49220a503a0170c git | Not specified |
| CNA | Linux | Linux | affected 25030321ba2860c56651429a4f28d94a6483d952 587469076e4ffb617f7ad1a0c4a13072a3e87113 git | Not specified |
| CNA | Linux | Linux | affected 25030321ba2860c56651429a4f28d94a6483d952 abf854513bc19e6e24d45353ac99ec5627ee0acc git | Not specified |
| CNA | Linux | Linux | affected 25030321ba2860c56651429a4f28d94a6483d952 f0013046151b7467e62c471c1c83d63ea255799c git | Not specified |
| CNA | Linux | Linux | affected 4.6 | Not specified |
| CNA | Linux | Linux | unaffected 4.6 semver | Not specified |
| CNA | Linux | Linux | unaffected 6.6.160 6.6.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.12.113 6.12.* semver | Not specified |
| CNA | Linux | Linux | unaffected 6.18.56 6.18.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.2.10 7.2.* semver | Not specified |
| CNA | Linux | Linux | unaffected 7.3 * original_commit_for_fix | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| git.kernel.org/stable/c/abf854513bc19e6e24d45353ac99ec5627ee0acc | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/2b9a53940a2bc063ea4cd09ee49220a503a0170c | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/f0013046151b7467e62c471c1c83d63ea255799c | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/587469076e4ffb617f7ad1a0c4a13072a3e87113 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| git.kernel.org/stable/c/d700c26ed64bd3c26e4aa7679b9d5f3333c3747a | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | git.kernel.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.