| From bippy-5f407fcff5a0 Mon Sep 17 00:00:00 2001 |
| From: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
| To: <linux-cve-announce@vger.kernel.org> |
| Reply-to: <cve@kernel.org>, <linux-kernel@vger.kernel.org> |
| Subject: CVE-2024-56666: drm/amdkfd: Dereference null return value |
| |
| Description |
| =========== |
| |
| In the Linux kernel, the following vulnerability has been resolved: |
| |
| drm/amdkfd: Dereference null return value |
| |
| In the function pqm_uninit there is a call-assignment of "pdd = |
| kfd_get_process_device_data" which could be null, and this value was |
| later dereferenced without checking. |
| |
| The Linux kernel CVE team has assigned CVE-2024-56666 to this issue. |
| |
| |
| Affected and fixed versions |
| =========================== |
| |
| Issue introduced in 6.12 with commit fb91065851cd5f2735348c5f3eddeeca3d7c2973 and fixed in 6.12.6 with commit 768442d918932c4da09003f1fd6be1750b93a4ba |
| Issue introduced in 6.12 with commit fb91065851cd5f2735348c5f3eddeeca3d7c2973 and fixed in 6.13 with commit a592bb19abdc2072875c87da606461bfd7821b08 |
| |
| Please see https://www.kernel.org for a full list of currently supported |
| kernel versions by the kernel community. |
| |
| Unaffected versions might change over time as fixes are backported to |
| older supported kernel versions. The official CVE entry at |
| https://cve.org/CVERecord/?id=CVE-2024-56666 |
| will be updated if fixes are backported, please check that for the most |
| up to date information about this issue. |
| |
| |
| Affected files |
| ============== |
| |
| The file(s) affected by this issue are: |
| drivers/gpu/drm/amd/amdkfd/kfd_process_queue_manager.c |
| |
| |
| Mitigation |
| ========== |
| |
| The Linux kernel CVE team recommends that you update to the latest |
| stable kernel version for this, and many other bugfixes. Individual |
| changes are never tested alone, but rather are part of a larger kernel |
| release. Cherry-picking individual commits is not recommended or |
| supported by the Linux kernel community at all. If however, updating to |
| the latest release is impossible, the individual changes to resolve this |
| issue can be found at these commits: |
| https://git.kernel.org/stable/c/768442d918932c4da09003f1fd6be1750b93a4ba |
| https://git.kernel.org/stable/c/a592bb19abdc2072875c87da606461bfd7821b08 |