CVE-2024-50030

Severity CVSS v4.0:
Pending analysis
Type:
CWE-416 Use After Free
Publication date:
21/10/2024
Last modified:
25/10/2024

Description

In the Linux kernel, the following vulnerability has been resolved:<br /> <br /> drm/xe/ct: prevent UAF in send_recv()<br /> <br /> Ensure we serialize with completion side to prevent UAF with fence going<br /> out of scope on the stack, since we have no clue if it will fire after<br /> the timeout before we can erase from the xa. Also we have some dependent<br /> loads and stores for which we need the correct ordering, and we lack the<br /> needed barriers. Fix this by grabbing the ct-&gt;lock after the wait, which<br /> is also held by the completion side.<br /> <br /> v2 (Badal):<br /> - Also print done after acquiring the lock and seeing timeout.<br /> <br /> (cherry picked from commit 52789ce35c55ccd30c4b67b9cc5b2af55e0122ea)

Vulnerable products and versions

CPE From Up to
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* 6.8 (including) 6.11.4 (excluding)
cpe:2.3:o:linux:linux_kernel:6.12:rc1:*:*:*:*:*:*
cpe:2.3:o:linux:linux_kernel:6.12:rc2:*:*:*:*:*:*