Popis
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)
CVSS 7EPSS 0.134%Riziko 0.71
Zobraziť zdroj- Zverejnené
- 2026-07-01 14:16:40
- Dotknuté verzie
- unknown
- Typ
- Jadro
- Posledná úprava
- 2026-07-23 21:34:08
- Vektor
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Operačné systémy
- Linux