SecurityContext

CVE-2026-99773: Linux Kernel - Use-After-Free

  • Cve: CVE-2026-99773
  • Name: Linux Kernel - Use-After-Free
  • Description: 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.
  • Impact: Local attackers can cause use-after-free, potentially leading to memory corruption, privilege escalation, or denial of service.
  • Remediation: Update to the latest kernel version containing the fix that waits for an RCU grace period before destroying the CRTC.
  • Vulnerability type: use_after_free
  • Vulnerability impact: denial_of_service, privilege_escalation
  • Requirements: Attacker needs ability to trigger device hot-unplug and concurrent ioctl(SYNC_IOC_FILE_INFO)
  • Labels source: securitycontext
  • Severity: high
  • Cvss score: 7.8
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.00152
  • Epss percentile: 0.04306
  • Assignee: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
  • Published at: 2026-11-20T06:18:16Z
  • Age in days: 4
  • Modified at: 2026-11-23T08:18:18Z
  • Patch available: yes
  • References total: 8
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-99773
  • Nvd status: received
  • Checked, none or zero: cwe, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirement type, hackerone

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://git.kernel.org/stable/c/07b2d7a3f2b984c20f5f2630a94f43ede387a8dc
https://git.kernel.org/stable/c/1b0bfef4e31f3c02ed54de519b15b840d5dad804
https://git.kernel.org/stable/c/3be436cbd3d265fe4fcfbb5b650edad7b2108443
https://git.kernel.org/stable/c/54c350d71a158f005c4613f32f1b0a57777d0a2a
https://git.kernel.org/stable/c/6b046b7132b194c73078d237e4220497516011dd
https://git.kernel.org/stable/c/d07a8465cd50a78d55b745ed002d5accf4a6d0a6
https://git.kernel.org/stable/c/dd9a96b2271e28340acf2e3764914fe5f32f6102
https://git.kernel.org/stable/c/f8e6f4deb868fd9da3eda95db222609ab1edc18d

Products

ProductAffectedPlatform boundSourcesUrl
linux:linux_kernel>= 4.10, < 7.4-rc2; >= 4.10, < 7.3.5; >= 4.10, < 6.18.64; >= 4.10, < 6.12.118; >= 4.10, < 6.6.163; >= 4.10, < 6.1.193; >= 4.10, < 5.15.226; >= 4.10, < 5.10.275nocna/v1/products/linux/linux_kernel

Projects

RepositoryLink kindsIndexedUrl
torvalds/linuxcna_commit, commityes/v1/repositories/torvalds/linux

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • Exposed hosts: 10038339
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports