In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: validate and share PSP fw_pri_buf copies via psp_copy_fw Change psp_copy_fw from void to int: return -ENODEV when drm_dev_enter fails, and -EINVAL when the image size is zero or larger than the 1 MiB PSP private buffer. Replace open-coded memset/memcpy into fw_pri_buf with psp_copy_fw.
https://git.kernel.org/stable/c/d1f9f5839bd785a3a06335a01d53282e80f8e5fa
https://git.kernel.org/stable/c/25bec2425c3d50ba9a92ad87bbf8628be29e5c32
https://git.kernel.org/stable/c/1aa55af304a2decaacca1d1fabe4257c277ca54a