{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "630ef623ed26c18a457cdc070cf24014e50129c2"
            },
            {
              "fixed": "a6f435cba9508e6ee9f81c1b32ebce9e90031023"
            },
            {
              "fixed": "f179c59bea9959901d6b9f0a7e45c170d6fbb2e3"
            },
            {
              "fixed": "2aa679bff2e9a90f8a39e769ccb0b03d945a5c52"
            },
            {
              "fixed": "b11079315bcbe2bd947e5e819e5f5c03451afc61"
            },
            {
              "fixed": "89a2381482d8ff8e4fe0b7d32797bb4f77503b89"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0b948f3c2149680b38757257d37406777338b0dc"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "00b5bc6421739f6eba45eede245846394e0dd279"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "3c1db90ae0d0210c0695f63f77458124d83508b2"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "3a96437f6bf85fa64e933cc100445f9278cee1ff"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "929778cfc8f31f3fa793a5fa5f10fe3cd30f63ff"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "5e9e6d114b536c654a7209c98a38f982a2de7009"
            }
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "type": "GIT"
        }
      ]
    },
    {
      "package": {
        "ecosystem": "Linux",
        "name": "Kernel"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "4.14.233"
            },
            {
              "fixed": "4.15"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "4.19.191"
            },
            {
              "fixed": "4.20"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.4.120"
            },
            {
              "fixed": "5.5"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.10.38"
            },
            {
              "fixed": "5.11"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.11.22"
            },
            {
              "fixed": "5.12"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.12.5"
            },
            {
              "fixed": "5.13"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "5.13.0"
            },
            {
              "fixed": "6.6.163"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "events": [
            {
              "introduced": "6.7.0"
            },
            {
              "fixed": "6.12.119"
            }
          ],
          "type": "ECOSYSTEM"
        },
        {
          "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-139121.json"
  },
  "details": "In the Linux kernel, the following vulnerability has been resolved:\n\nblk-mq: exit the hctxs of a queue under tag_list_lock\n\nblk_mq_update_nr_hw_queues() exits and replaces the hctxs of every queue\non set-\u003etag_list under tag_list_lock. blk_mq_exit_queue() exits its\nhctxs without the lock and only then takes the queue off the list, so an\nupdate running at the same time exits them again and sets up new ones\nthat nobody exits. del_gendisk() is kept away by update_nr_hwq_lock,\ndisk_release() of a never added disk and blk_mq_destroy_queue() are not,\nand nvme_alloc_ns() drops such a disk when it finds the queues frozen by\na reset.\n\nHold tag_list_lock for both steps.",
  "id": "CVE-2026-139121",
  "modified": "2026-12-01T06:45:24.867848739Z",
  "published": "2026-11-30T13:31:46.564Z",
  "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/2aa679bff2e9a90f8a39e769ccb0b03d945a5c52"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/89a2381482d8ff8e4fe0b7d32797bb4f77503b89"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/a6f435cba9508e6ee9f81c1b32ebce9e90031023"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/b11079315bcbe2bd947e5e819e5f5c03451afc61"
    },
    {
      "type": "WEB",
      "url": "https://git.kernel.org/stable/c/f179c59bea9959901d6b9f0a7e45c170d6fbb2e3"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/139xxx/CVE-2026-139121.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-139121"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "blk-mq: exit the hctxs of a queue under tag_list_lock"
}