Ad

CVE-2026-98478

NONE EPSS 0.17%
Обновлено 19 октября 2026
Linux
Параметр Значение
Поставщик Linux
Публичный эксплойт Нет

В ядре Linux была устранена следующая уязвимость: scsi: ufs: core: внутренние команды Keep диспетчеризуемые во время обработки ошибок Commit 08b12cda6c44 («scsi: ufs: core: Switch to scsi_get_internal_cmd()») переключались внутренние команды UFS для распределения запросов на hba->host->pseudo_sdev->request_queue, который разделяет набор тегов хоста с обычным LUNs. Во время восстановления ошибок ufshcd_err_handling_prepare() вызывает blk_mq_quiesce_tagset(&hba->host->tag_set), отмечая все очереди в наборе тегов как незаметные, включая pseudo_sdev->request_queue. Когда ufshcd_verify_dev_init() впоследствии выдает внутренние команды (например, NOP OUT UPIU) через blk_execute_rq(), blk_mq_run_hw_queue() пропускает запуск безмятежной очереди, что приводит к невосстановимому циклическому тупику ожидания.

Продолжайте успокаивать набор тегов и беспокоить псевдо-устройство SCSI, поэтому внутренние команды остаются диспетчерскими, пока логические единицы остаются спокойными. Re-quiesce псевдоустройство, прежде чем расслабить тегсет, чтобы quiesce_depth оставался сбалансированным. Масштабирование часов и ufshcd_pause_command_processing() не затрагиваются: они продолжают успокаивать весь набор тегов, включая внутренние команды.

Показать оригинальное описание (EN)

In the Linux kernel, the following vulnerability has been resolved: scsi: ufs: core: Keep internal commands dispatchable during error handling Commit 08b12cda6c44 ("scsi: ufs: core: Switch to scsi_get_internal_cmd()") switched UFS internal commands to allocate requests on hba->host->pseudo_sdev->request_queue, which shares the host tagset with regular LUNs. During error recovery, ufshcd_err_handling_prepare() calls blk_mq_quiesce_tagset(&hba->host->tag_set), marking all queues in the tagset as quiesced, including pseudo_sdev->request_queue. When ufshcd_verify_dev_init() subsequently issues internal commands (e.g. NOP OUT UPIU) via blk_execute_rq(), blk_mq_run_hw_queue() skips running the quiesced queue, resulting in an unrecoverable circular wait deadlock. Keep quiescing the tagset and unquiesce the pseudo SCSI device on top of that, so internal commands stay dispatchable while the logical units remain quiesced. Re-quiesce the pseudo device before unquiescing the tagset so that quiesce_depth stays balanced. Clock scaling and ufshcd_pause_command_processing() are unaffected: they keep quiescing the whole tagset, internal commands included.