{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "a79ac2cdc91d6be3010f2e9a3b2a2ccfc26e2086"
            },
            {
              "fixed": "d4e9b82ddc6fded1bbcc0b7453fce6b06738ff0b"
            },
            {
              "fixed": "1d9f1c71725d3e18ee4f2351bde68fff1d0c3f57"
            },
            {
              "fixed": "1c1e2d90aa452764df66bb1dd774aa0d06d89cc8"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.18.0"
            },
            {
              "fixed": "6.18.63"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.19.0"
            },
            {
              "fixed": "7.3.4"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138935.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\ni3c: master: adi: free the IRQ before unregistering the master\n\nadi_i3c_master_irq() is requested with devm_request_irq(), so it stays\nregistered when adi_i3c_master_remove() runs, and the writes masking the\ncontroller IRQ sources do not synchronize with a handler that is already\nrunning on another CPU. i3c_master_unregister() then frees the\nstruct i3c_dev_desc objects that master-\u003eibi.slots[] still point to, so\nthe IBI path in adi_i3c_master_handle_ibi() can dereference freed memory.\n\nFix this by storing the IRQ number in the private structure and calling\ndevm_free_irq() after the IRQ sources are masked, so a running handler\nis finished before the master is torn down.\n\nThis issue was found by an in-house static analysis tool.",
  "id": "CVE-2026-138935",
  "modified": "2026-12-01T20:45:43.963895621Z",
  "published": "2026-11-30T13:26:21.053Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/1c1e2d90aa452764df66bb1dd774aa0d06d89cc8"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/1d9f1c71725d3e18ee4f2351bde68fff1d0c3f57"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/d4e9b82ddc6fded1bbcc0b7453fce6b06738ff0b"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138935.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-138935"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "i3c: master: adi: free the IRQ before unregistering the master"
}