Linux kernel: drm/vmwgfx: Fix a deadlock in dma buf fence polling
Overview
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.
- Published
- 8/21/2024
- Last modified
- 6/17/2026
- CVE assigner
- Not available
- NVD analysis
- Not available
Exploitation
No CISA KEV flag in the saved record
An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.
EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare
Affected products
Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.
| Vendor / product | Affected versions | Platform / conditions | Evidence |
|---|---|---|---|
linux kernel linux | ≥ 3.18, < 5.15.165 | Verify advisory | Source |
linux kernel linux | ≥ 5.16, < 6.1.104 | Verify advisory | Source |
linux kernel linux | ≥ 6.2, < 6.6.45 | Verify advisory | Source |
linux kernel linux | ≥ 6.7, < 6.10.4 | Verify advisory | Source |
linux kernel linux | 6.11 | Verify advisory The advisory has platform, edition, hardware, or configuration conditions not verified by software inventory. | Source |
Linux Linux | ≥ 2298e804e96eb3635c39519c8287befd92460303, < 9908dc0d2ef0e4aec8a242c098455729c0e2f017 | Verify advisory | Source |
Linux Linux | ≥ 2298e804e96eb3635c39519c8287befd92460303, < 9e20d028d8d1deb1e7fed18f22ffc01669cf3237 | Verify advisory | Source |
Linux Linux | ≥ 2298e804e96eb3635c39519c8287befd92460303, < 3b933b16c996af8adb6bc1b5748a63dfb41a82bc | Verify advisory | Source |
Linux Linux | ≥ 2298e804e96eb3635c39519c8287befd92460303, < a8943969f9ead2fd3044fc826140a21622ef830e | Verify advisory | Source |
Linux Linux | ≥ 2298e804e96eb3635c39519c8287befd92460303, < c98ab18b9f315ff977c2c65d7c71298ef98be8e3 | Verify advisory | Source |
Linux Linux | ≥ 2298e804e96eb3635c39519c8287befd92460303, < e58337100721f3cc0c7424a18730e4f39844934f | Verify advisory | Source |
Linux Linux | 3.18 | Verify advisory | Source |
Recommended actions
Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.
Vendor advisory links
Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.
Severity
CVSS describes technical impact. It is separate from exploitation evidence.
Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.
Sources & references
Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.