{"id":"CVE-2025-40086","aliases":["CVE-2025-40086"],"related":[],"kind":"vulnerability","state":"published","title":"drm/xe: Don't allow evicting of BOs in same VM in array of VM binds","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/xe: Don't allow evicting of BOs in same VM in array of VM binds\n\nAn array of VM binds can potentially evict other buffer objects (BOs)\nwithin the same VM under certain conditions, which may lead to NULL\npointer dereferences later in the bind pipeline. To prevent this, clear\nthe allow_res_evict flag in the xe_bo_validate call.\n\nv2:\n - Invert polarity of no_res_evict (Thomas)\n - Add comment in code explaining issue (Thomas)\n\n(cherry picked from commit 8b9ba8d6d95fe75fed6b0480bb03da4b321bea08)","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/xe: Don't allow evicting of BOs in same VM in array of VM binds\n\nAn array of VM binds can potentially evict other buffer objects (BOs)\nwithin the same VM under certain conditions, which may lead to NULL\npointer dereferences later in the bind pipeline. To prevent this, clear\nthe allow_res_evict flag in the xe_bo_validate call.\n\nv2:\n - Invert polarity of no_res_evict (Thomas)\n - Add comment in code explaining issue (Thomas)\n\n(cherry picked from commit 8b9ba8d6d95fe75fed6b0480bb03da4b321bea08)","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\ndrm/xe: No permitir la expulsión de BOs en la misma VM en un array de enlaces de VM\n\nUn array de enlaces de VM puede potencialmente expulsar otros objetos de búfer (BOs) dentro de la misma VM bajo ciertas condiciones, lo que puede llevar a desreferencias de puntero NULL más tarde en la pipeline de enlace. Para evitar esto, borrar la bandera allow_res_evict en la llamada a xe_bo_validate.\n\nv2:\n - Invertir la polaridad de no_res_evict (Thomas)\n - Añadir comentario en el código explicando el problema (Thomas)\n\n(seleccionado de la confirmación 8b9ba8d6d95fe75fed6b0480bb03da4b321bea08)","source":"nvd"}],"published":"2025-10-30T09:47:56.005Z","modified":"2026-10-21T13:18:18.787Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"dd08ebf6c3525a7ea2186e636df064ea47281987","fixed":"d21087d083e6f324d69ee87c872a4cbb5bc4a48c","status":"affected"},{"type":"git","introduced":"dd08ebf6c3525a7ea2186e636df064ea47281987","fixed":"5aa0ab0ba7d94549cfe17d6ef7a4f33ba1de8384","status":"affected"},{"type":"git","introduced":"dd08ebf6c3525a7ea2186e636df064ea47281987","fixed":"7ac74613e5f2ef3450f44fd2127198662c2563a9","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.8","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.8","status":"unaffected"},{"type":"semver","introduced":"6.12.114","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.17.5","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/d21087d083e6f324d69ee87c872a4cbb5bc4a48c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5aa0ab0ba7d94549cfe17d6ef7a4f33ba1de8384","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/7ac74613e5f2ef3450f44fd2127198662c2563a9","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-40086","url":"https://www.cve.org/CVERecord?id=CVE-2025-40086","licence":"CVE Terms of Use","modified":"2026-10-21T12:37:46.403Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-40086","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40086","licence":"Public domain","modified":"2026-10-21T13:18:18.787Z"}],"updatedAt":"2026-11-25T22:59:07.028Z","epss":{"score":0.00227,"percentile":0.1438,"date":"2026-12-01T12:00:22.000Z"}}