Description
In the Linux kernel, the following vulnerability has been resolved: blk-mq: quiesce a queue that joins a quiesced tag set blk_mq_quiesce_tagset() only quiesces the queues on the list at that moment. A queue added before blk_mq_unquiesce_tagset() runs unquiesced, and then gets unquiesced without ever having been quiesced, which trips the warning in blk_mq_unquiesce_queue(). NVMe gets there when a controller fails while its namespaces are being scanned. Count the quiesce calls in the tag set and quiesce a joining queue that many times, under a spinlock that also serializes the two functions. It can't be tag_list_lock, see commit 59e25ef2b413.
Affected products and versions
CVSS vector, explained
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Attack vector
- Network (from the internet)
- Attack complexity
- Low
- Privileges required
- None (no login)
- User interaction
- Not required
- Scope
- Vulnerable component only
- Confidentiality
- None
- Integrity
- None
- Availability
- High impact
References
- git.kernel.org/stable/c/713076f1466c7c3c6fb698e3188aec34cd5e3326
- git.kernel.org/stable/c/6a845ca6db13dba90e1938b4abaac72d4f298782
- git.kernel.org/stable/c/976624ef436222a0024c7e70596beb17f2ddee58
- git.kernel.org/stable/c/d5b692b20b48c5197ae43f8090d75b4a6df08779
- git.kernel.org/stable/c/71ec3c7d6db80737b781d2739d1325b7e39758e1
Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.