PT-2024-9841 · Linux · Linux Kernel
Published
2024-02-20
·
Updated
2024-08-01
·
CVE-2024-26797
CVSS v3.1
7.8
High
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions:
Linux kernel (affected versions not specified)
Description:
The issue is related to a potential buffer overflow in the
map hw resources function. The function was accessing arrays using an index that could potentially be greater than the size of the arrays, leading to a buffer overflow. A check has been added to ensure that the index is within the bounds of the arrays. If the index is out of bounds, an error message is printed and execution continues with just ignoring extra data early to prevent the buffer overflow. The map hw resources function is located in the drivers/gpu/drm/amd/amdgpu/../display/dc/dml2/dml2 wrapper.c file. The vulnerable variables are dml2->v20.scratch.dml to dc pipe mapping.disp cfg to stream id and dml2->v20.scratch.dml to dc pipe mapping.disp cfg to plane id.Recommendations:
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Buffer Overflow
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Linux Kernel