Linux
drm/xe/migrate: prevent potential UAF
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 versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 270172f64b114451876c1b68912653e72ab99f38, < 7e46fa64a4b94208563c3a5bf1d7f4346f94abea
- >= 270172f64b114451876c1b68912653e72ab99f38, < 145832fbdd17b1d77ffd6cdd1642259e101d1b7e
Fixed in 7e46fa64a4b94208563c3a5bf1d7f4346f94abea, 145832fbdd17b1d77ffd6cdd1642259e101d1b7e
- 6.16
Fixed in 0, 6.16.2, 6.17
Mitigation
Upgrade Linux to 7e46fa64a4b94208563c3a5bf1d7f4346f94abea or 145832fbdd17b1d77ffd6cdd1642259e101d1b7e or later.
Upgrade Linux to 0 or 6.16.2 or 6.17 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.