In the Linux kernel, the following vulnerability has been resolved: drm/amdkfd: Check bounds for allocate_sdma_queue restore_sdma_id allocate_sdma_queue has an option where the sdma queue id can be specified (used by CRIU). We weren't bounds-checking that value. Confirm it's less than the maximum number of queues.
https://git.kernel.org/stable/c/dd2870ca036e1d51baa59f942007b36a595b5890
https://git.kernel.org/stable/c/bfe9a7545b2a7be1c543f1741e16f2d5ec4116ae
https://git.kernel.org/stable/c/42f2bd50236b61ad0aeb2c233c990ee0d615fdad