CVE-2025-40276: drm/panthor: Flush shmem writes before mapping buffers CPU-uncached
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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/linuxto a version that resolves this vulnerability.Fixed in 6.1.176-1Fixed in 6.1.190-1Fixed in 6.12.107-1Fixed in 6.12.113-1Fixed in 7.2.12-1Fixed in 7.2.13-1
Event History
Frequently Asked Questions
What is the severity of CVE-2025-40276?
CVE-2025-40276 is considered a medium severity vulnerability due to potential data corruption risks.
How do I fix CVE-2025-40276?
To fix CVE-2025-40276, you should upgrade to a patched version of the Linux kernel that addresses this vulnerability.
What are the potential impacts of CVE-2025-40276?
The potential impacts of CVE-2025-40276 include data corruption and instability in systems using affected versions of the Linux kernel.
Which systems are affected by CVE-2025-40276?
CVE-2025-40276 affects all versions of the Linux kernel that utilize the shmem layer for memory management.
Is there a public exploit for CVE-2025-40276?
As of now, there are no known public exploits for CVE-2025-40276, but it is advisable to apply the patch promptly.