{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "322a9063876890895cb8308cc6f59de312e8aad5"
            },
            {
              "fixed": "e29e24e7b462a4edb9cd8d16ee47db14d333210c"
            },
            {
              "fixed": "980c2ec09368ca226feda42edf0b41376098c844"
            },
            {
              "fixed": "1bae25dcc6beb8b874f23601d2efa142ac4f9f36"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.13.0"
            },
            {
              "fixed": "6.18.65"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.6"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139362.json"
  },
  "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.",
  "id": "CVE-2026-139362",
  "modified": "2026-12-01T20:46:07.468892995Z",
  "published": "2026-11-30T13:34:03.475Z",
  "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"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "irqchip/mips-gic: Fix recursive acquisition of gic_lock in gic_set_affinity()"
}