CVE-2024-50144: drm/xe: fix unbalanced rpm put() with fence_fini()
In the Linux kernel, the following vulnerability has been resolved:
drm/xe: fix unbalanced rpm put() with fencefini()
Currently we can call fencefini() twice if something goes wrong when sending the GuC CT for the tlb request, since we signal the fence and return an error, leading to the caller also calling fini() on the error path in the case of stack version of the flow, which leads to an extra rpm put() which might later cause device to enter suspend when it shouldn't. It looks like we can just drop the fini() call since the fence signaller side will already call this for us.
There are known mysterious splats with device going to sleep even with an rpm ref, and this could be one candidate.
v2 (Matt B): - Prefer warning if we detect double fini()
(cherry picked from commit cfcbc0520d5055825f0647ab922b655688605183)
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-50144?
CVE-2024-50144 is classified as a medium severity vulnerability in the Linux kernel.
How do I fix CVE-2024-50144?
To fix CVE-2024-50144, update to the patched versions of the Linux kernel, specifically 5.10.223-1, 5.10.226-1, 6.1.123-1, 6.1.128-1, 6.12.12-1, or 6.12.15-1.
What systems are affected by CVE-2024-50144?
CVE-2024-50144 affects various versions of the Linux kernel, specifically versions between 6.11 and 6.12-rc3.
What kind of attacks can exploit CVE-2024-50144?
CVE-2024-50144 could potentially allow local attackers to manipulate kernel memory management, leading to system instability.
Is there a workaround for CVE-2024-50144 if I cannot upgrade?
There are no specific workarounds mentioned for CVE-2024-50144, so upgrading is the recommended action to mitigate the vulnerability.