Shellfeed logo Shellfeed

CVE-2026-98779 · UNKNOWN

Summary: drm/amdgpu: fix ACP MFD device leak on init failure

EPSS: 0.2% probability of exploitation in the next 30 days (percentile 7.3).

Details

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)

Affected packages

  • GIT git.kernel.org/pub/scm/linux/kernel/git/stable/linux [25030321ba2860c56651429a4f28d94a6483d952 – 385ad314f1c096aae71fff516214bb312a6047fb]
  • Linux Kernel [4.6.0 – 5.10.273] [5.11.0 – 5.15.224] [5.16.0 – 6.1.191] [6.2.0 – 6.6.160] [6.7.0 – 6.12.113] [6.13.0 – 6.18.56] [6.19.0 – 7.2.10]

References