{"id":"CVE-2026-99770","aliases":["CVE-2026-99770"],"related":[],"kind":"vulnerability","state":"published","title":"drm/vc4: Publish the output fence outside of job_lock","summary":"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 (&vc4->job_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]  (&syncobj->lock){+.+.}-{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(&syncobj->lock);\n[  188.139312]                                local_irq_disable();\n[  188.139320]                                lock(&vc4->job_lock);\n[  188.139335]                                lock(&syncobj->lock);\n[  188.139350]   <Interrupt>\n[  188.139358]     lock(&vc4->job_lock);\n[  188.139372] *** DEADLOCK ***\n\nHand the fence over after job_lock is dropped. The job can complete and\ndrop exec->fence in that window, so take a reference first and publish\nthrough the local pointer, as exec may already be gone.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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 (&vc4->job_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]  (&syncobj->lock){+.+.}-{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(&syncobj->lock);\n[  188.139312]                                local_irq_disable();\n[  188.139320]                                lock(&vc4->job_lock);\n[  188.139335]                                lock(&syncobj->lock);\n[  188.139350]   <Interrupt>\n[  188.139358]     lock(&vc4->job_lock);\n[  188.139372] *** DEADLOCK ***\n\nHand the fence over after job_lock is dropped. The job can complete and\ndrop exec->fence in that window, so take a reference first and publish\nthrough the local pointer, as exec may already be gone.","source":"cvelist"}],"published":"2026-11-20T05:51:35.728Z","modified":"2026-11-23T08:18:18.290Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"e84fcb95e07442edd7ce3b13973523646dbc581a","fixed":"7ab29cba85fb016c0921b7e22854a00117b05a1c","status":"affected"},{"type":"git","introduced":"e84fcb95e07442edd7ce3b13973523646dbc581a","fixed":"65592d2780b97d99829cdc27168b543f39d61358","status":"affected"},{"type":"git","introduced":"e84fcb95e07442edd7ce3b13973523646dbc581a","fixed":"6d60c8d840138e9858c45b0ce17076f4d2556633","status":"affected"},{"type":"git","introduced":"e84fcb95e07442edd7ce3b13973523646dbc581a","fixed":"5dc3cdaee6c6ce7d20d508b9376604270ba07ceb","status":"affected"},{"type":"git","introduced":"e84fcb95e07442edd7ce3b13973523646dbc581a","fixed":"54c219a3de9439fa003b45500a7ea3ad5e2eb6a9","status":"affected"},{"type":"git","introduced":"e84fcb95e07442edd7ce3b13973523646dbc581a","fixed":"ceee27de7b9d8e9771c8ebda48b6836aa2c4466b","status":"affected"},{"type":"git","introduced":"e84fcb95e07442edd7ce3b13973523646dbc581a","fixed":"e16cc0843946e998b6dc6c4b41fee8d9e324ccec","status":"affected"},{"type":"git","introduced":"e84fcb95e07442edd7ce3b13973523646dbc581a","fixed":"9ee552a42c3905b4547e83173d46413137ec329a","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.18","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.18","status":"unaffected"},{"type":"semver","introduced":"5.10.275","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.226","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.193","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.163","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.118","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.64","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.3.5","lastAffected":"7.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.4-rc2","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/7ab29cba85fb016c0921b7e22854a00117b05a1c","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/65592d2780b97d99829cdc27168b543f39d61358","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6d60c8d840138e9858c45b0ce17076f4d2556633","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/5dc3cdaee6c6ce7d20d508b9376604270ba07ceb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/54c219a3de9439fa003b45500a7ea3ad5e2eb6a9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/ceee27de7b9d8e9771c8ebda48b6836aa2c4466b","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e16cc0843946e998b6dc6c4b41fee8d9e324ccec","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9ee552a42c3905b4547e83173d46413137ec329a","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-99770","url":"https://www.cve.org/CVERecord?id=CVE-2026-99770","licence":"CVE Terms of Use","modified":"2026-11-23T08:07:15.149Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-99770","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99770","licence":"Public domain","modified":"2026-11-23T08:18:18.290Z"}],"updatedAt":"2026-11-25T22:59:52.340Z","epss":{"score":0.00165,"percentile":0.05971,"date":"2026-12-01T12:00:22.000Z"}}