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

Published Sep 17, 2026
·
Updated

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 ufshcdtxeqtr(), ufshcdtxeqtr() and ufsqcomgetrxfom() allocate memory with GFPKERNEL. 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 memallocnoiosave/restore() in ufshcdtxeqtr() to cover all allocations in the TX EQTR call tree, including:

- params->eqtrrecord in ufshcdtxeqtr()

- eqtrdata in ufshcdtxeqtr()

- params in ufsqcomgetrxfom()

This is preferred over tagging individual call sites with GFPNOIO, 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]

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Configuration

    Update scsi/ufs core so that ufshcd_tx_eqtr() uses memalloc_noio_save/restore to prevent memory reclaim deadlock when TX EQTR runs while devfreq gear scaling has quiesced the UFS.

    Linux kernel (scsi: ufs: core) Use memalloc_noio_save/restore in ufshcd_tx_eqtr() = enabled

Event History

Sep 17, 2026
CVE Published
via MITRE·04:10 PM
Data Sourced
via MITRE·04:10 PM
Description

Frequently Asked Questions

1

Which systems are exposed to this deadlock scenario?

Systems using the Linux kernel UFS driver are exposed when TX EQTR runs while devfreq gear scaling has quiesced the UFS tagset. The deadlock depends on memory allocation in the TX EQTR call tree triggering direct reclaim.

2

What is required for the deadlock to occur?

TX EQTR must allocate memory with GFP_KERNEL while the UFS queue is quiesced by devfreq gear scaling. If direct reclaim or writeback then requires I/O to the UFS device, that I/O cannot proceed because the queue is quiesced, creating a deadlock.

3

What does the resolved change do?

The fix wraps ufshcd_tx_eqtr() with memalloc_noio_save() and memalloc_noio_restore(), preventing allocations throughout the TX EQTR call tree from initiating I/O-dependent reclaim. This covers the identified allocations and future allocations added in that call path.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203