CVE-2025-71298
drm/tests: shmem: Hold reservation lock around madvise
Mitigation
- Upgrade Linux to 607d07d8cc0b835a8701259f08a03dc149b79b4f or later.
Who should check
- Anyone running Linux >= 954907f7147dc43e0d1cd4d430c21d143d5fdf55, < 9cc77691b5fd615625955cedf726da57543088f1; >= 954907f7147dc43e0d1cd4d430c21d143d5fdf55, < 07cfcab370da06f26c273306571cbb0bfa3b9c52; >= 954907f7147dc43e0d1cd4d430c21d143d5fdf55, < 607d07d8cc0b835a8701259f08a03dc149b79b4f
- Anyone running Linux 6.16
Vulnerability facts
- Affected
- Linux >= 954907f7147dc43e0d1cd4d430c21d143d5fdf55, < 9cc77691b5fd615625955cedf726da57543088f1; >= 954907f7147dc43e0d1cd4d430c21d143d5fdf55, < 07cfcab370da06f26c273306571cbb0bfa3b9c52; >= 954907f7147dc43e0d1cd4d430c21d143d5fdf55, < 607d07d8cc0b835a8701259f08a03dc149b79b4f; Linux 6.16
- Fixed in
- Linux 9cc77691b5fd615625955cedf726da57543088f1, Linux 07cfcab370da06f26c273306571cbb0bfa3b9c52, Linux 607d07d8cc0b835a8701259f08a03dc149b79b4f
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.16% chance of exploitation in 30 days (percentile 3, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: drm/tests: shmem: Hold reservation lock around madvise Acquire and release the GEM object's reservation lock around calls to the object's madvide operation. The tests use drm_gem_shmem_madvise_locked(), which led to errors such as show below. [ 58.339389] WARNING: CPU: 1 PID: 1352 at drivers/gpu/drm/drm_gem_shmem_helper.c:499 drm_gem_shmem_madvise_locked+0xde/0x140 Only export the new helper drm_gem_shmem_madvise() for Kunit tests. This is not an interface for regular drivers.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 954907f7147dc43e0d1cd4d430c21d143d5fdf55, < 9cc77691b5fd615625955cedf726da57543088f1; >= 954907f7147dc43e0d1cd4d430c21d143d5fdf55, < 07cfcab370da06f26c273306571cbb0bfa3b9c52; >= 954907f7147dc43e0d1cd4d430c21d143d5fdf55, < 607d07d8cc0b835a8701259f08a03dc149b79b4f | — | cvelist |
| Linux | 6.16 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-71298. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-71298.md Affected: Linux >= 954907f7147dc43e0d1cd4d430c21d143d5fdf55, < 9cc77691b5fd615625955cedf726da57543088f1; >= 954907f7147dc43e0d1cd4d430c21d143d5fdf55, < 07cfcab370da06f26c273306571cbb0bfa3b9c52; >= 954907f7147dc43e0d1cd4d430c21d143d5fdf55, < 607d07d8cc0b835a8701259f08a03dc149b79b4f; Linux 6.16 Fixed in: Linux 9cc77691b5fd615625955cedf726da57543088f1, Linux 07cfcab370da06f26c273306571cbb0bfa3b9c52, Linux 607d07d8cc0b835a8701259f08a03dc149b79b4f Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2025-71298 being exploited?
There is no confirmed exploitation: CVE-2025-71298 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.16% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-71298?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-71298?
Linux >= 954907f7147dc43e0d1cd4d430c21d143d5fdf55, < 9cc77691b5fd615625955cedf726da57543088f1; >= 954907f7147dc43e0d1cd4d430c21d143d5fdf55, < 07cfcab370da06f26c273306571cbb0bfa3b9c52; >= 954907f7147dc43e0d1cd4d430c21d143d5fdf55, < 607d07d8cc0b835a8701259f08a03dc149b79b4f; Linux 6.16.
Is there a fix for CVE-2025-71298?
Yes. Fixed in Linux 9cc77691b5fd615625955cedf726da57543088f1, Linux 07cfcab370da06f26c273306571cbb0bfa3b9c52, Linux 607d07d8cc0b835a8701259f08a03dc149b79b4f. Upgrade Linux to 607d07d8cc0b835a8701259f08a03dc149b79b4f or later.
How do I check if I'm affected by CVE-2025-71298?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.