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 999CF2D3237 for ; Sat, 6 Dec 2025 21:53:33 +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=1765058013; cv=none; b=HBPlL0sqXDGvCE9dQum/p6LcBqfYedrsn84TXvCk49EoiL6RP/YyDHJyMyEYeRvlJAcwyXZbKIr7ImbcJvLC3dkzQ45kv1FjG7R2qV7WnnfkKczR+zmd+SzIAVuMf+zvljPpIXKwiqpC43vgCJP06/dVdW5R79X3XtvL/uen2dk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765058013; c=relaxed/simple; bh=JPkKHkxq0mogi/NRcYl67/8WMyhRXBQ7wk2j//uKE6M=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=AGFSh0nbXhlV72hvjesO93ZE3Q4CU/brHZZn/tUyY16vWXCZmAm6NoNzmxlnXN2kdrX7CjRxQMh6HDv+53tvMJeWC/S9RtJQ49qphD1+1UQ86fLjBZ7EoYeEsvbiaMlGMj/7fYsRIknqMO7eZ+9Ag6pPuleJ4EbDIXtYMlhXyqE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=W+WvIMbr; 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="W+WvIMbr" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B3908C4CEF5; Sat, 6 Dec 2025 21:53:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1765058013; bh=JPkKHkxq0mogi/NRcYl67/8WMyhRXBQ7wk2j//uKE6M=; h=From:To:Cc:Subject:Date:Reply-To:From; b=W+WvIMbrbv+OEhffVsNMzUZuixadt57SN8CJ49DXClVL70kamc85JeBWYZPDYy9/x NUG/9PtpHGxTr2ezw2OrbWaJw52YEETpE6XNvWcxaxKO9sD7iLmqohJOS42ov4Sz+X irUQJJ/YW5zbckvmebR60JCkW8GADKbWPg/F/u1U= From: Greg Kroah-Hartman To: linux-cve-announce@vger.kernel.org Cc: Greg Kroah-Hartman Subject: CVE-2025-40276: drm/panthor: Flush shmem writes before mapping buffers CPU-uncached Date: Sun, 7 Dec 2025 06:52:23 +0900 Message-ID: <2025120717-CVE-2025-40276-6558@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=2025; i=gregkh@linuxfoundation.org; h=from:subject:message-id; bh=PqYGFK4Um/E5yJI5nbyj2+RXSKe7qudt80Y2VTp9wkM=; b=owGbwMvMwCRo6H6F97bub03G02pJDJkmSyeq1T8W7QzKUbnosv7iZZGuy/cfv/7za1F54narV 1mJE7fxdsSyMAgyMciKKbJ82cZzdH/FIUUvQ9vTMHNYmUCGMHBxCsBEml8zLJh35Zxk0/f0mgsn X/7+k7dE2842jYNhDt+e1QsDXzjd1e25nrt/85O2E2LcuQA= 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/panthor: Flush shmem writes before mapping buffers CPU-uncached The shmem layer zeroes out the new pages using cached mappings, and if we don't CPU-flush we might leave dirty cachelines behind, leading to potential data leaks and/or asynchronous buffer corruption when dirty cachelines are evicted. The Linux kernel CVE team has assigned CVE-2025-40276 to this issue. Affected and fixed versions =========================== Issue introduced in 6.10 with commit 8a1cc07578bf42d85f008316873d710ff684dd29 and fixed in 6.17.9 with commit 7a12f9c96d06b145562f76ffb20369b4692f0911 Issue introduced in 6.10 with commit 8a1cc07578bf42d85f008316873d710ff684dd29 and fixed in 6.18 with commit 576c930e5e7dcb937648490611a83f1bf0171048 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-40276 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/panthor/panthor_gem.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/7a12f9c96d06b145562f76ffb20369b4692f0911 https://git.kernel.org/stable/c/576c930e5e7dcb937648490611a83f1bf0171048