CVE-2025-71301·Kernel vulnerability
In the Linux kernel, the following vulnerability has been resolved: drm/tests: shmem: Hold reservation lock around vmap/vunmap Acquire and release the GEM object's reservation lock around vmap and vunmap operations. The tests use vmap_locked, which led to errors such as show below. [ 122.292030] WARNING: CPU: 3 PID: 1413 at drivers/gpu/drm/drm_gem_shmem_helper.c:390 drm_gem_shmem_vmap_locked+0x3a3/0x6f0 [ 122.468066] WARNING: CPU: 3 PID: 1413 at drivers/gpu/drm/drm_gem_shmem_helper.c:293 drm_gem_shmem_pin_locked+0x1fe/0x350 [ 122.563504] WARNING: CPU: 3 PID: 1413 at drivers/gpu/drm/drm_gem_shmem_helper.c:234 drm_gem_shmem_get_pages_locked+0x23c/0x370 [ 122.662248] WARNING: CPU: 2 PID: 1413 at drivers/gpu/drm/drm_gem_shmem_helper.c:452 drm_gem_shmem_vunmap_locked+0x101/0x330 Only export the new vmap/vunmap helpers for Kunit tests. These are not interfaces for regular drivers.
- Severity
- medium
- Software
- Kernel
- Fixed in
- 6.19.6
- Published
How likely is exploitation
FIRST's Exploit Prediction Scoring System puts the probability of this CVE being exploited in the next 30 days at 0.12% — higher than 2% of all published CVEs. EPSS is an independent forecast of exploitation, not a severity rating: it says nothing about how much damage a successful attack does, which is what a CVSS score measures.
Affected versions
From: 6.19
Until: 6.19.6
Fixed in: 6.19.6
How to fix this CVE
Update your Linux kernel to version 6.19.6 or later to resolve improper reservation lock handling in the DRM shared memory helper functions. This vulnerability affects kernel test operations and could lead to memory access violations during graphics memory mapping operations. Apply the kernel update through your distribution's package manager and reboot the system to ensure the patched kernel is active.
sudo dnf update kernel kernel-devel && sudo rebootDefensia detects this vulnerability
How to check if you are affected
- Check your current kernel version: uname -r
- Verify if the system is affected: if kernel version is 6.19.x (6.19.0 through 6.19.5), the system is vulnerable
- Search kernel logs for DRM shmem warnings: grep -i 'drm_gem_shmem' /var/log/kern.log or dmesg | grep drm_gem_shmem
- After update, verify the new kernel version: uname -r should show 6.19.6 or higher
FAQ
What is CVE-2025-71301?
This vulnerability exists in the Linux kernel's DRM (Direct Rendering Manager) shared memory helper functions, where vmap/vunmap operations were not properly protected by reservation locks, causing potential memory access violations during graphics memory mapping in kernel tests.
Is CVE-2025-71301 being actively exploited?
No, this vulnerability is not listed on the CISA KEV catalog and has no known public exploits. However, it should still be patched to prevent potential kernel instability.
What versions of Kernel are affected by CVE-2025-71301?
Linux kernel versions 6.19.0 through 6.19.5 are affected. Version 6.19.6 and later contain the fix.
How do I check if my server is vulnerable to CVE-2025-71301?
Run 'uname -r' to check your kernel version. If it shows 6.19.0 through 6.19.5, your system is vulnerable and requires immediate kernel patching.
Does Defensia detect CVE-2025-71301?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Linux kernel is installed on a monitored server, CVE-2025-71301 will appear in your dashboard with remediation steps.
Related Kernel CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2025-71301. Free for 1 server.
Get started free