Linux: drm/amdkfd: Properly acquire queue buffers in CRIU restore
What fixes it
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
Description
In the Linux kernel, the following vulnerability has been resolved:
drm/amdkfd: Properly acquire queue buffers in CRIU restore
When kfd_queue_acquire_buffers() was split off from set_queue_properties_from_user(), set_queue_properties_from_criu() was missed. Thus, set_queue_properties_from_criu() is not filling out the buffer fields of queue_properties, which can come up when subsequent code expects them to be non-null.
Add the proper call to kfd_queue_acquire_buffers(), and also use the right cast types in set_queue_properties_from_criu() (which were missed at the same time)
(cherry picked from commit 88ed96abbbe27b70193544fbc1ee06448c274714)
Text from CVE List
Affected versions 8
- Linuxaffected: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before e2dbdd14c3352483a89e4a9afda05d0f3fcc2c83CVE List
- Linuxaffected: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before c6c290e408fe328e091f0bf7502a42b0deea82e9CVE List
- Linuxaffected: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 before 20a5e7ffdfecddc34c60a6b4483f42acf3d8731dCVE List
- Linuxaffected: all versions before 6.12.111CVE List
- Linuxaffected: all versions before 6.18.53CVE List
- Linuxunaffected: 6.12.111 through 6.12.*CVE List
- Linuxunaffected: 6.18.53 through 6.18.*CVE List
- Linuxunaffected: 7.2CVE List