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 ED13015B98D for ; Mon, 29 Jul 2024 15:53:52 +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=1722268433; cv=none; b=njxTY13LYA+pYI4HfKdZrKE7RuwixdE3+l4H8uNQpmXG9qbc29LRLBifRFYfXID9EVYVK5RKEKj7qnvssjY2OxYG2ql+3sThkBdw+aagJxqkIxNFqsi2C5v4kiXu4cznfcAiCSsjblb7eVXUcQ9QRHhpniYOV5jCrUT5xlluFTQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722268433; c=relaxed/simple; bh=ZRJmUFr+VwqYoIj0L0k2+Rn8m9V/XK8dvRLo8Q4/Ycw=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=XB3p9+I/iMnitA26WiUpyQ01huFrpxM0c+lcjw105Mpxvh7b7huQXY9MbTF7s68NV+XY9dVzQjaKWBOnlqhFjN3PHKkL2aMhGuTIX+Sc2UyoR3A/N2a3y4dy8TAi/7kC4VCOT/j8uDZ1HKor7RrvIG0pTwAwXL02nKL6KUrF/Lk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=engAXo3C; 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="engAXo3C" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5E88FC32786; Mon, 29 Jul 2024 15:53:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1722268432; bh=ZRJmUFr+VwqYoIj0L0k2+Rn8m9V/XK8dvRLo8Q4/Ycw=; h=From:To:Cc:Subject:Date:Reply-to:From; b=engAXo3Ck8+UtWDVAEtnjejWqRiFsiZzYimYFJGX2l1LY237ZeYuijtMDDW0/Fjwe JBn+x6O68qHlMAThM0IEDQCeANTN97YblwEWXkM6WV5qKi5mTLPJuv09uDntEd51HB KsN5NXFt+fMdiBEeJS8dSZRCYzmPCotU1KPeNmlw= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-42066: drm/xe: Fix potential integer overflow in page size calculation Date: Mon, 29 Jul 2024 17:52:55 +0200 Message-ID: <2024072951-CVE-2024-42066-0625@gregkh> X-Mailer: git-send-email 2.45.2 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=1678; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=ZRJmUFr+VwqYoIj0L0k2+Rn8m9V/XK8dvRLo8Q4/Ycw=; b=owGbwMvMwCRo6H6F97bub03G02pJDGnLd11esjPot2/EvvUN59nWrN327W9Cx0TvGr1Jfffun j5YwPzQtyOWhUGQiUFWTJHlyzaeo/srDil6GdqehpnDygQyhIGLUwAmInuMYRZTfl7S94iYhiun Ita0cJj+zLm45wXDgouTQpsmfmKfraHea7tnrZzpXSUhawA= 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/xe: Fix potential integer overflow in page size calculation Explicitly cast tbo->page_alignment to u64 before bit-shifting to prevent overflow when assigning to min_page_size. The Linux kernel CVE team has assigned CVE-2024-42066 to this issue. Affected and fixed versions =========================== Fixed in 6.9.8 with commit 79d54ddf0e29 Fixed in 6.10 with commit 4f4fcafde343 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-42066 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/xe/xe_ttm_vram_mgr.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/79d54ddf0e292b810887994bb04709c5ac0e1531 https://git.kernel.org/stable/c/4f4fcafde343a54465f85a2909fc684918507a4b