---
id: CVE-2025-40276
title: |-
  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 …
summary: |-
  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 …
severity: high
cvss: 7.3
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:H'
published: '2025-12-06'
updated: '2026-10-15'
sourceUpdated: '2026-10-15T19:10:00.173'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-40276'
references:
  - url: 'https://git.kernel.org/stable/c/576c930e5e7dcb937648490611a83f1bf0171048'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/7a12f9c96d06b145562f76ffb20369b4692f0911'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/8355eea2a2e9c323021dfdcb95d7767d382123c4'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
epss: 0.00139
epssPercentile: 0.02866
ingestedAt: '2026-10-15T19:25:46.332Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
