Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D8F053644B3 for ; Sun, 19 Jul 2026 10:13:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784455993; cv=none; b=RrVo5npU7DP5+IktO1vcH2aOed2GaTznZBdLE7Sqjow84j/YAaBNyrKta5nV0dHGmbqi8JJjtgMRJPIAcjW/4jDTKG9NwdM5xNcHxbUQl51qLLHvQGauJlS3pM0PIxqQDkcC0LyAR0q6Al14QGaOv6WXwBr6Yqqisq5K+JqBQHA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784455993; c=relaxed/simple; bh=pjA4Yofaa6YtyU4IRtoXuQ4D8bj9id0TOJ0A9Q3EQTs=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=nDPMp4cPgOJN60L2ZoYsoG2WU6lTAuSd6E3NaFl//47fBT8HlNxsoMHRcQ1W2DLVAWeyMX6O/Dg+Ko12wo6xd+nXGKil2wiGWokIqYHXvuExN9aUxsJSOwIk/4VDMmrJa8jNDyysf65QA0Us7/WMWvhZ6eyKTDdP2NWR1MY85HM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=OUtc0xy1; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="OUtc0xy1" Received: by smtp.kernel.org (Postfix) with ESMTPSA id EC6891F000E9; Sun, 19 Jul 2026 10:13:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1784455991; bh=EFpiS6tEWqzKmWvsVyWku794e3xrLsbuIyXvwd94XO0=; h=From:To:Cc:Subject:Date:Reply-To; b=OUtc0xy1YEkbkQLpEZuzaRZRpWWD7zKy2hk7YElIZ+zHiA5Z8iellJSigdEP24S12 0YZw5ujxH60fXwykw+EC+wSCggfQUYpCPi4EZzLGC2o00+ivsFhklGKinPMBsgb1LZ szNUzw/VagZMkLiVX6bLwNUpK8LBzaqVMB9danWQ= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-53374: drm/amdgpu: zero-initialize GART table on allocation Date: Sun, 19 Jul 2026 12:11:45 +0200 Message-ID: <2026071946-CVE-2026-53374-a981@gregkh> X-Mailer: git-send-email 2.55.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2916; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=6rwsW8tPNpVllUnvWBXE0GKo9g5eBoIMgsyjA+0UmOU=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkxix7lKd8wiKr/lyacKC236j1fm2s9w6erGm7u6VkdT +4fZHzXEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABOZnMowh6PYeM4ByX/1p6QW Kkv6B90IOzQxhGHBLMvrD44IKYqLetzL+Gh4vH9r9e8vAA== X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit From: Greg Kroah-Hartman 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) The Linux kernel CVE team has assigned CVE-2026-53374 to this issue. Affected and fixed versions =========================== Fixed in 6.1.175 with commit 40df11255d71b02e20e70579f1b12b687e396e26 Fixed in 6.6.140 with commit 91fbb5e635c8fb1b49e15c19da06480089ef719f Fixed in 6.12.90 with commit 8ae8b9e74bab94aab1d79f1688129bcc61c8b29a Fixed in 6.18.32 with commit b17175d0a375b3ed5e81597dac4983fdb46e478d Fixed in 7.0.9 with commit 791941be5da125d9a1b228582bfdc300c05d05b3 Fixed in 7.1 with commit e6c2e6c2e1fa066968a16aca1cb66cd1bdde7741 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-2026-53374 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/amdgpu/amdgpu_gart.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/40df11255d71b02e20e70579f1b12b687e396e26 https://git.kernel.org/stable/c/91fbb5e635c8fb1b49e15c19da06480089ef719f https://git.kernel.org/stable/c/8ae8b9e74bab94aab1d79f1688129bcc61c8b29a https://git.kernel.org/stable/c/b17175d0a375b3ed5e81597dac4983fdb46e478d https://git.kernel.org/stable/c/791941be5da125d9a1b228582bfdc300c05d05b3 https://git.kernel.org/stable/c/e6c2e6c2e1fa066968a16aca1cb66cd1bdde7741