CVE-2024-27400

drm/amdgpu: once more fix the call oder in amdgpu_ttm_move() v2

State
Published
Severity
7.8 High
Published
May 13, 2024
Updated
Aug 5, 2026
Reserved
Feb 25, 2024

Read the record on cve.org

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

Scores

CVSSScoreVectorSource
3.17.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • d443fb67ca5ab04760449d21ddea66f6728e5b00 to before 5c25b169f9a0b34ee410891a96bc9d7b9ed6f9beAffected
  • e7a0ee45c653784edda5e36bae6ae3c75fd5e7a8 to before 0c7ed3ed35eec9138b88d42217b5a6b9a62bda4dAffected
  • 94aeb4117343d072e3a35b9595bcbfc0058ee724 to before 9a4f6e138720b6e9adf7b82a71d0292f3f276480Affected
  • 94aeb4117343d072e3a35b9595bcbfc0058ee724 to before d3a9331a6591e9df64791e076f6591f440af51c3Affected
  • 77bcd4ab446fa35ad135b1c7404415ed9a129296Affected
  • 1cd2b612474c07b17a21e27f2eed8dff75cb5057Affected
  • 6.1.77 to before 6.1.91Affected
  • 6.6.16 to before 6.6.31Affected
  • 5.15.149 to before 5.16Affected
  • 6.7.4 to before 6.8Affected
LinuxLinux
  • 6.8Affected
  • before 6.8Not affected
  • 6.1.91 through 6.1.*Not affected
  • 6.6.31 through 6.6.*Not affected
  • 6.8.10 through 6.8.*Not affected
  • 6.9 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.