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 6E55316DC20 for ; Wed, 21 Aug 2024 06:13:43 +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=1724220823; cv=none; b=jgTlxSGfM5bXHEIoZv9le58EFUWZTEsidewDyBwnlTaBc0TDbGz/rYCn9g5x3qcmneUiAVMi7ba/Ytc8P3ADbF6O/YzYf/UQZOA5PbgfBza96G38Kdzol75SSw0z+88SpeUs4uB9sunDr+H5FZT0n1/lzEZbFaCJ2Wly2+x/AwI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724220823; c=relaxed/simple; bh=1hEDbza8OLAprvW3DICM1FQGKnY0e2B+ZMb280JOTi8=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=pj6YP6pnZn8xc4Bhc0feOFqDOmcL0aiQBHiQ0/MlLNSLvWL3E7r9lv1t5iBpiJcAtVzou8WA/yUpr/GiJJqPx5lk3VkvUhJ/SacNXV+EVxuI0H8V+8DBNFvT3uBTnMsKgMCEL5jr4h51shbtHFMp7etP15+kzFDannIRe12ucoE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ATI50fZv; 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="ATI50fZv" Received: by smtp.kernel.org (Postfix) with ESMTPSA id F4084C4AF12; Wed, 21 Aug 2024 06:13:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1724220823; bh=1hEDbza8OLAprvW3DICM1FQGKnY0e2B+ZMb280JOTi8=; h=From:To:Cc:Subject:Date:Reply-to:From; b=ATI50fZvoUdQLpurl6UlofMip6NV0DYbF6iN7CNCVQDYUc8Ka5DWOAPz2wvkra34k 5FbJ/RrMaKFkfVbh1pvCGVWsbXI2YMY0HEfnjNVn+9JfULwmHwiddkqnAGkhd2S4KA PtsCkwulgP51Z6De1ArO0PvaLVXDXmPSjQQSfCaI= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-48893: drm/i915/gt: Cleanup partial engine discovery failures Date: Wed, 21 Aug 2024 14:11:27 +0800 Message-ID: <2024082110-CVE-2022-48893-8d4c@gregkh> X-Mailer: git-send-email 2.46.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=1945; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=1hEDbza8OLAprvW3DICM1FQGKnY0e2B+ZMb280JOTi8=; b=owGbwMvMwCRo6H6F97bub03G02pJDGlHW/7V37Hzsjp/x172YVx5jPWSnGOKV/elTil/HPezW WDJrJtnO2JZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAianUMCzb9/fG8SWWzUuZn g+W7FG8d/dAYHM0wPz6l6c+mbWo3jHdFH9/Z5sl+/ZXwZwA= 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/i915/gt: Cleanup partial engine discovery failures If we abort driver initialisation in the middle of gt/engine discovery, some engines will be fully setup and some not. Those incompletely setup engines only have 'engine->release == NULL' and so will leak any of the common objects allocated. v2: - Drop the destroy_pinned_context() helper for now. It's not really worth it with just a single callsite at the moment. (Janusz) The Linux kernel CVE team has assigned CVE-2022-48893 to this issue. Affected and fixed versions =========================== Fixed in 6.1.7 with commit 5c855bcc7306 Fixed in 6.2 with commit 78a033433a5a 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-2022-48893 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/i915/gt/intel_engine_cs.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/5c855bcc730656c4b7d30aaddcd0eafc7003e112 https://git.kernel.org/stable/c/78a033433a5ae4fee85511ee075bc9a48312c79e