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 D72FE2C9A for ; Wed, 18 Sep 2024 06:32:57 +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=1726641177; cv=none; b=OO43M8D0GW5kgOlASEoGCTkVNBeeuIAd0yf4yVSAvBAQYt6LTFrkKg2w5HzmOAHF/hWdAzFIKjYZZQidiMSOQNkgpFhlg5vFApg66r85ONxAQzz+Ko175p1n9cv2EIvaazkN1yXOULO4bgIOYEzh3hep3qLhoJodj0xzvnhflpk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1726641177; c=relaxed/simple; bh=uH2idCpqLoyZd0KYOCBj5l3Bpm9leYaef5h5citQ9tk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=HMFjaZVE3ZEzdNfZjkGAC7gMva9gi3np//2m0O3/6u4zgPd/v+Dglrgw7TuSifKTvbLIMTEpZrWvMNchDU8OR6kMgmKLpam272egOyuB9SqnWBd4dVIR0VHiVE8DITfDAlSSn1kFqw7EFZS+I9/SSl99wNv5EUWLhSq2bu5uW4k= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=MaFQkIeU; 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="MaFQkIeU" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4C293C4CECE; Wed, 18 Sep 2024 06:32:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1726641177; bh=uH2idCpqLoyZd0KYOCBj5l3Bpm9leYaef5h5citQ9tk=; h=From:To:Cc:Subject:Date:Reply-to:From; b=MaFQkIeUq0thIM7srmk5fqUnbAI6FLerokiTjlBpfh4pipfdadVnSUgpwMrlQrLo6 ZMqJQTkmYIptA8PywhIjgxKHA7se7PlGQD2zHfOh7zsOoMfxzVmAxNnPjKZmWiN/yS DA0FcZxkz1kYYy6XiWh0X60E8LR30PHEL02tc8dE= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2024-46718: drm/xe: Don't overmap identity VRAM mapping Date: Wed, 18 Sep 2024 08:32:35 +0200 Message-ID: <2024091833-CVE-2024-46718-c5c7@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=1850; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=uH2idCpqLoyZd0KYOCBj5l3Bpm9leYaef5h5citQ9tk=; b=owGbwMvMwCRo6H6F97bub03G02pJDGmvShjTYqr2vizk5H79lYlX8++fU3+Oafz68UrG9d2ad zLRNfozOmJZGASZGGTFFFm+bOM5ur/ikKKXoe1pmDmsTCBDGLg4BWAi59MZ5sc+f57b/aFYcrHJ 57nHU4SU9+0VD2dY0D1jfoY/58+Vm6+b16bcfK0je+zObgA= 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: Don't overmap identity VRAM mapping Overmapping the identity VRAM mapping is triggering hardware bugs on certain platforms. Use 2M pages for the last unaligned (to 1G) VRAM chunk. v2: - Always use 2M pages for last chunk (Fei Yang) - break loop when 2M pages are used - Add assert for usable_size being 2M aligned v3: - Fix checkpatch The Linux kernel CVE team has assigned CVE-2024-46718 to this issue. Affected and fixed versions =========================== Fixed in 6.10.9 with commit bb706e92c87b Fixed in 6.11 with commit 6d3581edffea 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-46718 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_migrate.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/bb706e92c87beb9f2543faa1705ccc330b9e7c65 https://git.kernel.org/stable/c/6d3581edffea0b3a64b0d3094d3f09222e0024f7