Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 C18173AD50E for ; Wed, 25 Mar 2026 10:29:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774434599; cv=none; b=sDmrk6KuifgpOW+BWHXtVuz2kQ8p8a08bka5s+DOp0F2KvpYJdjQJ/ZOUIu97dL72YhtD0vlGxBGt4+8Ef9snNigEQHWdhSpVdxSy/aswECJo/4Jky3WCZBy5DkQbOUM322Wa0HyGyR3YOhI8zjyzSyxfy4OGBW0L0mK1ZtWoxs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1774434599; c=relaxed/simple; bh=vbhWWdGt4DcWH29ijoz/p9xIvi72/N3FNNl5fMc7e4s=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=nfzcESvp97CLm0NJ5VAkmBCNkE1elj3dajXC6ihFxJQMbdkrq4tmnDb2qBesKNKOx5XDu3HBp/qmVfZFqQ7la2M44Ef9Exq11PvMjqy0vCtWrYRQ2LgLrNx67jMx1Nm5vv/RVUsRws8Rx9I7CEjLaXxM5Hs2KCVjYimFCJG7wKM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=UZHQiGu8; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="UZHQiGu8" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4507DC4CEF7; Wed, 25 Mar 2026 10:29:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1774434599; bh=vbhWWdGt4DcWH29ijoz/p9xIvi72/N3FNNl5fMc7e4s=; h=From:To:Cc:Subject:Date:Reply-To:From; b=UZHQiGu8ftTLfThXT4U6k6oG1h+zledJyDAKjS9K9gF151Ee52CBzmp2dcsH+QpHC oRI+JVNb/1iTKe3PrIf+uT3BD/gz6j6X4qs3j0BSxIYrQCUyHuCGhmcixpjXtnBSRq edIm0buoNc2HeOKPhCxh5AX9b2/reZu2HtVtiUDw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-23338: drm/amdgpu/userq: Do not allow userspace to trivially triger kernel warnings Date: Wed, 25 Mar 2026 11:27:22 +0100 Message-ID: <2026032534-CVE-2026-23338-67c7@gregkh> X-Mailer: git-send-email 2.53.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=2468; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=x9vb2ScgN7jm8kRhkAfnY5wR6c3rnbTNNFtkOL6LJ+4=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmHd0RZr7tVlnbToLrirwm/k+5DlS08n5qNTi1NcAjxb TF7yzevI5aFQZCJQVZMkeXLNp6j+ysOKXoZ2p6GmcPKBDKEgYtTACayW4ZhwVGlpasvt2xt1tOI 15m2i7U98vb0lQzzXf6xRog/dzjmK1PkXmKYf5RtA4M+AA== 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/userq: Do not allow userspace to trivially triger kernel warnings Userspace can either deliberately pass in the too small num_fences, or the required number can legitimately grow between the two calls to the userq wait ioctl. In both cases we do not want the emit the kernel warning backtrace since nothing is wrong with the kernel and userspace will simply get an errno reported back. So lets simply drop the WARN_ONs. (cherry picked from commit 2c333ea579de6cc20ea7bc50e9595ef72863e65c) The Linux kernel CVE team has assigned CVE-2026-23338 to this issue. Affected and fixed versions =========================== Issue introduced in 6.16 with commit a292fdecd72834b3bec380baa5db1e69e7f70679 and fixed in 6.18.17 with commit 1753f5f81ab60a553287f9ee659a6ac363adf8d7 Issue introduced in 6.16 with commit a292fdecd72834b3bec380baa5db1e69e7f70679 and fixed in 6.19.7 with commit 7321302edca3a349ddaea689df95b986beee6c4a Issue introduced in 6.16 with commit a292fdecd72834b3bec380baa5db1e69e7f70679 and fixed in 7.0-rc2 with commit 7b7d7693a55d606d700beb9549c9f7f0e5d9c24f 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-23338 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_userq_fence.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/1753f5f81ab60a553287f9ee659a6ac363adf8d7 https://git.kernel.org/stable/c/7321302edca3a349ddaea689df95b986beee6c4a https://git.kernel.org/stable/c/7b7d7693a55d606d700beb9549c9f7f0e5d9c24f