PT-2024-37007 · Linux+2 · Linux Kernel+2
Published
2024-11-04
·
Updated
2025-02-28
·
CVE-2024-56697
CVSS v3.1
5.5
Medium
| Vector | AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
Linux kernel (affected versions not specified)
Description
A memory allocation issue in the Linux kernel's amdgpu driver has been resolved. The issue was related to the
amdgpu discovery get nps info() function, where two problems with memory allocation for mem ranges were fixed. The fixes include adding a check for allocation failure to avoid dereferencing a null pointer and using kvcalloc() for memory allocation, which checks for multiplication overflow. Additionally, the output parameters nps type and range cnt are assigned after the kvcalloc() call to prevent modifying the output parameters in case of an error return.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
NULL Pointer Dereference
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Linuxmint
Linux Kernel
Ubuntu