CyberRota Analysis
AI-GeneratedThe vulnerability affects the Linux kernel's handling of the CRIU restore process for the amdkfd driver, specifically in the validation of queue type and message queue descriptor (mqd) size. If exploited, this could lead to potential memory corruption or denial of service, impacting system stability and security. Organizations utilizing Linux systems with the amdkfd driver should prioritize addressing this issue to mitigate risks associated with improper input validation.
Original NVD Description
In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: Check bounds on CRIU restore queue type and mqd size We weren't checking whether the values provided in the private data in kfd CRIU restore were within bounds. For queue type, add a KFD_QUEUE_TYPE_MAX and ensure the provided type is less than it. For mqd_size, add new function mqd_size_from_queue_type and confirm that the provided mqd_size matches expectations. (cherry picked from commit f19d8086f6644083c913d70bfdeee20e1b6f46a5)