Home

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)

PUBLISHED Reserved 2025-04-16 | Published 2025-09-11 | Updated 2025-09-29 | Assigner Linux

Product status

Default status
unaffected

270172f64b114451876c1b68912653e72ab99f38 (git) before 7e46fa64a4b94208563c3a5bf1d7f4346f94abea
affected

270172f64b114451876c1b68912653e72ab99f38 (git) before 145832fbdd17b1d77ffd6cdd1642259e101d1b7e
affected

Default status
affected

6.16
affected

Any version before 6.16
unaffected

6.16.2 (semver)
unaffected

6.17 (original_commit_for_fix)
unaffected

References

git.kernel.org/...c/7e46fa64a4b94208563c3a5bf1d7f4346f94abea

git.kernel.org/...c/145832fbdd17b1d77ffd6cdd1642259e101d1b7e

cve.org (CVE-2025-39740)

nvd.nist.gov (CVE-2025-39740)

Download JSON