CVE-2024-43863
Severity CVSS v4.0:
Pending analysis
Type:
Unavailable / Other
Publication date:
21/08/2024
Last modified:
03/11/2025
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
drm/vmwgfx: Fix a deadlock in dma buf fence polling<br />
<br />
Introduce a version of the fence ops that on release doesn&#39;t remove<br />
the fence from the pending list, and thus doesn&#39;t require a lock to<br />
fix poll->fence wait->fence unref deadlocks.<br />
<br />
vmwgfx overwrites the wait callback to iterate over the list of all<br />
fences and update their status, to do that it holds a lock to prevent<br />
the list modifcations from other threads. The fence destroy callback<br />
both deletes the fence and removes it from the list of pending<br />
fences, for which it holds a lock.<br />
<br />
dma buf polling cb unrefs a fence after it&#39;s been signaled: so the poll<br />
calls the wait, which signals the fences, which are being destroyed.<br />
The destruction tries to acquire the lock on the pending fences list<br />
which it can never get because it&#39;s held by the wait from which it<br />
was called.<br />
<br />
Old bug, but not a lot of userspace apps were using dma-buf polling<br />
interfaces. Fix those, in particular this fixes KDE stalls/deadlock.
Impact
Base Score 3.x
5.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 3.18 (including) | 5.15.165 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.16 (including) | 6.1.104 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.2 (including) | 6.6.45 (excluding) |
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 6.7 (including) | 6.10.4 (excluding) |
| cpe:2.3:o:linux:linux_kernel:6.11:rc1:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- https://git.kernel.org/stable/c/3b933b16c996af8adb6bc1b5748a63dfb41a82bc
- https://git.kernel.org/stable/c/9908dc0d2ef0e4aec8a242c098455729c0e2f017
- https://git.kernel.org/stable/c/9e20d028d8d1deb1e7fed18f22ffc01669cf3237
- https://git.kernel.org/stable/c/a8943969f9ead2fd3044fc826140a21622ef830e
- https://git.kernel.org/stable/c/c98ab18b9f315ff977c2c65d7c71298ef98be8e3
- https://git.kernel.org/stable/c/e58337100721f3cc0c7424a18730e4f39844934f
- https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
- https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html



