{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "bdbe1cac0c10a50eaf5ba1472429f6d721dffba4"
            },
            {
              "fixed": "c45a2271619a3e6e56a5040dfc924b868b68cb04"
            },
            {
              "fixed": "46c2a699e74cdb2ecc675a5c865e67cd9971c6c3"
            },
            {
              "fixed": "428e6f95e685a06a73868aee95dd94dca7b3a027"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "6.15.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-139586.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nmedia: iris: take core lock when scanning the instance list\n\niris_check_session_supported() walks core-\u003einstances to confirm the\ncurrent instance is registered, but does so without holding core-\u003elock.\nA concurrent iris_close() takes core-\u003elock and removes a (possibly\ndifferent) instance from the list via list_del_init() before freeing it,\nso the lockless traversal can follow a freed pointer and dereference it,\nresulting in a use-after-free.\n\nHold core-\u003elock across the list traversal, matching the other iterators\nover core-\u003einstances such as iris_check_core_mbpf(). The lock is dropped\nbefore iris_check_core_mbpf() is called so the nesting is unchanged.",
  "id": "CVE-2026-139586",
  "modified": "2026-12-01T20:45:30.493623079Z",
  "published": "2026-11-30T13:36:07.528Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/428e6f95e685a06a73868aee95dd94dca7b3a027"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/46c2a699e74cdb2ecc675a5c865e67cd9971c6c3"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/c45a2271619a3e6e56a5040dfc924b868b68cb04"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139586.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139586"
    },
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "media: iris: take core lock when scanning the instance list"
}