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 895A6215165 for ; Thu, 27 Mar 2025 16:45:49 +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=1743093949; cv=none; b=n002bffdKN3apsRIaWeXyhxF3+jDrmCnkrn/6jetJUHtymu/9ChVf5+8lCmt7JEkrKQMUItopf47tsEEfODlh+cuoPKWfsIzZIUpixNAo1Tma4KGvmfBJxhFnls+mCNAKZwJGAgwkFPkVgMHfRzpJfGfn5foRYLKnAyx3vlnPN8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743093949; c=relaxed/simple; bh=7Mq5ieHDWXHEewa3hcYr7Hj64dBRwIebKOeaV8zEv3s=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=idp4v0zN7bsPT+rKzCiE2rF7g7d6U59JWl1vaztNBVvh4OVD8qujlsA7czR6KkRW1mzk8w63cUP3JoN8lLJIyVQbEe3XghBhDWYJtFF++hKA+ji+93O/AUtumefQ0J9rp0b/D+7JuE7G2EUEvwHsWgd2oYsDwDAb0NiVo6CS7yw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=IhjyYCgZ; 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="IhjyYCgZ" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1CA32C4CEDD; Thu, 27 Mar 2025 16:45:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1743093949; bh=7Mq5ieHDWXHEewa3hcYr7Hj64dBRwIebKOeaV8zEv3s=; h=From:To:Cc:Subject:Date:Reply-to:From; b=IhjyYCgZnTf27RYalfXUCecXfJeflBiIAadj9K+N45ZVRe+qiCWxtbmylX+nTQvwO +9YWTs35DvrUVXQSrPixWvPzssP1ZlmdBUBecllxxdxB8jpC6uNlbdGwDdDKfMr0Q2 6YPvbdB5m2xCoZXaAzGC/747Eqa+PF8dvLctjAdc= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53001: drm/drm_vma_manager: Add drm_vma_node_allow_once() Date: Thu, 27 Mar 2025 17:43:48 +0100 Message-ID: <2025032712-CVE-2023-53001-f28f@gregkh> X-Mailer: git-send-email 2.49.0 Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Reply-to: , X-Developer-Signature: v=1; a=openpgp-sha256; l=1967; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=7Mq5ieHDWXHEewa3hcYr7Hj64dBRwIebKOeaV8zEv3s=; b=owGbwMvMwCRo6H6F97bub03G02pJDOlPGxROT1x0Yn7yD4+3H/mlD7L+vrxl8v+Fb/Yc3tPIZ 2qtk3SZqyOWhUGQiUFWTJHlyzaeo/srDil6GdqehpnDygQyhIGLUwAmMuENw4LZj4X5Zvj/6phX 2DRdX7DP6IQK3zKGBXtnnbsqfFJzx0QuHaEiu3eHLnGd+wkA X-Developer-Key: i=gregkh@linuxfoundation.org; a=openpgp; fpr=F4B60CC5BF78C2214A313DCB3147D40DDB2DFB29 Content-Transfer-Encoding: 8bit Description =========== In the Linux kernel, the following vulnerability has been resolved: drm/drm_vma_manager: Add drm_vma_node_allow_once() Currently there is no easy way for a drm driver to safely check and allow drm_vma_offset_node for a drm file just once. Allow drm drivers to call non-refcounted version of drm_vma_node_allow() so that a driver doesn't need to keep track of each drm_vma_node_allow() to call subsequent drm_vma_node_revoke() to prevent memory leak. The Linux kernel CVE team has assigned CVE-2023-53001 to this issue. Affected and fixed versions =========================== Fixed in 6.1.9 with commit 67444f8ca31cdaf45e0b761241ad49b1ae04bcf9 Fixed in 6.2 with commit 899d3a3c19ac0e5da013ce34833dccb97d19b5e4 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-2023-53001 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/drm_vma_manager.c include/drm/drm_vma_manager.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/67444f8ca31cdaf45e0b761241ad49b1ae04bcf9 https://git.kernel.org/stable/c/899d3a3c19ac0e5da013ce34833dccb97d19b5e4