---
id: CVE-2025-71296
title: |-
  In the Linux kernel, the following vulnerability has been resolved:

  drm/tests: shmem: Hold reservation lock around purge

  Acquire and release the GEM object's reservation lock around calls
  to the object's purge operation
summary: |-
  In the Linux kernel, the following vulnerability has been resolved:

  drm/tests: shmem: Hold reservation lock around purge

  Acquire and release the GEM object's reservation lock around calls
  to the object's purge operation. The tests use
  …
severity: medium
cvss: 5.5
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H'
vendor: linux
product: linux_kernel
affected:
  - 'linux_kernel >= 6.16, < 6.18.16'
  - 'linux_kernel >= 6.19, < 6.19.6'
patched:
  - linux_kernel 6.19.6
published: '2026-05-08'
updated: '2026-10-14'
sourceUpdated: '2026-10-14T13:10:00.187'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-71296'
references:
  - url: 'https://git.kernel.org/stable/c/3f41307d589c2f25d556d47b165df808124cd0c4'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/8baeee2c1c0cdb3a8eac3b8f38156cce6ee1a69f'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  - url: 'https://git.kernel.org/stable/c/cdf8bbbd9017adcfb91ad9a902198d4b507719a9'
    label: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
tags:
  - nvd
epss: 0.00121
epssPercentile: 0.01733
ingestedAt: '2026-10-14T13:30:58.490Z'
---

## Overview

In the Linux kernel, the following vulnerability has been resolved:

drm/tests: shmem: Hold reservation lock around purge

Acquire and release the GEM object's reservation lock around calls
to the object's purge operation. The tests use
drm_gem_shmem_purge_locked(), which led to errors such as show below.

[   58.709128] WARNING: CPU: 1 PID: 1354 at drivers/gpu/drm/drm_gem_shmem_helper.c:515 drm_gem_shmem_purge_locked+0x51c/0x740

Only export the new helper drm_gem_shmem_purge() for Kunit tests.
This is not an interface for regular drivers.

## Affected

- `linux_kernel >= 6.16, < 6.18.16`
- `linux_kernel >= 6.19, < 6.19.6`

## Remediation

Upgrade past the affected range:

- `linux_kernel 6.19.6`
