From mboxrd@z Thu Jan 1 00:00:00 1970 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 2CB532E739D for ; Mon, 8 Jun 2026 15:51:01 +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=1780933863; cv=none; b=Aer2VCvgGnAE8pZVtNcwVvvrnchmE4jvjLLyOjl9N9+sNqf48mEn3fCrj645qLmjZvoH3lnD87J3CfiUxSeC/xA/GsxfH6Cj45RGjGFTZ9NDR5GBoRo0rFho6zT7gVA48FatrVBnrX6moIXmHeWthQqm0sA7suA0xfCbs2tbyHE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1780933863; c=relaxed/simple; bh=oZ52cT4lCP1+iH8THob7L/deVKu1VvVJBQmhEVnfdes=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=FZZZ2Tn/Vb4F+7mxwIFJjgx+9byNzNU8k8qySco18AXMOC2ComDfwi+XDNkVQAjXj0yLGgNlS61mQCDtbSu9LnSdUSwhOxleYN5vRmEQfMCGrZ5dMQyC2Y90L//ZdxTvJvQvwNG0JH91s3n6TEz7u3YST0+13ACSBTiWexHsKeI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=dme4b2Qp; 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="dme4b2Qp" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 382451F00898; Mon, 8 Jun 2026 15:51:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linuxfoundation.org; s=korg; t=1780933861; bh=obIudSeizcJPyaWkRM/QEvEB/dy7T9ZvMrgr9sjvAL0=; h=From:To:Cc:Subject:Date:Reply-To; b=dme4b2Qp6tytjHt+vOGRpemH+LmG16rGCYiQBvwUKoFCwu0vKl9lGVlGW4ZlOUmYf 9cqQz8gZLQeRgCAbBUaddtIZho9QockGsXI2SmczYE1VrdnWm880+YkFyNUSZPW1Jp YIEgU3EoE8lMslEceKm3wEqLENfT8tsd5ZP61r9I= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2026-46311: drm/amdgpu/userq: fix access to stale wptr mapping Date: Mon, 8 Jun 2026 17:49:55 +0200 Message-ID: <2026060853-CVE-2026-46311-bf08@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=1919; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=njhDgrPljh+v1mb5aqIG9JAEdiSQUA1nRviF6weAqW0=; b=owGbwMvMwCRo6H6F97bub03G02pJDFlqTxaKFp5OWJRkPs3mDdvtT5/tXnxadW3z54VJM3a9P 3TP1H2GSkcsC4MgE4OsmCLLl208R/dXHFL0MrQ9DTOHlQlkCAMXpwBMxI+RYX62kKn/HMYCMb/X vfd0ny9eVfCLcTHD/PgHOXo38+WOb5pzembuQyHm9VfebQUA 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: fix access to stale wptr mapping Use drm_exec to take both locks i.e vm root bo and wptr_obj bo to access the mapping data properly. This fixes the security issue of unmap the wptr_obj while a queue creation is in progress and passing other bo at same address. (cherry picked from commit 1fc6c8ab45dbee096469c08c13f6099d57a52d6c) The Linux kernel CVE team has assigned CVE-2026-46311 to this issue. Affected and fixed versions =========================== Fixed in 7.0.9 with commit 336a9186f3a4b65bbd865d93936605ac8a1a3991 Fixed in 7.1-rc3 with commit 6da7b1242da4455b11c24ce667d1cab1a348c8ea 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-46311 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/mes_userqueue.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/336a9186f3a4b65bbd865d93936605ac8a1a3991 https://git.kernel.org/stable/c/6da7b1242da4455b11c24ce667d1cab1a348c8ea