← Back to CVE Explorer

CVE-2026-98779

Full vulnerability record from the local CVENow database.

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)

Severity
Not scored
CVSS score
Not available
Vulnerability status
Received
Source identifier
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Published
2026-10-18 16:17:31.853000
Last modified
2026-10-30 13:21:27.513000
View original CVE JSON
{
  "id": "CVE-2026-98779",
  "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
  "published": "2026-10-18T16:17:31.853",
  "lastModified": "2026-10-30T13:21:27.513",
  "vulnStatus": "Received",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/amdgpu: fix ACP MFD device leak on init failure\n\nacp_hw_init() registers ACP child devices with mfd_add_devices() before\nattaching them to the ACP power domain and initializing the hardware.\n\nIf attaching a child to the power domain fails, or if the ACP reset or\nclock enable operation times out, the failure path frees only the\nsource cell, resource, and platform-data allocations. The child\nplatform devices already registered by mfd_add_devices() remain\nregistered and are never released.\n\nRemove the children from the power domain and unregister the MFD\ndevices on failures that occur after mfd_add_devices() succeeds. Keep\nmfd_add_devices() failures on the existing cleanup path since the MFD\ncore already rolls back partially registered children itself.\n\nThe issue was identified by a static analysis tool I developed and\nconfirmed by manual review.\n\n(cherry picked from commit 63da68d6a2279ec945581c990c5a59a5ae8b5560)"
    }
  ],
  "affected": [
    {
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "affectedData": [
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "unaffected",
          "programFiles": [
            "drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "25030321ba2860c56651429a4f28d94a6483d952",
              "lessThan": "385ad314f1c096aae71fff516214bb312a6047fb",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "25030321ba2860c56651429a4f28d94a6483d952",
              "lessThan": "7b7f770f48be77ce38e93216983dcdf1ea3a42ba",
              "versionType": "git",
              "status": "affected"
            },
            {
              "version": "25030321ba2860c56651429a4f28d94a6483d952",
              "lessThan": "65ef6645982ccde16a7bc98d025eb80f5fab47f6",
              "versionType": "git",
              "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",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "Linux",
          "product": "Linux",
          "defaultStatus": "affected",
          "programFiles": [
            "drivers/gpu/drm/amd/amdgpu/amdgpu_acp.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "versions": [
            {
              "version": "4.6",
              "status": "affected"
            },
            {
              "version": "0",
              "lessThan": "4.6",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.10.273",
              "lessThanOrEqual": "5.10.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "5.15.224",
              "lessThanOrEqual": "5.15.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.1.191",
              "lessThanOrEqual": "6.1.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.6.160",
              "lessThanOrEqual": "6.6.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.12.113",
              "lessThanOrEqual": "6.12.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "6.18.56",
              "lessThanOrEqual": "6.18.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.2.10",
              "lessThanOrEqual": "7.2.*",
              "versionType": "semver",
              "status": "unaffected"
            },
            {
              "version": "7.3",
              "lessThanOrEqual": "*",
              "versionType": "original_commit_for_fix",
              "status": "unaffected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {},
  "references": [
    {
      "url": "https://git.kernel.org/stable/c/2b9a53940a2bc063ea4cd09ee49220a503a0170c",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/385ad314f1c096aae71fff516214bb312a6047fb",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/587469076e4ffb617f7ad1a0c4a13072a3e87113",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/65ef6645982ccde16a7bc98d025eb80f5fab47f6",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/7b7f770f48be77ce38e93216983dcdf1ea3a42ba",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/abf854513bc19e6e24d45353ac99ec5627ee0acc",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/d700c26ed64bd3c26e4aa7679b9d5f3333c3747a",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    },
    {
      "url": "https://git.kernel.org/stable/c/f0013046151b7467e62c471c1c83d63ea255799c",
      "source": "416baaa9-dc9f-4396-8d5f-8c081fb06d67"
    }
  ]
}