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 AD69E3B27C7 for ; Thu, 28 May 2026 09:44:54 +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=1779961495; cv=none; b=hTlp3T6HZxCnU3DKDexxCMeg0FgmSrApGPTBz5Q19IGkvryXwJ4K/KJnm5xL48ukr0wvLMXQNb+BV7jB+Ao05PFLz1ExPnUh1k294HRe3GNMWbaYI2PM5TgnnJ7FcPonby3NMpqircnkGxnyOnVmCPnquPMbkepimKilXOX2ewI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779961495; c=relaxed/simple; bh=+55cY0JzleMH4QDJUQfdXT0JTtdpsqGp/6UW2LS8a+I=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=anm127hNd6+0Ei0KebdgDJSIMKM7LqVinCvaGUPjW8iZIBIL2B6Nt3jOJOSiy9Pz6Pe+7dv6cpDOfUGhH5kdy7tNgRlBwmoFCKO/G1tSbZ2zOzQ5rF9FQrEdvSY/xiS9al+p1mhd/vwVJBhBSeGWkV7ZYod2CSZlfx//phpww70= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=sPsoO9Fm; 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="sPsoO9Fm" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 093551F00A3A; Thu, 28 May 2026 09:44:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1779961494; bh=PAGmJpQHJ6ukMzeQ+QyZs5yBaXna+YWEe5DHrbmrSM4=; h=From:To:Cc:Subject:Date:Reply-To; b=sPsoO9FmK3PhJzLEUD6PrIZb4op/4+sGTL82hoNc/g73tSC7EcdDe9jsvRICppKvu oZGI7raznkZ0BuplnDjQ2nPzF7jPNDmqfsSVeOeRJZ7vTfvL57wsF4HSpFZKGyBxw/ gV/L3u96dsIEeL7scwueqvUmow7xMKYJ+eNLcYYc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46197: drm/amdkfd: validate SVM ioctl nattr against buffer size Date: Thu, 28 May 2026 11:40:32 +0200 Message-ID: <2026052831-CVE-2026-46197-2b7a@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=2293; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=lt4YlzwifRCW99DLzdVo1p0C+lMdiTt5i85g1SQ08Go=; b=owGbwMvMwCRo6H6F97bub03G02pJDFkSvP06tyZ2RH/Scm8+pakyfWtYXZ1B4ftXk9RdbYKqF LvYn9R1xLIwCDIxyIopsnzZxnN0f8UhRS9D29Mwc1iZQIYwcHEKwEQelDDMjzJp+ZQcE73xSojM 9LqvsRFXb14WYliw1fW7DNN/5SuL6zRDxQR3hOSuamEAAA== 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: validate SVM ioctl nattr against buffer size Validate nattr field against the buffer size, preventing out-of-bounds buffer access via user-controlled attribute count. (cherry picked from commit 5eca8bfdfa456c3304ca77523718fe24254c172f) The Linux kernel CVE team has assigned CVE-2026-46197 to this issue. Affected and fixed versions =========================== Fixed in 6.6.140 with commit 91c6dc5a41695d02dfc6299f106ac38a6c493e52 Fixed in 6.12.90 with commit ccd060b5c7cc75ae7e211c250b97c5b6272e7efc Fixed in 6.18.32 with commit db9530a9873a7c85d2266a922589ebcf427fa631 Fixed in 7.0.9 with commit 6abd3a4417cb73a7d0db7e25bf11fae1074bdba3 Fixed in 7.1-rc2 with commit 045e0ff208f0838a246c10204105126611b267a1 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-46197 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/amdkfd/kfd_chardev.c drivers/gpu/drm/amd/amdkfd/kfd_priv.h 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/91c6dc5a41695d02dfc6299f106ac38a6c493e52 https://git.kernel.org/stable/c/ccd060b5c7cc75ae7e211c250b97c5b6272e7efc https://git.kernel.org/stable/c/db9530a9873a7c85d2266a922589ebcf427fa631 https://git.kernel.org/stable/c/6abd3a4417cb73a7d0db7e25bf11fae1074bdba3 https://git.kernel.org/stable/c/045e0ff208f0838a246c10204105126611b267a1