drm/amd/display: Use krealloc_array() in dal_vector_reserve()

Summary

CVECVE-2026-53329
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-07-01 14:16:40 UTC
Updated2026-07-04 12:17:01 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Use krealloc_array() in dal_vector_reserve() [Why & How] dal_vector_reserve() computes the allocation size as "capacity * vector->struct_size" using uint32_t arithmetic, which can silently wrap to a small value on overflow. This would cause krealloc to return a smaller buffer than expected, leading to heap overflows on subsequent vector appends. Replace krealloc() with krealloc_array() which performs an internal overflow check and returns NULL on wrap, preventing the issue. (cherry picked from commit 37668568641ccc4cc1dbca4923d0a16609dd5707)

Risk And Classification

EPSS: 0.001900000 probability, percentile 0.088510000 (date 2026-07-03)

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 2004f45ef83f07f43f5da6ede780b08068c7583d 9540b0a4d13e4ede64ae1197d66a176d2149daa9 git Not specified
CNA Linux Linux affected 2004f45ef83f07f43f5da6ede780b08068c7583d 31180638a33acad12c863132704a76536fb66211 git Not specified
CNA Linux Linux affected 2004f45ef83f07f43f5da6ede780b08068c7583d b15825deac1acff72638bbc8f05b89ceef8dfb13 git Not specified
CNA Linux Linux affected 2004f45ef83f07f43f5da6ede780b08068c7583d 201151e120f0062bcda21cad5d007b82725ad23b git Not specified
CNA Linux Linux affected 2004f45ef83f07f43f5da6ede780b08068c7583d a914aa802669e073f014dae2e5708633b5cecd34 git Not specified
CNA Linux Linux affected 2004f45ef83f07f43f5da6ede780b08068c7583d e09689286385a66311ac6922af95339d7a3cef8d git Not specified
CNA Linux Linux affected 2004f45ef83f07f43f5da6ede780b08068c7583d de988c7a31f0774f07894cfe4802996f318e2870 git Not specified
CNA Linux Linux affected 2004f45ef83f07f43f5da6ede780b08068c7583d da48bc4461b8a5ebfb9264c9b191a701d8e99009 git Not specified
CNA Linux Linux affected 4.15 Not specified
CNA Linux Linux unaffected 4.15 semver Not specified
CNA Linux Linux unaffected 5.10.260 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.210 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.176 6.1.* semver Not specified
CNA Linux Linux unaffected 6.6.143 6.6.* semver Not specified
CNA Linux Linux unaffected 6.12.94 6.12.* semver Not specified
CNA Linux Linux unaffected 6.18.36 6.18.* semver Not specified
CNA Linux Linux unaffected 7.0.13 7.0.* semver Not specified
CNA Linux Linux unaffected 7.1 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/9540b0a4d13e4ede64ae1197d66a176d2149daa9 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/201151e120f0062bcda21cad5d007b82725ad23b 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/da48bc4461b8a5ebfb9264c9b191a701d8e99009 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/a914aa802669e073f014dae2e5708633b5cecd34 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/31180638a33acad12c863132704a76536fb66211 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/de988c7a31f0774f07894cfe4802996f318e2870 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/b15825deac1acff72638bbc8f05b89ceef8dfb13 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org
git.kernel.org/stable/c/e09689286385a66311ac6922af95339d7a3cef8d 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