# CVE-2026-93057: scsi: ufs: core: Avoid possible memory reclaim deadlock in TX EQTR context

- 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.15%, higher than 4% of CVEs (2026-12-02)
- Published: 2026-09-17T16:10:45.108Z
- Modified: 2026-10-19T10:16:55.600Z
- Assigned by: Linux

## Description

In the Linux kernel, the following vulnerability has been resolved:

scsi: ufs: core: Avoid possible memory reclaim deadlock in TX EQTR context

TX EQTR may run while devfreq gear scaling has quiesced the UFS
tagset. In that context, functions ufshcd_tx_eqtr(), __ufshcd_tx_eqtr()
and ufs_qcom_get_rx_fom() allocate memory with GFP_KERNEL. If direct
reclaim is triggered, reclaim/writeback can depend on I/O to UFS
device. Because the queue is quiesced, this can cause deadlock.

Use memalloc_noio_save/restore() in ufshcd_tx_eqtr() to cover all
allocations in the TX EQTR call tree, including:

 - params->eqtr_record in ufshcd_tx_eqtr()

 - eqtr_data in __ufshcd_tx_eqtr()

 - params in ufs_qcom_get_rx_fom()

This is preferred over tagging individual call sites with GFP_NOIO, as it
automatically covers any future allocations added anywhere in the call tree
without requiring each caller to be aware of this constraint.

[mkp: fix label as suggested by Bart]

(As written by CVE List.)

## Affected

- Linux Linux: from 03e5d38e2f985d8d0b0a60508c0b422f664808e3 before a28a7d9b3bb116da788ae492c90465ec1a7fa6e8; from 03e5d38e2f985d8d0b0a60508c0b422f664808e3 before 760fc6f0e25a72832c2fcf37ecf5f1b770ec8374; 7.1 (not affected: before 7.1; from 7.2.6 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/a28a7d9b3bb116da788ae492c90465ec1a7fa6e8>
- <https://git.kernel.org/stable/c/760fc6f0e25a72832c2fcf37ecf5f1b770ec8374>

## Sources

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

---

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