Description
In the Linux kernel, the following vulnerability has been resolved: drm/xe/guc_submit: add missing locking in wedged_fini Any non-wedged queue can have a zero refcount here and can be running concurrently with an async queue destroy, therefore dereferencing the queue ptr to check wedge status after the lookup can trigger UAF if queue is not wedged. Fix this by keeping the submission_state lock held around the check to postpone the free and make the check safe, before dropping again around the put() to avoid the deadlock. (cherry picked from commit d28af0b6b9580b9f90c265a7da0315b0ad20bbfd)
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
8ed9aaae39f39130b7a3eb2726be05d7f64b344c to < d88f9bab7e62dd0dbe983fa70cf040042a60cc84affected8ed9aaae39f39130b7a3eb2726be05d7f64b344c to < 790533e44bfc7af929842fccd9674c9f424d4627affected
Linux Linux
Default version status: affected
6.11affected0 to < 6.11unaffected6.11.3 to ≤ 6.11.*unaffected6.12 to ≤ *unaffected