drm/amdgpu: fix ACP MFD device leak on init failure (Linux Linux)

CVE-2026-98779
Non disponible

En bref

Source
NVD
EPSS
EPSS 0.18 % · centile 8 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
Linux
Produits affectés
Linux · Linux
Statut NVD
Received

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)

Références

Références européennes

Avis du CERT-FR

Produits affectés

ProduitVersions affectées
Linux · Linux
affectée : ≥ 25030321ba2860c56651429a4f28d94a6483d952 < 385ad314f1c096aae71fff516214bb312a6047fb
affectée : ≥ 25030321ba2860c56651429a4f28d94a6483d952 < 7b7f770f48be77ce38e93216983dcdf1ea3a42ba
affectée : ≥ 25030321ba2860c56651429a4f28d94a6483d952 < 65ef6645982ccde16a7bc98d025eb80f5fab47f6
affectée : ≥ 25030321ba2860c56651429a4f28d94a6483d952 < d700c26ed64bd3c26e4aa7679b9d5f3333c3747a
affectée : ≥ 25030321ba2860c56651429a4f28d94a6483d952 < 2b9a53940a2bc063ea4cd09ee49220a503a0170c
affectée : ≥ 25030321ba2860c56651429a4f28d94a6483d952 < 587469076e4ffb617f7ad1a0c4a13072a3e87113
affectée : ≥ 25030321ba2860c56651429a4f28d94a6483d952 < abf854513bc19e6e24d45353ac99ec5627ee0acc
affectée : ≥ 25030321ba2860c56651429a4f28d94a6483d952 < f0013046151b7467e62c471c1c83d63ea255799c
Autres versions : non affectée
Linux · Linux
affectée : 4.6
non affectée : ≥ 0 < 4.6
non affectée : ≥ 5.10.273 ≤ 5.10.*
non affectée : ≥ 5.15.224 ≤ 5.15.*
non affectée : ≥ 6.1.191 ≤ 6.1.*
non affectée : ≥ 6.6.160 ≤ 6.6.*
non affectée : ≥ 6.12.113 ≤ 6.12.*
non affectée : ≥ 6.18.56 ≤ 6.18.*
non affectée : ≥ 7.2.10 ≤ 7.2.*
non affectée : ≥ 7.3 ≤ *
Autres versions : affectée

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD