[<prev] [next>] [day] [month] [year] [list]
Message-ID: <2025120717-CVE-2025-40276-6558@gregkh>
Date: Sun, 7 Dec 2025 06:52:23 +0900
From: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
To: linux-cve-announce@...r.kernel.org
Cc: Greg Kroah-Hartman <gregkh@...nel.org>
Subject: CVE-2025-40276: drm/panthor: Flush shmem writes before mapping buffers CPU-uncached
From: Greg Kroah-Hartman <gregkh@...nel.org>
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
Powered by blists - more mailing lists