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 1CE14170A11 for ; Wed, 18 Jun 2025 11:08:15 +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=1750244895; cv=none; b=ouPvcaxPY+lZewMzpqXNsttR9RRRbTXDvP4jr2+4PYhIP/KelscBvqZQ/XV00Pu75ANRZEh++qSpOx1FMXcXIcMNGFmAHHdSeswJxZDsgJ7mSThrv6euaiS8H010CZGg/Y+vWZ5G0pjKnMGSNE42m+DqbgywaMZXEHhKix2sq24= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1750244895; c=relaxed/simple; bh=bQ4pgw5gopYR1hfBkG7TA5KoZNfsjLF15R/wBfzFKw0=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=kZXoq1vo0QAtwVYp5Eik26U2GjGeF2MrhKKLFzBPsa3kZRL80LoIRhmPVkbiM+ZsXa28tS2UsXP1Wq3TvJ/dDV68HjrUd1GjLO+fUigcpgQZkSF3s2SzJK0YYz4sUAgB/wH30Ec5FNwAGaVmp7aFSyLZ9TMOyj0ayIu7qU+quf0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=E0RJt23Y; 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="E0RJt23Y" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 88326C4CEE7; Wed, 18 Jun 2025 11:08:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1750244895; bh=bQ4pgw5gopYR1hfBkG7TA5KoZNfsjLF15R/wBfzFKw0=; h=From:To:Cc:Subject:Date:Reply-to:From; b=E0RJt23YqGc+wicJ9Ifi+YkyTR+BoXgnauiEDaUplL8UVn714gvWAor8r6FhqWUZE iTiyreIVOcEs9XiCTPzXQjXG1IgPKgq5vW6Rk5EhZBIG1mJCmz8t3/k3iPFTMHDQIa q0dPW3AWxgi8phk8eyKihxUlqtjeXEgr4yVY3aWo= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2022-50037: drm/i915/ttm: don't leak the ccs state Date: Wed, 18 Jun 2025 13:01:42 +0200 Message-ID: <2025061841-CVE-2022-50037-ca44@gregkh> X-Mailer: git-send-email 2.49.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=1987; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=c13dpPnT2SVB+2d1qs9u+wtsvEH/dx0jbjY6LkKab0Q=; b=owGbwMvMwCRo6H6F97bub03G02pJDBlBcyL5DlbsP/+m1+uYqdGV6gvvv/Kuff2q9fzsi53Zu 9d3tk6V7IhlYRBkYpAVU2T5so3n6P6KQ4pehranYeawMoEMYeDiFICJ8NgxzBV7s/hdeF/d9I0n ROa6/s4SmPtg9iaGBfPWBqtMv1rlJKQ1aY8fh3d/0JcufgA= 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/ttm: don't leak the ccs state The kernel only manages the ccs state with lmem-only objects, however the kernel should still take care not to leak the CCS state from the previous user. (cherry picked from commit 353819d85f87be46aeb9c1dd929d445a006fc6ec) The Linux kernel CVE team has assigned CVE-2022-50037 to this issue. Affected and fixed versions =========================== Issue introduced in 5.19 with commit 48760ffe923aeb2cc73865ea36b3509718d102e3 and fixed in 5.19.4 with commit b431cffb4883b9e90d48f0c408674c50fef428a5 Issue introduced in 5.19 with commit 48760ffe923aeb2cc73865ea36b3509718d102e3 and fixed in 6.0 with commit 232d150fa15606e96c0e01e5c7a2d4e03f621787 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-50037 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_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/b431cffb4883b9e90d48f0c408674c50fef428a5 https://git.kernel.org/stable/c/232d150fa15606e96c0e01e5c7a2d4e03f621787