GHSA-CMX2-MC37-WGJ4
Vulnerability from github – Published: 2026-11-20 06:32 – Updated: 2026-11-23 09:31In 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] [ 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.
{
"affected": [],
"aliases": [
"CVE-2026-99770"
],
"database_specific": {
"cwe_ids": [],
"github_reviewed": false,
"github_reviewed_at": null,
"nvd_published_at": "2026-11-20T06:18:15Z",
"severity": null
},
"details": "In the Linux kernel, the following vulnerability has been resolved:\n\ndrm/vc4: Publish the output fence outside of job_lock\n\njob_lock is taken by the V3D interrupt handler, so nesting an IRQ-unsafe\nlock under it creates an inversion. drm_syncobj_replace_fence() takes\ndrm_syncobj::lock, which other paths acquire with interrupts enabled. For\nexample, a thread interrupted while holding it blocks the handler on\njob_lock, and the handler can only make progress once the submit path\nreleases job_lock, which it cannot do while waiting for drm_syncobj::lock.\n\nThis is reported by lockdep:\n\n[ 188.139076] ========================================================\n[ 188.139086] WARNING: possible irq lock inversion dependency detected\n[ 188.139096] 7.3.0-rc3-00067-gc4f3feeaf60f #67 Tainted: G C\n[ 188.139108] --------------------------------------------------------\n[ 188.139116] swapper/0/0 just changed the state of lock:\n[ 188.139125] ffff0000054f8ff8 (\u0026vc4-\u003ejob_lock){-...}-{3:3}, at: vc4_irq+0xa8/0x28c [vc4]\n[ 188.139234] but this lock took another, HARDIRQ-unsafe lock in the past:\n[ 188.139242] (\u0026syncobj-\u003elock){+.+.}-{3:3}\n[ 188.139256] and interrupts could create inverse lock ordering between them.\n[ 188.139267] other info that might help us debug this:\n[ 188.139275] Possible interrupt unsafe locking scenario:\n[ 188.139284] CPU0 CPU1\n[ 188.139291] ---- ----\n[ 188.139299] lock(\u0026syncobj-\u003elock);\n[ 188.139312] local_irq_disable();\n[ 188.139320] lock(\u0026vc4-\u003ejob_lock);\n[ 188.139335] lock(\u0026syncobj-\u003elock);\n[ 188.139350] \u003cInterrupt\u003e\n[ 188.139358] lock(\u0026vc4-\u003ejob_lock);\n[ 188.139372] *** DEADLOCK ***\n\nHand the fence over after job_lock is dropped. The job can complete and\ndrop exec-\u003efence in that window, so take a reference first and publish\nthrough the local pointer, as exec may already be gone.",
"id": "GHSA-cmx2-mc37-wgj4",
"modified": "2026-11-23T09:31:03Z",
"published": "2026-11-20T06:32:10Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-99770"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/54c219a3de9439fa003b45500a7ea3ad5e2eb6a9"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/5dc3cdaee6c6ce7d20d508b9376604270ba07ceb"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/65592d2780b97d99829cdc27168b543f39d61358"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/6d60c8d840138e9858c45b0ce17076f4d2556633"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/7ab29cba85fb016c0921b7e22854a00117b05a1c"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/9ee552a42c3905b4547e83173d46413137ec329a"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/ceee27de7b9d8e9771c8ebda48b6836aa2c4466b"
},
{
"type": "WEB",
"url": "https://git.kernel.org/stable/c/e16cc0843946e998b6dc6c4b41fee8d9e324ccec"
}
],
"schema_version": "1.4.0",
"severity": []
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.