# drm/vmwgfx: Fix Use-after-free in validation

CVE record · `CVE-2025-40111`

- **Identifiers:** `CVE-2025-40111`
- **State:** Confirmed
- **Severity:** CVSS 7.8 High
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 12 Nov 2025
- **Updated:** 15 Oct 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 12 Nov 2025, 01:07 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: `64ad2abfe9a628ce79859d072704bd1ef7682044 to before 1822e5287b7dfa59d0af966756ebf1dc652b60ee` (git)
  - affected: `64ad2abfe9a628ce79859d072704bd1ef7682044 to before fb7165e5f3b3b10721ff70553583ad12e90e447a` (git)
  - affected: `64ad2abfe9a628ce79859d072704bd1ef7682044 to before 4c918f9d1ccccc0e092f43dcb2d8266f54d7340b` (git)
  - affected: `64ad2abfe9a628ce79859d072704bd1ef7682044 to before 9a8eaca539708ca532747f606d231f70e684e8ca` (git)
  - affected: `64ad2abfe9a628ce79859d072704bd1ef7682044 to before 867bda5d95d36f10da398fd4409e21c7002b2332` (git)
  - affected: `64ad2abfe9a628ce79859d072704bd1ef7682044 to before 655a2f29bfc21105c80bf8a7d7aafa6eca8b4496` (git)
  - affected: `64ad2abfe9a628ce79859d072704bd1ef7682044 to before 65608e991c2d771c13404e5c7ae122ac3c3357a4` (git)
  - affected: `64ad2abfe9a628ce79859d072704bd1ef7682044 to before dfe1323ab3c8a4dd5625ebfdba44dc47df84512a` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `4.20`
  - unaffected: `before 4.20` (semver)
  - unaffected: `5.4.301 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.246 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.195 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.157 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.113 to 6.6.*, inclusive` (semver)
  - unaffected: `6.12.54 to 6.12.*, inclusive` (semver)
  - unaffected: `6.17.4 to 6.17.*, inclusive` (semver)
  - unaffected: `6.18 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## 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

- 7.8 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from CNA (Linux)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0015, the 4th percentile, on 19 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 12 Nov 2025. New records show when each source confirmed them.

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/1822e5287b7dfa59d0af966756ebf1dc652b60ee>
- <https://git.kernel.org/stable/c/fb7165e5f3b3b10721ff70553583ad12e90e447a>
- <https://git.kernel.org/stable/c/4c918f9d1ccccc0e092f43dcb2d8266f54d7340b>
- <https://git.kernel.org/stable/c/9a8eaca539708ca532747f606d231f70e684e8ca>
- <https://git.kernel.org/stable/c/867bda5d95d36f10da398fd4409e21c7002b2332>
- <https://git.kernel.org/stable/c/655a2f29bfc21105c80bf8a7d7aafa6eca8b4496>
- <https://git.kernel.org/stable/c/65608e991c2d771c13404e5c7ae122ac3c3357a4>
- <https://git.kernel.org/stable/c/dfe1323ab3c8a4dd5625ebfdba44dc47df84512a>

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-40111>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

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