Bug 2495941 (CVE-2026-53329) - CVE-2026-53329 kernel: drm/amd/display: Use krealloc_array() in dal_vector_reserve()
Summary: CVE-2026-53329 kernel: drm/amd/display: Use krealloc_array() in dal_vector_re...
Keywords:
Status: NEW
Alias: CVE-2026-53329
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2026-07-01 14:02 UTC by OSIDB Bzimport
Modified: 2026-07-01 17:54 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)

Description OSIDB Bzimport 2026-07-01 14:02:28 UTC
In 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)

Comment 1 Mauro Matteo Cascella 2026-07-01 17:47:32 UTC
Upstream advisory:
https://lore.kernel.org/linux-cve-announce/2026070142-CVE-2026-53329-ccf5@gregkh/T


Note You need to log in before you can comment on or make changes to this bug.