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 7B91F2D3752 for ; Thu, 18 Sep 2025 13:36:53 +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=1758202613; cv=none; b=cUrkT2oTtzIB+GPzUx/yC0H6d1x7zOGhU7cAgUgQFpwZWSea6PC9PFql+th+C2DlqvO6dytApRfWlDXDIHwtMNiDDf3/OPH3fjKqM4gozlqROcFjtxSwxEAwvW0MOXrHLVP/yAyiowpizUSaL3/VYCvb0xxx0p/8VKNhN/nEJdk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758202613; c=relaxed/simple; bh=qnp00eMuEkwbw1X8QH93aaPzHwnl6GVwHdRU2B3gFIk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Gg9XW4LKSvbTEnfbRaZGYn3hGY1vc10VOyn/ODqcnm5zFmIfc9GiMCXsgqexi49acwaCmBQBdHzKpAXrgOj65tR97mnvyx2+CxbNMfk2CZcXdrzzXg+cCFyLW4XsuTFyPVfL6t4U3Jcx5v6e1YlN5rKdDgDJK6kj0D4I+FT3Kwk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=ZtCGLyy1; 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="ZtCGLyy1" Received: by smtp.kernel.org (Postfix) with ESMTPSA id F2AECC4CEE7; Thu, 18 Sep 2025 13:36:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1758202613; bh=qnp00eMuEkwbw1X8QH93aaPzHwnl6GVwHdRU2B3gFIk=; h=From:To:Cc:Subject:Date:Reply-to:From; b=ZtCGLyy12uWk4XCY0TbKOA9GeqOmQjYYKv88k6ACeMQRekiW6nzBmaMXdUDHyCuUA CaiR+CNUNGg1iO7Zfh8DrFhpwlhzZxru9XgoqGSJeyQtEqO58UZw1TabI+gtZnWj7H QcX9MOABLX4K6Q0dVC8JENca+lkXzAGu6cDBifYU= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2023-53378: drm/i915/dpt: Treat the DPT BO as a framebuffer Date: Thu, 18 Sep 2025 15:34:23 +0200 Message-ID: <2025091856-CVE-2023-53378-3d98@gregkh> X-Mailer: git-send-email 2.51.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=2802; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=fueVvwB+c2xlxI4fqWVmhcFIck+gdZoryw737ypD1hA=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlnuFxmGnXvdC6qE7633lHn2qUbqceXZTV0sHZJcP66o m3C0MreEcvCIMjEICumyPJlG8/R/RWHFL0MbU/DzGFlAhnCwMUpABPZFccwT2VfTN6ilyLvzx9d Lyl5VnCbe8DZPoYFKw97nnzD8EX6f2zDpPd7lnnudtyRDgA= 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/i915/dpt: Treat the DPT BO as a framebuffer Currently i915_gem_object_is_framebuffer() doesn't treat the BO containing the framebuffer's DPT as a framebuffer itself. This means eg. that the shrinker can evict the DPT BO while leaving the actual FB BO bound, when the DPT is allocated from regular shmem. That causes an immediate oops during hibernate as we try to rewrite the PTEs inside the already evicted DPT obj. TODO: presumably this might also be the reason for the DPT related display faults under heavy memory pressure, but I'm still not sure how that would happen as the object should be pinned by intel_dpt_pin() while in active use by the display engine... (cherry picked from commit 779cb5ba64ec7df80675a956c9022929514f517a) The Linux kernel CVE team has assigned CVE-2023-53378 to this issue. Affected and fixed versions =========================== Issue introduced in 6.0 with commit 0dc987b699ce4266450d407d6d79d41eab88c5d0 and fixed in 6.1.23 with commit c781c107731fc09ce4330c8c636b8446d0f72aa4 Issue introduced in 6.0 with commit 0dc987b699ce4266450d407d6d79d41eab88c5d0 and fixed in 6.2.10 with commit 5390a02b4508416b9bee96674f141c68f89bafbc Issue introduced in 6.0 with commit 0dc987b699ce4266450d407d6d79d41eab88c5d0 and fixed in 6.3 with commit 3413881e1ecc3cba722a2e87ec099692eed5be28 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-53378 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/display/intel_dpt.c drivers/gpu/drm/i915/gem/i915_gem_object.h drivers/gpu/drm/i915/gem/i915_gem_object_types.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/c781c107731fc09ce4330c8c636b8446d0f72aa4 https://git.kernel.org/stable/c/5390a02b4508416b9bee96674f141c68f89bafbc https://git.kernel.org/stable/c/3413881e1ecc3cba722a2e87ec099692eed5be28