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 B684D3E49C for ; Fri, 17 May 2024 11:52:21 +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=1715946741; cv=none; b=qKUUmtqD28VgiTiRIP4OsOGkvD2lFStA0HbUZEwD3Gvd3762QGt0+uwTcrH7Dj4UIaguPBQL9u9RAAkpnAbM58Sv+HSn1g+duOtXYnU21V1Q+ehaYQtR9ROIimbXCw0nP1LySEH5mRTOyUKO9pbQIJA8jr3vbnmhgetbSEzhv9Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715946741; c=relaxed/simple; bh=AppWt5y6YkffXurmosscipvBYmFWdDGeH8WLU6gMk0U=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=iqMJaHTk5HT5Pt0eA5hywjcieM0EV3AUraSCkGrK+HvwRK+bNl+0ugCJrJa0F0kJgLYym67a8XHKRwWzPipZGdpfHdAdlBIJz2TxIJp0YS96CGWohelVKhoesngaRwdzRLOr5lpCvkBOor66SY3jo40lJwyVtjlpZ0MlWULLR50= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=2V6b4Vyo; 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="2V6b4Vyo" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2D8B1C2BD10; Fri, 17 May 2024 11:52:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1715946741; bh=AppWt5y6YkffXurmosscipvBYmFWdDGeH8WLU6gMk0U=; h=From:To:Cc:Subject:Date:Reply-to:From; b=2V6b4VyomONLFwauk8PAlDyhY7u38cC04xLxWniKtCTstnYlALQVJtkNaz9eCKavb Scwr89wO6OH00D9bNSUhOfFn/VlNzchDQoaijO2snw5fVkMz1/R2aMmfS7aPNkR3hK 68Lwor9+6lHVjsQls2gZrKs1n3sn5UNAxpS5rPjo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-27411: drm/nouveau: keep DMA buffers required for suspend/resume Date: Fri, 17 May 2024 13:52:03 +0200 Message-ID: <2024051701-CVE-2024-27411-1af2@gregkh> X-Mailer: git-send-email 2.45.1 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=2056; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=AppWt5y6YkffXurmosscipvBYmFWdDGeH8WLU6gMk0U=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnuLg/ZuF6+e2ZqXTaDyzzCYOZ0layDMZIsjIbbTu6VO 7bh98XJHbEsDIJMDLJiiixftvEc3V9xSNHL0PY0zBxWJpAhDFycAjARW3eGBTMymO4kZdfopuq7 KOw9sMHQ9oD3AYYF567ePNTXzCP5L/Z5tc/z21tOPn2vAwA= 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/nouveau: keep DMA buffers required for suspend/resume Nouveau deallocates a few buffers post GPU init which are required for GPU suspend/resume to function correctly. This is likely not as big an issue on systems where the NVGPU is the only GPU, but on multi-GPU set ups it leads to a regression where the kernel module errors and results in a system-wide rendering freeze. This commit addresses that regression by moving the two buffers required for suspend and resume to be deallocated at driver unload instead of post init. The Linux kernel CVE team has assigned CVE-2024-27411 to this issue. Affected and fixed versions =========================== Issue introduced in 6.7.6 with commit 6190d4c08897 and fixed in 6.7.9 with commit be00e15b240e 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-2024-27411 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/nouveau/nvkm/subdev/gsp/r535.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/be00e15b240ed71fc30c0576af7ab670c8271661 https://git.kernel.org/stable/c/f6ecfdad359a01c7fd8a3bcfde3ef0acdf107e6e