{"id":"CVE-2026-99770","aliases":[],"title":"drm/vc4: Publish the output fence outside of job_lock","originalDescription":"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.","severity":{"cvss":null,"vector":null,"label":null},"exploitation":{"kev":null,"epss":{"score":0.00165,"percentile":0.05953},"exploitDb":null},"affected":[{"ecosystem":"Linux","name":"Kernel","range":">=4.18.0, <5.10.275","fixed":"5.10.275"},{"ecosystem":"Linux","name":"Kernel","range":">=4.18.0, <6.12.118","fixed":"6.12.118"},{"ecosystem":"Linux","name":"Kernel","range":">=5.11.0, <5.15.226","fixed":"5.15.226"},{"ecosystem":"Linux","name":"Kernel","range":">=5.16.0, <6.1.193","fixed":"6.1.193"},{"ecosystem":"Linux","name":"Kernel","range":">=6.13.0, <6.18.64","fixed":"6.18.64"},{"ecosystem":"Linux","name":"Kernel","range":">=6.19.0, <7.3.5","fixed":"7.3.5"},{"ecosystem":"Linux","name":"Kernel","range":">=6.2.0, <6.6.163","fixed":"6.6.163"},{"ecosystem":"Linux","name":"Kernel","range":">=6.7.0, <6.12.118","fixed":"6.12.118"},{"ecosystem":"vendor","name":"Linux","range":">=e84fcb95e07442edd7ce3b13973523646dbc581a, <54c219a3de9439fa003b45500a7ea3ad5e2eb6a9","fixed":"54c219a3de9439fa003b45500a7ea3ad5e2eb6a9"},{"ecosystem":"vendor","name":"Linux","range":">=e84fcb95e07442edd7ce3b13973523646dbc581a, <5dc3cdaee6c6ce7d20d508b9376604270ba07ceb","fixed":"5dc3cdaee6c6ce7d20d508b9376604270ba07ceb"},{"ecosystem":"vendor","name":"Linux","range":">=e84fcb95e07442edd7ce3b13973523646dbc581a, <65592d2780b97d99829cdc27168b543f39d61358","fixed":"65592d2780b97d99829cdc27168b543f39d61358"},{"ecosystem":"vendor","name":"Linux","range":">=e84fcb95e07442edd7ce3b13973523646dbc581a, <6d60c8d840138e9858c45b0ce17076f4d2556633","fixed":"6d60c8d840138e9858c45b0ce17076f4d2556633"},{"ecosystem":"vendor","name":"Linux","range":">=e84fcb95e07442edd7ce3b13973523646dbc581a, <7ab29cba85fb016c0921b7e22854a00117b05a1c","fixed":"7ab29cba85fb016c0921b7e22854a00117b05a1c"},{"ecosystem":"vendor","name":"Linux","range":">=e84fcb95e07442edd7ce3b13973523646dbc581a, <9ee552a42c3905b4547e83173d46413137ec329a","fixed":"9ee552a42c3905b4547e83173d46413137ec329a"},{"ecosystem":"vendor","name":"Linux","range":">=e84fcb95e07442edd7ce3b13973523646dbc581a, <ceee27de7b9d8e9771c8ebda48b6836aa2c4466b","fixed":"ceee27de7b9d8e9771c8ebda48b6836aa2c4466b"},{"ecosystem":"vendor","name":"Linux","range":">=e84fcb95e07442edd7ce3b13973523646dbc581a, <e16cc0843946e998b6dc6c4b41fee8d9e324ccec","fixed":"e16cc0843946e998b6dc6c4b41fee8d9e324ccec"}],"references":[{"url":"https://git.kernel.org/stable/c/54c219a3de9439fa003b45500a7ea3ad5e2eb6a9","type":"other"},{"url":"https://git.kernel.org/stable/c/ceee27de7b9d8e9771c8ebda48b6836aa2c4466b","type":"other"},{"url":"https://git.kernel.org/stable/c/e16cc0843946e998b6dc6c4b41fee8d9e324ccec","type":"other"},{"url":"https://git.kernel.org/stable/c/9ee552a42c3905b4547e83173d46413137ec329a","type":"other"},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","type":"package"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/99xxx/CVE-2026-99770.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99770","type":"advisory"},{"url":"https://git.kernel.org/stable/c/7ab29cba85fb016c0921b7e22854a00117b05a1c","type":"other"},{"url":"https://git.kernel.org/stable/c/65592d2780b97d99829cdc27168b543f39d61358","type":"other"},{"url":"https://git.kernel.org/stable/c/6d60c8d840138e9858c45b0ce17076f4d2556633","type":"other"},{"url":"https://git.kernel.org/stable/c/5dc3cdaee6c6ce7d20d508b9376604270ba07ceb","type":"other"}],"sources":[{"name":"nvd","at":"2026-11-23T08:46:27.640Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-99770","license":"NVD terms of use","firstSeenAt":"2026-11-20T06:30:46.413Z"},{"name":"osv","at":"2026-11-23T10:59:12.275Z","url":"https://osv.dev/vulnerability/CVE-2026-99770","license":"CC-BY 4.0","firstSeenAt":"2026-11-20T07:04:02.347Z"},{"name":"cvelistV5","at":"2026-11-23T21:31:00.031Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-99770","license":"CVE Terms of Use","firstSeenAt":"2026-11-20T06:28:17.129Z"}],"firstSeenAt":"2026-11-20T06:28:17.129Z","publishedAt":"2026-11-20T05:51:35.728Z","modifiedAt":"2026-11-23T10:02:15.849Z"}