CVE-2024-43863

drm/vmwgfx: Fix a deadlock in dma buf fence polling

MEDIUM
5.5
CVSS Score
Published: August 20, 2024 at 11:45 PM UTC
Updated: June 17, 2026 at 07:51 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

3.18 ≤ v < 5.10.2383.18 ≤ v < 5.15.1653.18 ≤ v < 6.1.1043.18 ≤ v < 6.10.43.18 ≤ v < 6.113.18 ≤ v < 6.6.455.16 ≤ v < 6.1.1046.2 ≤ v < 6.6.456.7 ≤ v < 6.10.42298e804e96eb3635c39519c8287befd924603036.11 rc1
Vendor states this is fixed in 3b933b16c996af8adb6bc1b5748a63dfb41a82bc (fixed)
Vendor states this is fixed in 9908dc0d2ef0e4aec8a242c098455729c0e2f017 (fixed)
Vendor states this is fixed in 9e20d028d8d1deb1e7fed18f22ffc01669cf3237 (fixed)
Vendor states this is fixed in a8943969f9ead2fd3044fc826140a21622ef830e (fixed)
Vendor states this is fixed in c98ab18b9f315ff977c2c65d7c71298ef98be8e3 (fixed)
Vendor states this is fixed in e58337100721f3cc0c7424a18730e4f39844934f (fixed)
Vendor states this is fixed in 3.18 (unaffected)
Vendor states this is fixed in 5.10.238 (unaffected)
Vendor states this is fixed in 5.15.165 (unaffected)
Vendor states this is fixed in 6.1.104 (unaffected)
Vendor states this is fixed in 6.10.4 (unaffected)
Vendor states this is fixed in 6.11 (unaffected)
Vendor states this is fixed in 6.6.45 (unaffected)

References (8)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/3b933b16c996af8adb6bc1b5748a63dfb41a82bc
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/9e20d028d8d1deb1e7fed18f22ffc01669cf3237
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/a8943969f9ead2fd3044fc826140a21622ef830e
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/c98ab18b9f315ff977c2c65d7c71298ef98be8e3
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/e58337100721f3cc0c7424a18730e4f39844934f
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html
Source: af854a3a-2127-422b-91ae-364da2661108
https://lists.debian.org/debian-lts-announce/2025/10/msg00007.html

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-667

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card