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 C0BC73ACA7E for ; Thu, 28 May 2026 09:44:32 +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=1779961473; cv=none; b=a/t+Klw06dkokD2limsB5eHJ158Dj2mM8hnt4JyCjK+AXkVg2FQWAzOtG5RtyBvtv4M3bAtPxcTNPYwnv4emhcHJKh7O0RCog+TVYJktWUh3NlDiwYQJdJUHQIiv/msULxhFMABotIHhy2UMzfPhb9F3pifpA4QpxuQxY+yh3rc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779961473; c=relaxed/simple; bh=Hqdl84LJtVQdRHN9uvSAk8lpXuzT8IqRYtSFt4ERR54=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=oo6S3B5y48oWFry2cgAjR/emwmzneuX6oas3XMsJrNsSOUR/Eit7j9dILpmAVy28dGjkv3NVw0kjurNvTPXLwZ0ZIGKNP3lshiXreqBek5DIxVtPVXCB99Hcn4C4IAVoZjt16GRkgRL3Pyy3V31/zyOV1VLGLiWJa83nyOCyWeY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ZwwWGYPX; 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="ZwwWGYPX" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 16A2C1F000E9; Thu, 28 May 2026 09:44:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779961472; bh=dgIMxm/5mJwQw9ou3Ts5LYRGVm5ABfDsw6qgWiqg/5k=; h=From:To:Cc:Subject:Date:Reply-To; b=ZwwWGYPXMlCekVvz4R3MM2yvfOBdrCJR9MyrT5IvIeFKj+4VskdlBpv/O1muwS3Os nUBMkZOT8+cUpWKPRh+x/03FtMYPwrr/XFUU9o9bj2sYf4VhL/FQ1p+f1Ieqf7bDW2 hz0wRttQjlaqiQcD1sBX9xdm8+uyQ2/A5cZDFNYI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46229: drm/amdkfd: Clear VRAM on allocation to prevent stale data exposure Date: Thu, 28 May 2026 11:41:04 +0200 Message-ID: <2026052839-CVE-2026-46229-e297@gregkh> X-Mailer: git-send-email 2.54.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=2647; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=1pcDAPuoW2igpcXzzuHNjdKaY9m71AOBbdQCcYIwChg=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkSvNOftHrrn940QXTStkwFn+oMxV8rwl871J4w4v+rq V745+CcjlgWBkEmBlkxRZYv23iO7q84pOhlaHsaZg4rE8gQBi5OAZhI0S+G2Wx3K5W+LdVJ9OR8 ov7oSaez5gvzQIYFu36vy72zgEMzxrhnPgvXz7ef3Y/LAwA= 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/amdkfd: Clear VRAM on allocation to prevent stale data exposure KFD VRAM allocations set AMDGPU_GEM_CREATE_VRAM_WIPE_ON_RELEASE but not AMDGPU_GEM_CREATE_VRAM_CLEARED, leaving freshly allocated VRAM with stale data from prior use observable by compute kernels. The GEM ioctl path already sets VRAM_CLEARED for all userspace allocations via amdgpu_gem_create_ioctl() and amdgpu_mode_dumb_create(). The KFD path was missing this flag, allowing stale page table remnants to leak into user buffers. This causes crashes in RCCL P2P transport where non-zero data in ptrExchange/head/tail fields corrupts the protocol handshake. The Linux kernel CVE team has assigned CVE-2026-46229 to this issue. Affected and fixed versions =========================== Fixed in 6.6.140 with commit 1db431380879fd9d28b763a88a0c0431be5be8df Fixed in 6.12.90 with commit 32b153658f017ad2f5bf8aab479e8d16ac95bc3a Fixed in 6.18.32 with commit 77d0b5d11387071770246fd0185a69fa28e8e109 Fixed in 7.0.9 with commit 047d44d8d29a6a1a5757256837aa9dd78e3cd0b5 Fixed in 7.1-rc1 with commit ad52d61d82181dbdb7f05826de38352d5e550cc2 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-46229 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_amdkfd_gpuvm.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/1db431380879fd9d28b763a88a0c0431be5be8df https://git.kernel.org/stable/c/32b153658f017ad2f5bf8aab479e8d16ac95bc3a https://git.kernel.org/stable/c/77d0b5d11387071770246fd0185a69fa28e8e109 https://git.kernel.org/stable/c/047d44d8d29a6a1a5757256837aa9dd78e3cd0b5 https://git.kernel.org/stable/c/ad52d61d82181dbdb7f05826de38352d5e550cc2