7

CVE-2026-99630

drm/amdgpu/userq: validate the moved individual BOs on restore

In the Linux kernel, the following vulnerability has been resolved:

drm/amdgpu/userq: validate the moved individual BOs on restore

An individual BO of a user queue VM, i.e. one which doesn't share the
root reservation, goes to the individual needs_update list when it is
evicted. The user queue restore looked at vm->invalidated for them, which
the VM state machine rework turned into the always_valid evicted list and
commit 18decfc9e8cc ("drm/amdgpu/userq: actually validate userq BOs")
into the individual evicted one. That list only holds imported DMA-bufs of
compute VMs though, so for a user queue VM nothing is validated.

The restore then neither locks such a BO nor moves it back. Its PTEs are
updated to wherever it is now, cleared if it went to system memory, and
it doesn't get the new eviction fence, so it can move again under the
running queue.

On navi48, once the BOs of an SDMA user queue are evicted from GTT
(debugfs amdgpu_evict_gtt) the queue faults on its ring and rptr:

  amdgpu 0000:03:00.0:   in page starting at address 0x0000000100000000 from client 10
  amdgpu 0000:03:00.0: 	 Faulty UTCL2 client ID: SDMA0 (0xd)
  amdgpu 0000:03:00.0:   in page starting at address 0x0000000100101000 from client 10

Validate the BOs on the individual needs_update list like before.

(cherry picked from commit eb0d94765d4be18d41e93ad09947dd9cc06ed31a)
Daten sind bereitgestellt durch das CVE Programm von einer CVE Numbering Authority (CNA) (Unstrukturiert).
HerstellerLinux
≫
Produkt Linux
Default Statusunaffected
Version 4cdbba5a16aaf16513b69cc332b1d6f971a44b52
Version < 2664f497d5e35384736e42fc59e5b9ef27ca791a
Status affected
Version 4cdbba5a16aaf16513b69cc332b1d6f971a44b52
Version < ce5f2a25bdf6b2bccfc4ffb5e4c5f12e97eeace1
Status affected
HerstellerLinux
≫
Produkt Linux
Default Statusaffected
Version 7.2
Status affected
Version 0
Version < 7.2
Status unaffected
Version <= 7.3.*
Version 7.3.5
Status unaffected
Version <= *
Version 7.4-rc2
Status unaffected
VulnDex Vulnerability Enrichment
Diese Information steht angemeldeten Benutzern zur Verfügung. Login Login
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.16% 0.048
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
416baaa9-dc9f-4396-8d5f-8c081fb06d67 7 1 5.9
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Es wurden noch keine Informationen zu CWE veröffentlicht.
https://git.kernel.org/stable/c/2664f497d5e35384736e42fc59e5b9ef27ca791a
https://git.kernel.org/stable/c/ce5f2a25bdf6b2bccfc4ffb5e4c5f12e97eeace1