cvelo
P2 · HighCVSS 9.8EPSS 1.3%

blk-mq: exit the hctxs of a queue under tag_list_lock

  • CVE-2026-139121
  • GHSA-g94f-hwj8-rq9q
  • EUVD-2026-138675

Description

In the Linux kernel, the following vulnerability has been resolved: blk-mq: exit the hctxs of a queue under tag_list_lock blk_mq_update_nr_hw_queues() exits and replaces the hctxs of every queue on set->tag_list under tag_list_lock. blk_mq_exit_queue() exits its hctxs without the lock and only then takes the queue off the list, so an update running at the same time exits them again and sets up new ones that nobody exits. del_gendisk() is kept away by update_nr_hwq_lock, disk_release() of a never added disk and blk_mq_destroy_queue() are not, and nvme_alloc_ns() drops such a disk when it finds the queues frozen by a reset. Hold tag_list_lock for both steps.

Text from the CVE.org record.

Recommendation

  • Linux

    • If you run a version from 5.11.22 to before 5.12update to 5.12 or laterMinor version change: check the release notes
    • If you run a version from 5.10.38 to before 5.11update to 5.11 or laterMinor version change: check the release notes
    • If you run a version from 5.4.120 to before 5.5update to 5.5 or laterMinor version change: check the release notes
    • If you run a version from 4.19.191 to before 4.20update to 4.20 or laterMinor version change: check the release notes
    • If you run a version from 4.14.233 to before 4.15update to 4.15 or laterMinor version change: check the release notes

    Some affected versions have no stated fix.

Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.

Affected

  • Linux

    Affected versionsFixed in
    from 5.11.22 to before 5.125.12
    from 5.10.38 to before 5.115.11
    from 5.4.120 to before 5.55.5
    from 4.19.191 to before 4.204.20
    from 4.14.233 to before 4.154.15
    from 5.12.5 to before 5.13none stated
    5.13none stated
    before 5.13: not affectednone stated

    and 5 more

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.