CVE-2026-53374

drm/amdgpu: zero-initialize GART table on allocation

State
Published
Severity
8.8 High
Published
Jul 19, 2026
Updated
Oct 19, 2026
Reserved
Jun 9, 2026

Read the record on cve.org

Description

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

drm/amdgpu: zero-initialize GART table on allocation

GART TLB is flushed after unmapping but not after mapping. Since amdgpu_bo_create_kernel() does not zero-initialize the buffer, when a single PTE is written the TLB may speculatively load other uninitialized entries from the same cacheline. Those garbage entries can appear valid, and a subsequent write to another PTE in the same cacheline may cause the GPU to use a stale garbage PTE from the TLB.

Fix this by calling memset_io() to zero-initialize the GART table with gart_pte_flags immediately after allocation.

Using AMDGPU_GEM_CREATE_VRAM_CLEARED, SDMA-based clear will not work since SDMA needs GART to be initialized to work.

(cherry picked from commit d9af8263b82b6eaa60c5718e0c6631c5037e4b24)

Scores

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

Weaknesses

  • CWE-457 Use of Uninitialized Variable

Affected Products

ProductVersions
LinuxLinux
  • d38ceaf99ed015f2a0b9af3499791bd3a3daae21 to before 40df11255d71b02e20e70579f1b12b687e396e26Affected
  • d38ceaf99ed015f2a0b9af3499791bd3a3daae21 to before 91fbb5e635c8fb1b49e15c19da06480089ef719fAffected
  • d38ceaf99ed015f2a0b9af3499791bd3a3daae21 to before 8ae8b9e74bab94aab1d79f1688129bcc61c8b29aAffected
  • d38ceaf99ed015f2a0b9af3499791bd3a3daae21 to before b17175d0a375b3ed5e81597dac4983fdb46e478dAffected
  • d38ceaf99ed015f2a0b9af3499791bd3a3daae21 to before 791941be5da125d9a1b228582bfdc300c05d05b3Affected
  • d38ceaf99ed015f2a0b9af3499791bd3a3daae21 to before e6c2e6c2e1fa066968a16aca1cb66cd1bdde7741Affected
LinuxLinux
  • 4.2Affected
  • before 4.2Not affected
  • 6.1.175 through 6.1.*Not affected
  • 6.6.140 through 6.6.*Not affected
  • 6.12.90 through 6.12.*Not affected
  • 6.18.32 through 6.18.*Not affected
  • 7.0.9 through 7.0.*Not affected
  • 7.1 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.