Skip to content
statance
MenuClose
high · CVSS 7.8

CVE-2026-99773

drm/drm_crtc: ensure dma_fence_ops remain valid during device unbind

Published 20 Nov 2026 · Source updated 23 Nov 2026 · Retrieved 2026-11-25 17:39 UTC

Monitor this CVE ↗Full CVE monitoring on Pro and Business

What happened?

In the Linux kernel, the following vulnerability has been resolved:

drm/drm_crtc: ensure dma_fence_ops remain valid during device unbind

In [1], sashiko reported the following issue:

=== snip === Looking at how these fences are managed, drm_crtc_create_fence() creates a dma_fence without taking a reference to the drm_device or drm_crtc. Because the sync_file framework exposes this fence to userspace, the fence can outlive the CRTC.

The dma_fence contract requires that data accessed by dma_fence_ops (like get_driver_name) must remain valid for an RCU grace period after the fence is signaled. However, drm_crtc_cleanup() and the subsequent freeing of the device do not wait for an RCU grace period via synchronize_rcu().

If userspace calls ioctl(SYNC_IOC_FILE_INFO) concurrently with a device hot-unplug:

CPU1 (Userspace) sync_file_get_name() ops = rcu_dereference(fence->ops); if (!dma_fence_test_signaled_flag()) // Preempted or delayed here

CPU2 (Driver Teardown) Signals the fence (setting fence->ops = NULL) Destroys and frees the CRTC without waiting for an RCU grace period

CPU1 (Resumes) ops->get_driver_name(fence) -> drm_crtc_fence_get_driver_name() crtc = fence_to_crtc(fence); // Casts to the freed CRTC return crtc->dev->driver->name; // Use-after-free

...

Does the CRTC or DRM device need to be kept alive for the RCU grace period, or should the fence hold a proper reference to prevent the use-after-free when get_driver_name() and get_timeline_name() access the freed CRTC structure? === snap ===

I believe this to be a correct observation and this patch implements the suggestion of waiting for an RCU grace period before proceeding with destruction of the drm_crtc, so that get_driver_name() and get_timeline_name() can still work.

Description supplied by CVE Program. Formatting is simplified; follow the original advisory for full details.

Affected software and versions

Source-provided software and version information
SoftwareVersion informationFixed version
LinuxLinuxaffected: 6d6003c4b613c93973e4e870d83f4bed2ad9ac34 to < 6b046b7132b194c73078d237e4220497516011dd; affected: 6d6003c4b613c93973e4e870d83f4bed2ad9ac34 to < 54c350d71a158f005c4613f32f1b0a57777d0a2a; affected: 6d6003c4b613c93973e4e870d83f4bed2ad9ac34 to < 1b0bfef4e31f3c02ed54de519b15b840d5dad804; affected: 6d6003c4b613c93973e4e870d83f4bed2ad9ac34 to < d07a8465cd50a78d55b745ed002d5accf4a6d0a6; affected: 6d6003c4b613c93973e4e870d83f4bed2ad9ac34 to < dd9a96b2271e28340acf2e3764914fe5f32f6102; affected: 6d6003c4b613c93973e4e870d83f4bed2ad9ac34 to < 07b2d7a3f2b984c20f5f2630a94f43ede387a8dc; affected: 6d6003c4b613c93973e4e870d83f4bed2ad9ac34 to < f8e6f4deb868fd9da3eda95db222609ab1edc18d; affected: 6d6003c4b613c93973e4e870d83f4bed2ad9ac34 to < 3be436cbd3d265fe4fcfbb5b650edad7b2108443See vendor advisory
LinuxLinuxaffected: 4.10; unaffected: 0 to < 4.10; unaffected: 5.10.275 to ≤ 5.10.*; unaffected: 5.15.226 to ≤ 5.15.*; unaffected: 6.1.193 to ≤ 6.1.*; unaffected: 6.6.163 to ≤ 6.6.*; unaffected: 6.12.118 to ≤ 6.12.*; unaffected: 6.18.64 to ≤ 6.18.*; unaffected: 7.3.5 to ≤ 7.3.*; unaffected: 7.4-rc2 to ≤ *See vendor advisory

Version information comes from the source record and can include unaffected products and exceptions. Distribution packages may contain backported fixes: an older upstream version alone does not prove a server is affected.

Is it being exploited?

This CVE was not listed in the CISA catalogue at our last retrieval. This does not establish that exploitation is absent.

CISA data retrieved 2026-11-26 13:33 UTC. Check CISA ↗

How to respond

  1. Confirm the product, installed package version, and any configuration requirements in the vendor advisory.
  2. Follow the vendor’s remediation or workaround guidance in the references below. Structured fixed-version data is unavailable here; the publisher’s description may include a fix or workaround.
  3. Restart affected services if required, then verify the running version. Known exploitation may warrant investigation as well as patching.

Sources and remediation references

This public advisory does not determine whether a particular server is affected. Records are refreshed as sources change; verify urgent decisions against the original advisory.

← Browse the public CVE feed