What’s Vulnerable › Vulnerabilities
CVE-2025-39740: drm/xe/migrate: prevent potential UAF
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-09-11 · updated 2026-10-19
- Weakness: CWE-416
Description
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 products
- Linux kernel: from 6.16 before 6.16.2; 6.17-rc1 — fixed in 6.16.2
How to fix
Upgrade to a fixed version: Linux kernel 6.16.2. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/145832fbdd17b1d77ffd6cdd1642259e101d1b7e
- https://git.kernel.org/stable/c/7e46fa64a4b94208563c3a5bf1d7f4346f94abea
Get alerted when CVE-2025-39740 or the next vulnerability affects your stack