{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "ad0d05dbddc1bf86e92220fea873176de6b12f78"
            },
            {
              "fixed": "0c7429cb66aea8c37dd5200721910fd39327f26a"
            },
            {
              "fixed": "ef9cac5ed4c982ac2f9983de6f1d25b391a8ae19"
            },
            {
              "fixed": "10b249e9b05eed0c4c65b9b89dfc2cf33d68d19a"
            }
          ],
          "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.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-139118.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nblk-mq: free the bitmaps of tags in the SRCU callback\n\nCommit ad0d05dbddc1 keeps struct blk_mq_tags and the requests until the\niterators under tags_srcu are gone, but the two bitmaps they walk are\nstill freed right away. When the number of hardware queues shrinks,\nblk_mq_tagset_busy_iter() may be about to walk tags that\n__blk_mq_update_nr_hw_queues() frees. sbitmap_free() clears the map\npointer, so that's a NULL dereference or a use-after-free, depending on\nthe timing.\n\nFree the bitmaps with the rest in the callback.",
  "id": "CVE-2026-139118",
  "modified": "2026-11-30T14:45:18.550880882Z",
  "published": "2026-11-30T13:31:44.894Z",
  "references": [
    {
      "type": "PACKAGE",
      "url": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/0c7429cb66aea8c37dd5200721910fd39327f26a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/10b249e9b05eed0c4c65b9b89dfc2cf33d68d19a"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/ef9cac5ed4c982ac2f9983de6f1d25b391a8ae19"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139118.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139118"
    }
  ],
  "schema_version": "1.9.2",
  "summary": "blk-mq: free the bitmaps of tags in the SRCU callback"
}