CVE-2026-53329 PUBLISHED

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

Assigner: Linux
Reserved: 09.06.2026 Published: 01.07.2026 Updated: 01.07.2026

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)

Product Status

Vendor Linux
Product Linux
Versions Default: unaffected
  • affected from 2004f45ef83f07f43f5da6ede780b08068c7583d to 31180638a33acad12c863132704a76536fb66211 (excl.)
  • affected from 2004f45ef83f07f43f5da6ede780b08068c7583d to b15825deac1acff72638bbc8f05b89ceef8dfb13 (excl.)
  • affected from 2004f45ef83f07f43f5da6ede780b08068c7583d to 201151e120f0062bcda21cad5d007b82725ad23b (excl.)
  • affected from 2004f45ef83f07f43f5da6ede780b08068c7583d to a914aa802669e073f014dae2e5708633b5cecd34 (excl.)
  • affected from 2004f45ef83f07f43f5da6ede780b08068c7583d to e09689286385a66311ac6922af95339d7a3cef8d (excl.)
  • affected from 2004f45ef83f07f43f5da6ede780b08068c7583d to de988c7a31f0774f07894cfe4802996f318e2870 (excl.)
  • affected from 2004f45ef83f07f43f5da6ede780b08068c7583d to da48bc4461b8a5ebfb9264c9b191a701d8e99009 (excl.)
Vendor Linux
Product Linux
Versions Default: affected
  • Version 4.15 is affected
  • unaffected from 0 to 4.15 (excl.)
  • unaffected from 5.15.210 to 5.15.* (incl.)
  • unaffected from 6.1.176 to 6.1.* (incl.)
  • unaffected from 6.6.143 to 6.6.* (incl.)
  • unaffected from 6.12.94 to 6.12.* (incl.)
  • unaffected from 6.18.36 to 6.18.* (incl.)
  • unaffected from 7.0.13 to 7.0.* (incl.)
  • unaffected from 7.1 to * (incl.)

References