Description
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)
Published: 2026-07-01
Score: 7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability is in the AMDGPU display driver’s dal_vector_reserve function, which calculates an allocation size using 32‑bit arithmetic. If the calculated capacity overflows, krealloc may allocate a buffer smaller than requested, creating a heap overflow when subsequent vectors are appended. This can corrupt kernel memory, potentially exposing privileged data, modifying kernel state, or causing a denial of service. The flaw is classified as CWE‑787: Uncontrolled Memory Allocation.

Affected Systems

Linux kernels that include the AMDGPU driver prior to commit 37668568641ccc4cc1dbca4923d0a16609dd5707 are affected. Distribution kernels shipping any such pre‑patch version are vulnerable until that commit or a backport is applied. The patched code replaces krealloc with krealloc_array in dal_vector_reserve, adding an internal overflow check and preventing the overflow.

Risk and Exploitability

The CVSS score of 7 denotes a high severity vulnerability, while the EPSS score of < 1 % indicates a very low likelihood of exploitation at this time. The vulnerability is not listed in the CISA KEV catalog. Successful exploitation requires local or privileged execution that can interact with the AMDGPU driver, for example by loading malicious firmware or sending crafted GPU commands. If exploited, kernel memory corruption could lead to privilege escalation or denial of service.

Generated by OpenCVE AI on July 29, 2026 at 21:33 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to a kernel version that includes commit 37668568641ccc4cc1dbca4923d0a16609dd5707, which replaces krealloc with krealloc_array in dal_vector_reserve.
  • If a kernel upgrade is not feasible, disable or blacklist the AMDGPU driver to prevent execution of the vulnerable code path.
  • If no patch is available from your distribution, backport the commit from the Linux kernel git repository, rebuild, and install the patched kernel.

Generated by OpenCVE AI on July 29, 2026 at 21:33 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Debian DLA Debian DLA DLA-4665-1 linux security update
Debian DLA Debian DLA DLA-4671-1 linux-6.1 security update
Debian DLA Debian DLA DLA-4717-1 linux security update
History

Sat, 18 Jul 2026 08:00:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}


Sat, 04 Jul 2026 12:15:00 +0000


Thu, 02 Jul 2026 00:15:00 +0000


Wed, 01 Jul 2026 23:45:00 +0000

Type Values Removed Values Added
Weaknesses CWE-122
CWE-680

Wed, 01 Jul 2026 17:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-122
CWE-680

Wed, 01 Jul 2026 13:45:00 +0000

Type Values Removed Values Added
Description 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)
Title drm/amd/display: Use krealloc_array() in dal_vector_reserve()
First Time appeared Linux
Linux linux Kernel
CPEs cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*
Vendors & Products Linux
Linux linux Kernel
References

Subscriptions

Linux Linux Kernel
cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published:

Updated: 2026-08-05T12:35:01.324Z

Reserved: 2026-06-09T07:44:35.398Z

Link: CVE-2026-53329

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

Severity :

Publid Date: 2026-07-01T00:00:00Z

Links: CVE-2026-53329 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-29T21:45:07Z

Weaknesses