CVE-2025-39740

published 11 Sep 2025 · updated 5 Aug 2026

drm/xe/migrate: prevent potential UAF

7.8HighCVSS 7.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 145832fbdd17b1d77ffd6cdd1642259e101d1b7e and Kernel 7e46fa64a4b94208563c3a5bf1d7f4346f94abea.

In the Linux kernel, the following vulnerability has been resolved: drm/xe/migrate: prevent potential UAF If we hit the error path, the previous fence (if there is one) has already been put() prior to this, so doing a fence_wait could lead to UAF. Tweak the flow to do to the put() until after we do the wait. (cherry picked from commit 9b7ca35ed28fe5fad86e9d9c24ebd1271e4c9c3e)

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=6.16, >=270172f64b114451876c1b68912653e72ab99f38 <145832fbdd17b1d77ffd6cdd1642259e101d1b7e, >=270172f64b114451876c1b68912653e72ab99f38 <7e46fa64a4b94208563c3a5bf1d7f4346f94abea145832fbdd17b1d77ffd6cdd1642259e101d1b7e, 7e46fa64a4b94208563c3a5bf1d7f4346f94abea

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-39740 severity on Zeptric[![CVE-2025-39740](https://zeptric.io/badge/cve/CVE-2025-39740.svg)](https://zeptric.io/cve/CVE-2025-39740)