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
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
414dd48e882c5a39e7bd01b096ee6497eb3314b0 to < 713076f1466c7c3c6fb698e3188aec34cd5e3326affected414dd48e882c5a39e7bd01b096ee6497eb3314b0 to < 6a845ca6db13dba90e1938b4abaac72d4f298782affected414dd48e882c5a39e7bd01b096ee6497eb3314b0 to < 976624ef436222a0024c7e70596beb17f2ddee58affected414dd48e882c5a39e7bd01b096ee6497eb3314b0 to < d5b692b20b48c5197ae43f8090d75b4a6df08779affected414dd48e882c5a39e7bd01b096ee6497eb3314b0 to < 71ec3c7d6db80737b781d2739d1325b7e39758e1affected
Linux Linux
Default version status: affected
6.2affected0 to < 6.2unaffected6.6.163 to ≤ 6.6.*unaffected6.12.119 to ≤ 6.12.*unaffected6.18.65 to ≤ 6.18.*unaffected7.3.6 to ≤ 7.3.*unaffected7.4-rc1 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/713076f1466c7c3c6fb698e3188aec34cd5e3326 ↗
- https://git.kernel.org/stable/c/6a845ca6db13dba90e1938b4abaac72d4f298782 ↗
- https://git.kernel.org/stable/c/976624ef436222a0024c7e70596beb17f2ddee58 ↗
- https://git.kernel.org/stable/c/d5b692b20b48c5197ae43f8090d75b4a6df08779 ↗
- https://git.kernel.org/stable/c/71ec3c7d6db80737b781d2739d1325b7e39758e1 ↗