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 9F49D33C53C for ; Tue, 16 Dec 2025 15:40:28 +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=1765899628; cv=none; b=M09k7XfDIJn5MqMYy6LYr28Tx7i4FfiNUAgeERV4AiZr1/FDbP0e4ENwSYbAGup8uyvh4bpfEqyZcehD6v1kM3B1iEiTL/mt0IxwXNkhKWeQzGPIP2n+S0CyfNuxS7uvpo9QUGfFQPs2Ib4Fnp6X2yyer0NvpDvRgmzEtbgqTwc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765899628; c=relaxed/simple; bh=IaYHDgifZHM9MCPetBZj+UGnZqUiixzTAilB4q2BJhQ=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=lShUMLNDeGAqW18lhBvbATNYaEME9W9HiaPThALNeFWB03w5XM3J4HkQXiLxqS+TJ2AOn0uKGBeeW89JeDyqxkB2uzwcE/q4JIZL+OaNLYS5xoEb/kAQSaTwJeEO0hVSqL3NIdM68fY+CA3gV6+pHMH7G/o6mOiwEBl6wdPfk44= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=j6vELQKy; 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="j6vELQKy" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D3E00C113D0; Tue, 16 Dec 2025 15:40:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1765899628; bh=IaYHDgifZHM9MCPetBZj+UGnZqUiixzTAilB4q2BJhQ=; h=From:To:Cc:Subject:Date:Reply-To:From; b=j6vELQKybcfLV36HpE2429X5K3thg21K2o7aK+dNYj8TK/U53Vt5Lwx0pmi5Rxmav 016OaaGi3NdadBBLcjRNRzqpn+eqZ+YsgDvXGfyYNvderwoA4LE+Tiybcq75qJKuRw 7sLrAuVtJBldFSTrklRkVC17SNScc6+eH6spPKcg= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-68314: drm/msm: make sure last_fence is always updated Date: Tue, 16 Dec 2025 16:39:57 +0100 Message-ID: <2025121655-CVE-2025-68314-847b@gregkh> X-Mailer: git-send-email 2.52.0 Reply-To: , Precedence: bulk X-Mailing-List: linux-cve-announce@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2134; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=z0qARKi1RjazGP3h/0dMHsbyj1j6xyKSnhsnty2wVdw=; b=owGbwMvMwCRo6H6F97bub03G02pJDJmOtd4J/atsFKwlOD5EHJm7UILPX16rS2oxy1zeexv4J V3NimQ7YlkYBJkYZMUUWb5s4zm6v+KQopeh7WmYOaxMIEMYuDgFYCLVnQxzBVomL99U/sKX5+Wu fJFf915FHj9sz7BgSwHT5A02fxYXPvApa9Ca/+9PZ7AhAA== 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/msm: make sure last_fence is always updated Update last_fence in the vm-bind path instead of kernel managed path. last_fence is used to wait for work to finish in vm_bind contexts but not used for kernel managed contexts. This fixes a bug where last_fence is not waited on context close leading to faults as resources are freed while in use. Patchwork: https://patchwork.freedesktop.org/patch/680080/ The Linux kernel CVE team has assigned CVE-2025-68314 to this issue. Affected and fixed versions =========================== Issue introduced in 6.17 with commit 92395af63a9958615edfa9d4ef1ea72c92a00410 and fixed in 6.17.8 with commit 8ee817ceafba266d9c6f3a09babd2ac7441d9a2b Issue introduced in 6.17 with commit 92395af63a9958615edfa9d4ef1ea72c92a00410 and fixed in 6.18 with commit 86404a9e3013d814a772ac407573be5d3cd4ee0d 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-2025-68314 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/msm/msm_gem_submit.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/8ee817ceafba266d9c6f3a09babd2ac7441d9a2b https://git.kernel.org/stable/c/86404a9e3013d814a772ac407573be5d3cd4ee0d