{"id":"CVE-2025-40111","aliases":["CVE-2025-40111"],"related":[],"kind":"vulnerability","state":"published","title":"drm/vmwgfx: Fix Use-after-free in validation","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/vmwgfx: Fix Use-after-free in validation\n\nNodes stored in the validation duplicates hashtable come from an arena\nallocator that is cleared at the end of vmw_execbuf_process. All nodes\nare expected to be cleared in vmw_validation_drop_ht but this node escaped\nbecause its resource was destroyed prematurely.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/vmwgfx: Fix Use-after-free in validation\n\nNodes stored in the validation duplicates hashtable come from an arena\nallocator that is cleared at the end of vmw_execbuf_process. All nodes\nare expected to be cleared in vmw_validation_drop_ht but this node escaped\nbecause its resource was destroyed prematurely.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\ndrm/vmwgfx: Corrección de uso después de liberación en la validación\n\nLos nodos almacenados en la tabla hash de duplicados de validación provienen de un asignador de arena que se limpia al final de vmw_execbuf_process. Se espera que todos los nodos se limpien en vmw_validation_drop_ht, pero este nodo escapó porque su recurso fue destruido prematuramente.","source":"nvd"}],"published":"2025-11-12T01:07:25.203Z","modified":"2026-10-19T21:10:00.160Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"64ad2abfe9a628ce79859d072704bd1ef7682044","fixed":"1822e5287b7dfa59d0af966756ebf1dc652b60ee","status":"affected"},{"type":"git","introduced":"64ad2abfe9a628ce79859d072704bd1ef7682044","fixed":"fb7165e5f3b3b10721ff70553583ad12e90e447a","status":"affected"},{"type":"git","introduced":"64ad2abfe9a628ce79859d072704bd1ef7682044","fixed":"4c918f9d1ccccc0e092f43dcb2d8266f54d7340b","status":"affected"},{"type":"git","introduced":"64ad2abfe9a628ce79859d072704bd1ef7682044","fixed":"9a8eaca539708ca532747f606d231f70e684e8ca","status":"affected"},{"type":"git","introduced":"64ad2abfe9a628ce79859d072704bd1ef7682044","fixed":"867bda5d95d36f10da398fd4409e21c7002b2332","status":"affected"},{"type":"git","introduced":"64ad2abfe9a628ce79859d072704bd1ef7682044","fixed":"655a2f29bfc21105c80bf8a7d7aafa6eca8b4496","status":"affected"},{"type":"git","introduced":"64ad2abfe9a628ce79859d072704bd1ef7682044","fixed":"65608e991c2d771c13404e5c7ae122ac3c3357a4","status":"affected"},{"type":"git","introduced":"64ad2abfe9a628ce79859d072704bd1ef7682044","fixed":"dfe1323ab3c8a4dd5625ebfdba44dc47df84512a","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.20","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.20","status":"unaffected"},{"type":"semver","introduced":"5.4.301","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.246","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.195","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.157","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.113","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.54","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.17.4","lastAffected":"6.17.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.18","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/1822e5287b7dfa59d0af966756ebf1dc652b60ee","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/fb7165e5f3b3b10721ff70553583ad12e90e447a","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/4c918f9d1ccccc0e092f43dcb2d8266f54d7340b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9a8eaca539708ca532747f606d231f70e684e8ca","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/867bda5d95d36f10da398fd4409e21c7002b2332","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/655a2f29bfc21105c80bf8a7d7aafa6eca8b4496","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/65608e991c2d771c13404e5c7ae122ac3c3357a4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/dfe1323ab3c8a4dd5625ebfdba44dc47df84512a","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-10-15T21:57:01.164Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-40111","url":"https://www.cve.org/CVERecord?id=CVE-2025-40111","licence":"CVE Terms of Use","modified":"2026-10-15T22:02:38.116Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-40111","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40111","licence":"Public domain","modified":"2026-10-19T21:10:00.160Z"}],"updatedAt":"2026-11-25T22:59:07.530Z","epss":{"score":0.0015,"percentile":0.04409,"date":"2026-12-01T12:00:22.000Z"}}