drm/amd/display: Use krealloc_array() in dal_vector_reserve()
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)
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.10.260, 5.15.210, 6.1.176, 6.12.94, 6.18.36, 6.6.143, 7.0.13
- CVEs
- CVE-2026-53329
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 03:46 UTC · Revision 1
Source evidence
drm/amd/display: Use krealloc_array() in dal_vector_reserve()
core-osv · Original sourcePublished 1 Jul 2026, 13:32 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)
osv:CVE-2026-53329
Kernel
Fixed versions: 5.10.260, 5.15.210, 6.1.176, 6.6.143, 6.12.94, 6.18.36, 7.0.13
Complete source record
{
"id": "e69bbd595f6d2014054a9a9e5199f5e46ee76b98d38d4ba2d41fa0af9bc5980f",
"url": "https://osv.dev/vulnerability/CVE-2026-53329",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "drm/amd/display: Use krealloc_array() in dal_vector_reserve()",
"summary": "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)",
"evidence": "osv:CVE-2026-53329",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.10.260",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.210",
"evidence": "/affected/1/ranges"
},
{
"value": "6.1.176",
"evidence": "/affected/1/ranges"
},
{
"value": "6.6.143",
"evidence": "/affected/1/ranges"
},
{
"value": "6.12.94",
"evidence": "/affected/1/ranges"
},
{
"value": "6.18.36",
"evidence": "/affected/1/ranges"
},
{
"value": "7.0.13",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2026-53329",
"aliases": [
"CVE-2026-53329"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "2004f45ef83f07f43f5da6ede780b08068c7583d"
},
{
"fixed": "9540b0a4d13e4ede64ae1197d66a176d2149daa9"
},
{
"fixed": "31180638a33acad12c863132704a76536fb66211"
},
{
"fixed": "b15825deac1acff72638bbc8f05b89ceef8dfb13"
},
{
"fixed": "201151e120f0062bcda21cad5d007b82725ad23b"
},
{
"fixed": "a914aa802669e073f014dae2e5708633b5cecd34"
},
{
"fixed": "e09689286385a66311ac6922af95339d7a3cef8d"
},
{
"fixed": "de988c7a31f0774f07894cfe4802996f318e2870"
},
{
"fixed": "da48bc4461b8a5ebfb9264c9b191a701d8e99009"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53329.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.15.0"
},
{
"fixed": "5.10.260"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.210"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "6.1.176"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.2.0"
},
{
"fixed": "6.6.143"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.7.0"
},
{
"fixed": "6.12.94"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.13.0"
},
{
"fixed": "6.18.36"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "6.19.0"
},
{
"fixed": "7.0.13"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-53329.json"
}
}
],
"modified": "2026-10-28T02:30:32.822242450Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/201151e120f0062bcda21cad5d007b82725ad23b",
"https://git.kernel.org/stable/c/31180638a33acad12c863132704a76536fb66211",
"https://git.kernel.org/stable/c/9540b0a4d13e4ede64ae1197d66a176d2149daa9",
"https://git.kernel.org/stable/c/a914aa802669e073f014dae2e5708633b5cecd34",
"https://git.kernel.org/stable/c/b15825deac1acff72638bbc8f05b89ceef8dfb13",
"https://git.kernel.org/stable/c/da48bc4461b8a5ebfb9264c9b191a701d8e99009",
"https://git.kernel.org/stable/c/de988c7a31f0774f07894cfe4802996f318e2870",
"https://git.kernel.org/stable/c/e09689286385a66311ac6922af95339d7a3cef8d",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53329.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-53329",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/53xxx/CVE-2026-53329.json"
}
},
"related_cves": [
{
"value": "CVE-2026-53329",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 500099,
"published_at": "2026-07-01T13:32:14.598+00:00"
}