7.8high
drm/amdgpu: once more fix the call oder in amdgpu_ttm_move() v2
- Severity
- 7.8high CVSS:3.1 by Linux
- Exploit likelihood
- 0.24% (higher than 16% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Linux
Description
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: once more fix the call oder in amdgpu_ttm_move() v2 This reverts drm/amdgpu: fix ftrace event amdgpu_bo_move always move on same heap. The basic problem here is that after the move the old location is simply not available any more. Some fixes were suggested, but essentially we should call the move notification before actually moving things because only this way we have the correct order for DMA-buf and VM move notifications as well. Also rework the statistic handling so that we don't update the eviction counter before the move. v2: add missing NULL check
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Linux Linux | from d443fb67ca5ab04760449d21ddea66f6728e5b00 before 5c25b169f9a0b34ee410891a96bc9d7b9ed6f9be, from e7a0ee45c653784edda5e36bae6ae3c75fd5e7a8 before 0c7ed3ed35eec9138b88d42217b5a6b9a62bda4d, from 94aeb4117343d072e3a35b9595bcbfc0058ee724 before 9a4f6e138720b6e9adf7b82a71d0292f3f276480, from 94aeb4117343d072e3a35b9595bcbfc0058ee724 before d3a9331a6591e9df64791e076f6591f440af51c3, 77bcd4ab446fa35ad135b1c7404415ed9a129296, 1cd2b612474c07b17a21e27f2eed8dff75cb5057, from 6.1.77 before 6.1.91, from 6.6.16 before 6.6.31 and 3 more Not affected: before 6.8, from 6.1.91 up to 6.1.*, from 6.6.31 up to 6.6.*, from 6.8.10 up to 6.8.*, from 6.9 up to * | CVE List |
| linux linux_kernel | from 5.15.149 before 5.16, from 6.1.77 before 6.1.91, from 6.6.16 before 6.6.31, from 6.7.4 before 6.8.10, 6.9 | NVD |
| fedoraproject fedora | 39, 40 | NVD |
All scores
| Linux | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
In the Linux kernel, the following vulnerability has been resolved: drm/amdgpu: once more fix the call oder in amdgpu_ttm_move() v2 This reverts drm/amdgpu: fix ftrace event amdgpu_bo_move always move on same heap. The basic problem here is that after the move the old location is simply not available any more. Some fixes were suggested, but essentially we should call the move notification before actually moving things because only this way we have the correct order for DMA-buf and VM move notifications as well. Also rework the statistic handling so that we don't update the eviction counter before the move. v2: add missing NULL check
NVD (es)
En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: drm/amdgpu: una vez más corrige la llamada oder en amdgpu_ttm_move() v2. Esto revierte drm/amdgpu: corrige el evento ftrace amdgpu_bo_move siempre se mueve en el mismo montón. El problema básico aquí es que después de la mudanza, la antigua ubicación simplemente ya no está disponible. Se sugirieron algunas correcciones, pero esencialmente deberíamos llamar a la notificación de movimiento antes de mover cosas porque solo así tenemos el orden correcto para las notificaciones de movimiento de DMA-buf y VM también. También modifique el manejo de estadísticas para que no actualicemos el contador de desalojo antes de la mudanza. v2: agregar verificación NULL faltante
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-27400 changed 2026-08-05 | CVE Terms of Use |
| NVD | CVE-2024-27400 changed 2026-08-04 | Public domain |