{"id":"CVE-2026-93057","aliases":["CVE-2026-93057"],"related":[],"kind":"vulnerability","state":"published","title":"scsi: ufs: core: Avoid possible memory reclaim deadlock in TX EQTR context","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: ufs: core: Avoid possible memory reclaim deadlock in TX EQTR context\n\nTX EQTR may run while devfreq gear scaling has quiesced the UFS\ntagset. In that context, functions ufshcd_tx_eqtr(), __ufshcd_tx_eqtr()\nand ufs_qcom_get_rx_fom() allocate memory with GFP_KERNEL. If direct\nreclaim is triggered, reclaim/writeback can depend on I/O to UFS\ndevice. Because the queue is quiesced, this can cause deadlock.\n\nUse memalloc_noio_save/restore() in ufshcd_tx_eqtr() to cover all\nallocations in the TX EQTR call tree, including:\n\n - params->eqtr_record in ufshcd_tx_eqtr()\n\n - eqtr_data in __ufshcd_tx_eqtr()\n\n - params in ufs_qcom_get_rx_fom()\n\nThis is preferred over tagging individual call sites with GFP_NOIO, as it\nautomatically covers any future allocations added anywhere in the call tree\nwithout requiring each caller to be aware of this constraint.\n\n[mkp: fix label as suggested by Bart]","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: ufs: core: Avoid possible memory reclaim deadlock in TX EQTR context\n\nTX EQTR may run while devfreq gear scaling has quiesced the UFS\ntagset. In that context, functions ufshcd_tx_eqtr(), __ufshcd_tx_eqtr()\nand ufs_qcom_get_rx_fom() allocate memory with GFP_KERNEL. If direct\nreclaim is triggered, reclaim/writeback can depend on I/O to UFS\ndevice. Because the queue is quiesced, this can cause deadlock.\n\nUse memalloc_noio_save/restore() in ufshcd_tx_eqtr() to cover all\nallocations in the TX EQTR call tree, including:\n\n - params->eqtr_record in ufshcd_tx_eqtr()\n\n - eqtr_data in __ufshcd_tx_eqtr()\n\n - params in ufs_qcom_get_rx_fom()\n\nThis is preferred over tagging individual call sites with GFP_NOIO, as it\nautomatically covers any future allocations added anywhere in the call tree\nwithout requiring each caller to be aware of this constraint.\n\n[mkp: fix label as suggested by Bart]","source":"cvelist"}],"published":"2026-09-17T16:10:45.108Z","modified":"2026-10-19T10:16:55.600Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"03e5d38e2f985d8d0b0a60508c0b422f664808e3","fixed":"a28a7d9b3bb116da788ae492c90465ec1a7fa6e8","status":"affected"},{"type":"git","introduced":"03e5d38e2f985d8d0b0a60508c0b422f664808e3","fixed":"760fc6f0e25a72832c2fcf37ecf5f1b770ec8374","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"7.1","status":"affected"},{"type":"semver","introduced":"0","fixed":"7.1","status":"unaffected"},{"type":"semver","introduced":"7.2.6","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/a28a7d9b3bb116da788ae492c90465ec1a7fa6e8","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/760fc6f0e25a72832c2fcf37ecf5f1b770ec8374","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-93057","url":"https://www.cve.org/CVERecord?id=CVE-2026-93057","licence":"CVE Terms of Use","modified":"2026-10-19T09:04:53.229Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-93057","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-93057","licence":"Public domain","modified":"2026-10-19T10:16:55.600Z"}],"updatedAt":"2026-11-25T22:59:39.441Z","epss":{"score":0.00155,"percentile":0.04893,"date":"2026-12-02T12:00:21.000Z"}}