# CVE-2026-98478: scsi: ufs: core: Keep internal commands dispatchable during error handling

- Severity: not scored yet
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 7% of CVEs (2026-11-30)
- Published: 2026-10-18T15:15:52.338Z
- Modified: 2026-10-19T10:18:58.750Z
- Assigned by: Linux

## Description

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.

(As written by CVE List.)

## Affected

- Linux Linux: from 08b12cda6c44dc015bcc152613c35ee0ae8f37b9 before 9f6f4840def931814c106fc800f57a2d26befee6; from 08b12cda6c44dc015bcc152613c35ee0ae8f37b9 before b52d695d062095327b944acf7daabbc816ab319b; 6.19 (not affected: before 6.19; from 7.2.9 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/9f6f4840def931814c106fc800f57a2d26befee6>
- <https://git.kernel.org/stable/c/b52d695d062095327b944acf7daabbc816ab319b>

## Sources

- CVE List: [CVE-2026-98478](https://www.cve.org/CVERecord?id=CVE-2026-98478), CVE Terms of Use, modified 2026-10-19
- NVD: [CVE-2026-98478](https://nvd.nist.gov/vuln/detail/CVE-2026-98478), Public domain, modified 2026-10-19

---

Page: https://cve.day/CVE-2026-98478 · Whole record: https://cve.day/CVE-2026-98478.json · Rebuilt by cve.day 2026-11-25T22:59:45.195Z
