CVE-2024-43863
"VMware Graphics DRM Deadlock"
Description
In the Linux kernel, the following vulnerability has been resolved: drm/vmwgfx: Fix a deadlock in dma buf fence polling Introduce a version of the fence ops that on release doesn't remove the fence from the pending list, and thus doesn't require a lock to fix poll->fence wait->fence unref deadlocks. vmwgfx overwrites the wait callback to iterate over the list of all fences and update their status, to do that it holds a lock to prevent the list modifcations from other threads. The fence destroy callback both deletes the fence and removes it from the list of pending fences, for which it holds a lock. dma buf polling cb unrefs a fence after it's been signaled: so the poll calls the wait, which signals the fences, which are being destroyed. The destruction tries to acquire the lock on the pending fences list which it can never get because it's held by the wait from which it was called. Old bug, but not a lot of userspace apps were using dma-buf polling interfaces. Fix those, in particular this fixes KDE stalls/deadlock.
INFO
Published Date :
Aug. 21, 2024, 12:15 a.m.
Last Modified :
Sept. 3, 2024, 1:42 p.m.
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
Remotely Exploitable :
No
Impact Score :
3.6
Exploitability Score :
1.8
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-43863
.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-43863
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-43863
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Sep. 03, 2024
Action Type Old Value New Value Added CVSS V3.1 NIST AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Changed Reference Type https://git.kernel.org/stable/c/3b933b16c996af8adb6bc1b5748a63dfb41a82bc No Types Assigned https://git.kernel.org/stable/c/3b933b16c996af8adb6bc1b5748a63dfb41a82bc Patch Changed Reference Type https://git.kernel.org/stable/c/9e20d028d8d1deb1e7fed18f22ffc01669cf3237 No Types Assigned https://git.kernel.org/stable/c/9e20d028d8d1deb1e7fed18f22ffc01669cf3237 Patch Changed Reference Type https://git.kernel.org/stable/c/a8943969f9ead2fd3044fc826140a21622ef830e No Types Assigned https://git.kernel.org/stable/c/a8943969f9ead2fd3044fc826140a21622ef830e Patch Changed Reference Type https://git.kernel.org/stable/c/c98ab18b9f315ff977c2c65d7c71298ef98be8e3 No Types Assigned https://git.kernel.org/stable/c/c98ab18b9f315ff977c2c65d7c71298ef98be8e3 Patch Changed Reference Type https://git.kernel.org/stable/c/e58337100721f3cc0c7424a18730e4f39844934f No Types Assigned https://git.kernel.org/stable/c/e58337100721f3cc0c7424a18730e4f39844934f Patch Added CWE NIST CWE-667 Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 3.18 up to (excluding) 5.15.165 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.104 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.45 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.10.4 *cpe:2.3:o:linux:linux_kernel:6.11:rc1:*:*:*:*:*:* -
CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Aug. 21, 2024
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: drm/vmwgfx: Fix a deadlock in dma buf fence polling Introduce a version of the fence ops that on release doesn't remove the fence from the pending list, and thus doesn't require a lock to fix poll->fence wait->fence unref deadlocks. vmwgfx overwrites the wait callback to iterate over the list of all fences and update their status, to do that it holds a lock to prevent the list modifcations from other threads. The fence destroy callback both deletes the fence and removes it from the list of pending fences, for which it holds a lock. dma buf polling cb unrefs a fence after it's been signaled: so the poll calls the wait, which signals the fences, which are being destroyed. The destruction tries to acquire the lock on the pending fences list which it can never get because it's held by the wait from which it was called. Old bug, but not a lot of userspace apps were using dma-buf polling interfaces. Fix those, in particular this fixes KDE stalls/deadlock. Added Reference kernel.org https://git.kernel.org/stable/c/9e20d028d8d1deb1e7fed18f22ffc01669cf3237 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/3b933b16c996af8adb6bc1b5748a63dfb41a82bc [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/a8943969f9ead2fd3044fc826140a21622ef830e [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/c98ab18b9f315ff977c2c65d7c71298ef98be8e3 [No types assigned] Added Reference kernel.org https://git.kernel.org/stable/c/e58337100721f3cc0c7424a18730e4f39844934f [No types assigned]
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-43863
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-43863
weaknesses.