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

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.15%, higher than 4% of CVEs (2026-12-01)
- Published: 2025-11-12T01:07:25.203Z
- Modified: 2026-10-19T21:10:00.160Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

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

Nodes stored in the validation duplicates hashtable come from an arena
allocator that is cleared at the end of vmw_execbuf_process. All nodes
are expected to be cleared in vmw_validation_drop_ht but this node escaped
because its resource was destroyed prematurely.

(As written by CVE List.)

## Affected

- Linux Linux: from 64ad2abfe9a628ce79859d072704bd1ef7682044 before 1822e5287b7dfa59d0af966756ebf1dc652b60ee; from 64ad2abfe9a628ce79859d072704bd1ef7682044 before fb7165e5f3b3b10721ff70553583ad12e90e447a; from 64ad2abfe9a628ce79859d072704bd1ef7682044 before 4c918f9d1ccccc0e092f43dcb2d8266f54d7340b; from 64ad2abfe9a628ce79859d072704bd1ef7682044 before 9a8eaca539708ca532747f606d231f70e684e8ca; from 64ad2abfe9a628ce79859d072704bd1ef7682044 before 867bda5d95d36f10da398fd4409e21c7002b2332; from 64ad2abfe9a628ce79859d072704bd1ef7682044 before 655a2f29bfc21105c80bf8a7d7aafa6eca8b4496; from 64ad2abfe9a628ce79859d072704bd1ef7682044 before 65608e991c2d771c13404e5c7ae122ac3c3357a4; from 64ad2abfe9a628ce79859d072704bd1ef7682044 before dfe1323ab3c8a4dd5625ebfdba44dc47df84512a; 4.20 (not affected: before 4.20; from 5.4.301 up to 5.4.*; from 5.10.246 up to 5.10.*; from 5.15.195 up to 5.15.*; from 6.1.157 up to 6.1.*; from 6.6.113 up to 6.6.*; from 6.12.54 up to 6.12.*; from 6.17.4 up to 6.17.*; from 6.18 up to *)

## References

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

## Sources

- CVE List: [CVE-2025-40111](https://www.cve.org/CVERecord?id=CVE-2025-40111), CVE Terms of Use, modified 2026-10-15
- NVD: [CVE-2025-40111](https://nvd.nist.gov/vuln/detail/CVE-2025-40111), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2025-40111 · Whole record: https://cve.day/CVE-2025-40111.json · Rebuilt by cve.day 2026-11-25T22:59:07.530Z
