We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.

Please see our statement on Data Privacy.

Crisp.chat (Helpdesk and Chat)

Ok

THREATINT
PUBLISHED

CVE-2024-49943

drm/xe/guc_submit: add missing locking in wedged_fini



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)

Reserved 2024-10-21 | Published 2024-10-21 | Updated 2024-11-19 | Assigner Linux

Product status

Default status
unaffected

8ed9aaae39f3 before d88f9bab7e62
affected

8ed9aaae39f3 before 790533e44bfc
affected

Default status
affected

6.11
affected

Any version before 6.11
unaffected

6.11.3
unaffected

6.12
unaffected

References

git.kernel.org/...c/d88f9bab7e62dd0dbe983fa70cf040042a60cc84

git.kernel.org/...c/790533e44bfc7af929842fccd9674c9f424d4627

cve.org (CVE-2024-49943)

nvd.nist.gov (CVE-2024-49943)

Download JSON

Share this page
https://cve.threatint.com/CVE/CVE-2024-49943

Support options

Helpdesk Chat, Email, Knowledgebase
Telegram Chat
Subscribe to our newsletter to learn more about our work.