{"id":"CVE-2026-139362","summary":"irqchip/mips-gic: Fix recursive acquisition of gic_lock in gic_set_affinity()","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nirqchip/mips-gic: Fix recursive acquisition of gic_lock in gic_set_affinity()\n\nCommit 322a90638768 (\"irqchip/mips-gic: Multi-cluster support\")\nmade gic_set_affinity() call gic_set_type() when an interrupt's\naffinity is moved between clusters. gic_set_type() takes gic_lock with\nraw_spin_lock_irqsave(), but gic_set_affinity() holds gic_lock at that\npoint, so the same raw spinlock is acquired twice, triggering a deadlock.\n\nSplit gic_set_type() into a gic_set_type_locked() helper that assumes\ngic_lock is already held. gic_set_type() takes gic_lock and calls the\nhelper, and gic_set_affinity() calls gic_set_type_locked() directly,\nsince it already holds gic_lock.","modified":"2026-12-01T21:02:37.783449461Z","published":"2026-11-30T13:34:03.475Z","database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139362.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/1bae25dcc6beb8b874f23601d2efa142ac4f9f36"},{"type":"WEB","url":"https://git.kernel.org/stable/c/980c2ec09368ca226feda42edf0b41376098c844"},{"type":"WEB","url":"https://git.kernel.org/stable/c/e29e24e7b462a4edb9cd8d16ee47db14d333210c"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139362.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139362"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"322a9063876890895cb8308cc6f59de312e8aad5"},{"fixed":"e29e24e7b462a4edb9cd8d16ee47db14d333210c"},{"fixed":"980c2ec09368ca226feda42edf0b41376098c844"},{"fixed":"1bae25dcc6beb8b874f23601d2efa142ac4f9f36"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139362.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.18.65"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.3.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-139362.json"}}],"schema_version":"1.9.2"}