drm/radeon: fix memory leak in radeon_ring_restore() on lock failure

Summary

CVECVE-2026-74416
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-08-15 06:22:43 UTC
Updated2026-08-15 06:22:43 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: drm/radeon: fix memory leak in radeon_ring_restore() on lock failure radeon_ring_restore() takes ownership of the data buffer allocated by radeon_ring_backup(). The caller (radeon_gpu_reset()) only frees it in the non-restore branch; in the restore branch it relies on radeon_ring_restore() to free it. If radeon_ring_lock() fails, the function returned early without calling kvfree(data), leaking the ring backup buffer on every GPU reset that fails at the lock stage. During repeated GPU resets this causes cumulative kernel memory exhaustion. Free data before returning the error.

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 55d7c22192becd0ec827a6901899ff56fa985658 63912418f1fbb6456ea04bbcdf8f4d5090d23350 git Not specified
CNA Linux Linux affected 55d7c22192becd0ec827a6901899ff56fa985658 919e3e398bf301c6418dffdcd5e5c4fd9be39cf7 git Not specified
CNA Linux Linux affected 55d7c22192becd0ec827a6901899ff56fa985658 07c213f3499dd72e2922c1c73fe9ffea24874bef git Not specified
CNA Linux Linux affected 55d7c22192becd0ec827a6901899ff56fa985658 1c9ba32308c02c198c378fcdf06be9ffc3111147 git Not specified
CNA Linux Linux affected 55d7c22192becd0ec827a6901899ff56fa985658 eecfb76129ebef7e3aa41e18a4668cd91dfc6267 git Not specified
CNA Linux Linux affected 55d7c22192becd0ec827a6901899ff56fa985658 06dc892561f5a08b2493c34c8ec2cb94dea33159 git Not specified
CNA Linux Linux affected 55d7c22192becd0ec827a6901899ff56fa985658 ccc42187fc2d0720947a63ce1b9e399d2c068ff4 git Not specified
CNA Linux Linux affected 55d7c22192becd0ec827a6901899ff56fa985658 82f1d6042611d45b8b9de423bbcb4e0ced9ec62b git Not specified
CNA Linux Linux affected 3.6 Not specified
CNA Linux Linux unaffected 3.6 semver Not specified
CNA Linux Linux unaffected 5.10.261 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.212 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.178 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.145 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.97 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.40 6.18.* semver Not specified
CNA Linux Linux unaffected 7.1.5 7.1.* semver Not specified
CNA Linux Linux unaffected 7.2-rc1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/82f1d6042611d45b8b9de423bbcb4e0ced9ec62b 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/1c9ba32308c02c198c378fcdf06be9ffc3111147 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/06dc892561f5a08b2493c34c8ec2cb94dea33159 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/ccc42187fc2d0720947a63ce1b9e399d2c068ff4 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/63912418f1fbb6456ea04bbcdf8f4d5090d23350 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/07c213f3499dd72e2922c1c73fe9ffea24874bef 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/eecfb76129ebef7e3aa41e18a4668cd91dfc6267 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/919e3e398bf301c6418dffdcd5e5c4fd9be39cf7 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

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report