CVE-2024-43863: drm/vmwgfx: Fix a deadlock in dma buf fence polling

Published Aug 20, 2024
·
Updated

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.

Other sources

This CVE was automatically created from a reference found in an email or other text. If you are reading this, then this CVE entry is probably erroneous, since this text should be replaced by the official CVE description automatically.

Launchpad

Affected Software

7 affected componentsFixes available
Linux Linux kernel>=3.18<5.15.165
Linux Linux kernel>=5.16<6.1.104
Linux Linux kernel>=6.2<6.6.45
Linux Linux kernel>=6.7<6.10.4
Linux Linux kernel=6.11-rc1
debian/linux<=5.10.223-1, <=5.10.234-1
6.1.129-16.1.135-16.12.25-16.12.27-1
debian/linux-6.1
6.1.129-1~deb11u1

Event History

Aug 20, 2024
CVE Published
via MITRE·11:45 PM
Data Sourced
via MITRE·11:45 PM
Description
Aug 21, 2024
Data Sourced
via NVD·12:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Feb 28, 2025
Data Sourced
via Launchpad·06:10 AM
Description
Apr 29, 2025
Data Sourced
via Ubuntu·06:23 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-43863?

CVE-2024-43863 has not been specifically assigned a CVSS score, so its severity may vary based on the environment.

2

How do I fix CVE-2024-43863?

To fix CVE-2024-43863, update the Linux kernel to a patched version available for the affected distributions.

3

Which versions of Linux Kernel are affected by CVE-2024-43863?

CVE-2024-43863 affects Linux Kernel versions from 3.18 up to but not including 6.11-rc1, with specific ranges noted.

4

Is CVE-2024-43863 a remote vulnerability?

CVE-2024-43863 does not explicitly categorize itself as a remote vulnerability, but its impact may depend on system configuration.

5

Can CVE-2024-43863 cause system crashes?

CVE-2024-43863 addresses a deadlock issue, so it has the potential to lead to system hangs or crashes if not mitigated.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203