{"id":"CVE-2025-39740","published":"2025-09-11T16:52:14Z","modified":"2026-08-05T12:04:57Z","title":"drm/xe/migrate: prevent potential UAF","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/xe/migrate: prevent potential UAF\n\nIf we hit the error path, the previous fence (if there is one) has\nalready been put() prior to this, so doing a fence_wait could lead to\nUAF. Tweak the flow to do to the put() until after we do the wait.\n\n(cherry picked from commit 9b7ca35ed28fe5fad86e9d9c24ebd1271e4c9c3e)","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00157,"percentile":0.04799,"provenance":"source"},"cwes":[],"references":[{"url":"https://git.kernel.org/stable/c/7e46fa64a4b94208563c3a5bf1d7f4346f94abea","tags":[]},{"url":"https://git.kernel.org/stable/c/145832fbdd17b1d77ffd6cdd1642259e101d1b7e","tags":[]}],"priority":{"score":6.4,"factors":[{"name":"EPSS percentile","points":0.96},{"name":"CVSS severity","points":5.46}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 270172f64b114451876c1b68912653e72ab99f38, < 7e46fa64a4b94208563c3a5bf1d7f4346f94abea",">= 270172f64b114451876c1b68912653e72ab99f38, < 145832fbdd17b1d77ffd6cdd1642259e101d1b7e"]},{"vendor":"Linux","product":"Linux","versions":["6.16"]}],"euvd":{"id":"EUVD-2025-28971","exploited":false,"provenance":"source"}}