drm/amdgpu: fix ACP MFD device leak on init failure
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)
CVE-2026-98779
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-98779
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "25030321ba2860c56651429a4f28d94a6483d952",
"lessThan": "d700c26ed64bd3c26e4aa7679b9d5f3333c3747a",
"versionType": "git"
},
{
"status": "affected",
"version": "25030321ba2860c56651429a4f28d94a6483d952",
"lessThan": "2b9a53940a2bc063ea4cd09ee49220a503a0170c",
"versionType": "git"
},
{
"status": "affected",
"version": "25030321ba2860c56651429a4f28d94a6483d952",
"lessThan": "587469076e4ffb617f7ad1a0c4a13072a3e87113",
"versionType": "git"
},
{
"status": "affected",
"version": "25030321ba2860c56651429a4f28d94a6483d952",
"lessThan": "abf854513bc19e6e24d45353ac99ec5627ee0acc",
"versionType": "git"
},
{
"status": "affected",
"version": "25030321ba2860c56651429a4f28d94a6483d952",
"lessThan": "f0013046151b7467e62c471c1c83d63ea255799c",
"versionType": "git"
}
],
"programFiles": [
"drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "4.6"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "4.6",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.6.160",
"versionType": "semver",
"lessThanOrEqual": "6.6.*"
},
{
"status": "unaffected",
"version": "6.12.113",
"versionType": "semver",
"lessThanOrEqual": "6.12.*"
},
{
"status": "unaffected",
"version": "6.18.56",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.10",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-98779
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #48972 · Revision 1
- Added to Heist Feed
- Publisher date