# drm/tests: shmem: Hold reservation lock around madvise

CVE record · `CVE-2025-71298`

- **Identifiers:** `CVE-2025-71298`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 8 May 2026
- **Updated:** 5 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 8 May 2026, 13:11 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `954907f7147dc43e0d1cd4d430c21d143d5fdf55 to before 9cc77691b5fd615625955cedf726da57543088f1` (git)
  - affected: `954907f7147dc43e0d1cd4d430c21d143d5fdf55 to before 07cfcab370da06f26c273306571cbb0bfa3b9c52` (git)
  - affected: `954907f7147dc43e0d1cd4d430c21d143d5fdf55 to before 607d07d8cc0b835a8701259f08a03dc149b79b4f` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `6.16`
  - unaffected: `before 6.16` (semver)
  - unaffected: `6.18.16 to 6.18.*, inclusive` (semver)
  - unaffected: `6.19.6 to 6.19.*, inclusive` (semver)
  - unaffected: `7.0 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The Linux kernel from 6.16 is affected by a bug in the DRM shmem KUnit tests, which call the madvise operation without holding the GEM object's reservation lock, triggering kernel warnings when the tests run. The source gives no attack scenario, and the fix also limits the new helper's export to Kunit tests. Upgrade to 6.18.16, 6.19.6, or 7.0 or later.

Written 17 Nov 2026.

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

No source has published a CVSS score for this record yet.

- **CISA KEV:** Not listed.
- **EPSS:** 0.0012, the 1st percentile, on 18 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 8 May 2026, 13:11 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2025-71298)
- 8 May 2026, 14:16 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2025-71298)

## Sources

- [CVE List: CVE-2025-71298](https://www.cve.org/CVERecord?id=CVE-2025-71298)
- [NVD: CVE-2025-71298](https://nvd.nist.gov/vuln/detail/CVE-2025-71298)

### References from the CNA

- <https://git.kernel.org/stable/c/9cc77691b5fd615625955cedf726da57543088f1>
- <https://git.kernel.org/stable/c/07cfcab370da06f26c273306571cbb0bfa3b9c52>
- <https://git.kernel.org/stable/c/607d07d8cc0b835a8701259f08a03dc149b79b4f>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2025-71298>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2025-71298/>. Everything for agents: <https://agentprime.io/llms.txt>.
