# CVE-2021-47622: linux: In the Linux kernel, the following vulnerability has been resolved:  scsi: ufs: Fix a deadlock in the error handler...

CVE-2021-47622 is fixed in linux on 1 platform, first by DEBIAN-CVE-2021-47622, released July 16, 2024. It is not reported as exploited. Patch Radar priority: Routine.

- Web page: https://patchblox.com/security/cve/CVE-2021-47622
- Priority: Routine
- CVSS: 5.5 (medium)
- EPSS: 0.0017
- CISA KEV: not listed
- Exploited (vendor report): no
- Publicly disclosed: no
- Published: Jul 16, 2024

## Description

In the Linux kernel, the following vulnerability has been resolved:  scsi: ufs: Fix a deadlock in the error handler  The following deadlock has been observed on a test setup:   - All tags allocated   - The SCSI error handler calls ufshcd_eh_host_reset_handler()   - ufshcd_eh_host_reset_handler() queues work that calls    ufshcd_err_handler()   - ufshcd_err_handler() locks up as follows:  Workqueue: ufs_eh_wq_0 ufshcd_err_handler.cfi_jt Call trace:  __switch_to+0x298/0x5d8  __schedule+0x6cc/0xa94  schedule+0x12c/0x298  blk_mq_get_tag+0x210/0x480  __blk_mq_alloc_request+0x1c8/0x284  blk_get_request+0x74/0x134  ufshcd_exec_dev_cmd+0x68/0x640  ufshcd_verify_dev_init+0x68/0x35c  ufshcd_probe_hba+0x12c/0x1cb8  ufshcd_host_reset_and_restore+0x88/0x254  ufshcd_reset_and_restore+0xd0/0x354  ufshcd_err_handler+0x408/0xc58  process_one_work+0x24c/0x66c  worker_thread+0x3e8/0xa4c  kthread+0x150/0x1b4  ret_from_fork+0x10/0x30  Fix this lockup by making ufshcd_exec_dev_cmd() allocate a reserved request.

## Where it's fixed

| Platform | Product | Fixed in | Fix | Released |
|---|---|---|---|---|
| Linux | linux Debian 12.15 (bookworm) | 5.16.11-1 | [DEBIAN-CVE-2021-47622](https://patchblox.com/security/data/fix/linux/debian-cve-2021-47622.md) | Jul 16, 2024 |
| Linux | linux Debian 13.5 (trixie) | 5.16.11-1 | [DEBIAN-CVE-2021-47622](https://patchblox.com/security/data/fix/linux/debian-cve-2021-47622.md) | Jul 16, 2024 |
| Linux | linux Debian 14 | 5.16.11-1 | [DEBIAN-CVE-2021-47622](https://patchblox.com/security/data/fix/linux/debian-cve-2021-47622.md) | Jul 16, 2024 |

---

Data as of 2026-11-08T13:06:02Z UTC. Source: Patchblox Patch Radar (https://patchblox.com/security/patch-radar). Patchblox finds out-of-date software on Windows, macOS and Linux and updates it through release rings: https://patchblox.com/demo

Free to use with attribution: show "Data: Patchblox Patch Radar" with a link to https://patchblox.com/security/patch-radar. Terms, including what needs a written agreement: https://patchblox.com/security/patch-radar/use-the-data

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.
