CVE-2025-71296 drm/tests: shmem: Hold reservation lock around purge
Missing reservation lock in DRM shmem tests causes kernel warnings and potential instability, requiring a patch to enforce proper locking.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-71296?
CVE-2025-71296 is a medium-severity vulnerability in Linux kernel, published on 8 May 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
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.
Which versions are affected by CVE-2025-71296?
It affects 1 product.
Products include Linux kernel.
How do I fix CVE-2025-71296?
Apply the vendor's patch.
Is CVE-2025-71296 being exploited?
There is no known exploitation of CVE-2025-71296 in the wild and no public exploit code.
Other vulnerabilities in Linux kernel
Sources
Also known as BELL-CVE-2025-71296, DEBIAN-CVE-2025-71296, GHSA-pcm3-h7mm-fp3g, UBUNTU-CVE-2025-71296.