Lock inversion in Linux kernel vc4 DRM driver can deadlock
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from CNA.
Summary
The drm/vc4 driver in the Linux kernel from 4.18 publishes an output fence while holding job_lock, a lock the V3D interrupt handler also takes. Nesting the IRQ-unsafe drm_syncobj lock under it creates a lock inversion that lockdep reports as a possible deadlock. The fix publishes the fence after job_lock is released, using a reference taken beforehand.
Written with Claude Haiku 5.5 from the sources below · 2026-11-23
Description from the CNA
In the Linux kernel, the following vulnerability has been resolved: drm/vc4: Publish the output fence outside of job_lock job_lock is taken by the V3D interrupt handler, so nesting an IRQ-unsafe lock under it creates an inversion. drm_syncobj_replace_fence() takes drm_syncobj::lock, which other paths acquire with interrupts enabled. For example, a thread interrupted while holding it blocks the handler on job_lock, and the handler can only make progress once the submit path releases job_lock, which it cannot do while waiting for drm_syncobj::lock. This is reported by lockdep: [ 188.139076] ======================================================== [ 188.139086] WARNING: possible irq lock inversion dependency detected [ 188.139096] 7.3.0-rc3-00067-gc4f3feeaf60f #67 Tainted: G C [ 188.139108] -------------------------------------------------------- [ 188.139116] swapper/0/0 just changed the state of lock: [ 188.139125] ffff0000054f8ff8 (&vc4->job_lock){-...}-{3:3}, at: vc4_irq+0xa8/0x28c [vc4] [ 188.139234] but this lock took another, HARDIRQ-unsafe lock in the past: [ 188.139242] (&syncobj->lock){+.+.}-{3:3} [ 188.139256] and interrupts could create inverse lock ordering between them. [ 188.139267] other info that might help us debug this: [ 188.139275] Possible interrupt unsafe locking scenario: [ 188.139284] CPU0 CPU1 [ 188.139291] ---- ---- [ 188.139299] lock(&syncobj->lock); [ 188.139312] local_irq_disable(); [ 188.139320] lock(&vc4->job_lock); [ 188.139335] lock(&syncobj->lock); [ 188.139350] <Interrupt> [ 188.139358] lock(&vc4->job_lock); [ 188.139372] *** DEADLOCK *** Hand the fence over after job_lock is dropped. The job can complete and drop exec->fence in that window, so take a reference first and publish through the local pointer, as exec may already be gone.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Linux | Linux | 4.18 and later | 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.118, 6.18.64, 7.3.5, 7.4-rc2 | Patch available | CNA |
- Linux VendorLinux Affected 4.18 and later Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.118, 6.18.64, 7.3.5, 7.4-rc2 Patch available CNA
Remediation
Update the Linux kernel to a fixed version for its branch: 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.118, 6.18.64, 7.3.5 or 7.4-rc2.
Written with Claude Haiku 5.5 from the sources below · 2026-11-23
- Fix · CNA Linux (Linux) Fixed in 5.10.275, 5.15.226, 6.1.193, 6.6.163, 6.12.118, 6.18.64, 7.3.5, 7.4-rc2
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
Not affected: 7 products
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat OpenShift Container Platform 4
- Red Hat OpenShift Container Platform 5
Timeline
- 2026-11-20 Threatist record created from CVE-2026-99770
- 2026-11-20 Alias added: GHSA-cmx2-mc37-wgj4
- 2026-11-20 Affected versions changed · Red Hat
- 2026-11-20 CVSS score added · Red Hat
- 2026-11-23 Fix available: Linux/[email protected], Linux/[email protected], Linux/Linux@5dc3cdaee6c6ce7d20d508b9376604270ba07ceb +5 · CNA
- 2026-11-23 4 new references · CNA
References
Other 8
- https://git.kernel.org/stable/c/7ab29cba85fb016c0921b7e22854a00117b05a1c
- https://git.kernel.org/stable/c/65592d2780b97d99829cdc27168b543f39d61358
- https://git.kernel.org/stable/c/6d60c8d840138e9858c45b0ce17076f4d2556633
- https://git.kernel.org/stable/c/5dc3cdaee6c6ce7d20d508b9376604270ba07ceb
- https://git.kernel.org/stable/c/54c219a3de9439fa003b45500a7ea3ad5e2eb6a9
- https://git.kernel.org/stable/c/ceee27de7b9d8e9771c8ebda48b6836aa2c4466b
- https://git.kernel.org/stable/c/e16cc0843946e998b6dc6c4b41fee8d9e324ccec
- https://git.kernel.org/stable/c/9ee552a42c3905b4547e83173d46413137ec329a
More Linux vulnerabilities
- TI-2025-26358 Zero-length TLS records mishandled on rx_list in Linux kernel KEVCVSS 3.1CRITICAL 9.8
- TI-2026-38352 Out-of-bounds write in Linux kernel ebtables SNAT ARP rewrite KEVCVSS 3.1HIGH 8.8
- TI-2021-02452 Overlayfs flaw in Linux kernel lets attackers gain elevated privileges KEVCVSS 3.1HIGH 8.8
- TI-2013-05264 Missing address checks in Linux kernel get_user and put_user on ARM KEVCVSS 3.1HIGH 8.8
- TI-2022-00125 Heap overflow in Linux kernel lets local users escalate privileges KEVCVSS 3.1HIGH 8.4
- TI-2013-01864 Wrong integer type in Linux kernel perf_swevent_init KEVCVSS 3.1HIGH 8.4
Sources
- CVE-2026-99770 · CVE Program
- CVE-2026-99770 · NVD
- FIRST EPSS
- GHSA-cmx2-mc37-wgj4 · GitHub Advisory Database · CC BY 4.0
- CVE-2026-99770 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences