Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2021-47622

MEDIUM 5.5EPSS 8%

scsi: ufs: Fix a deadlock in the error handler

Mitigation

  • Upgrade Linux to 5.5 or later.

Who should check

  • Anyone running Linux >= 7252a3603015f1fd04363956f4b72a537c9f9c42, < 493c9e850677df8b4eda150c2364b1c1a72ed724; >= 7252a3603015f1fd04363956f4b72a537c9f9c42, < d69d98d8edf90e25e4e09930dd36dd6d09dd6768; >= 7252a3603015f1fd04363956f4b72a537c9f9c42, < 945c3cca05d78351bba29fa65d93834cb7934c7b; a8d2d45c70c7391386baf7863674f156da56a3d5; >= 5.4.112, < 5.5
  • Anyone running Linux 5.6

Vulnerability facts

Affected
Linux >= 7252a3603015f1fd04363956f4b72a537c9f9c42, < 493c9e850677df8b4eda150c2364b1c1a72ed724; >= 7252a3603015f1fd04363956f4b72a537c9f9c42, < d69d98d8edf90e25e4e09930dd36dd6d09dd6768; >= 7252a3603015f1fd04363956f4b72a537c9f9c42, < 945c3cca05d78351bba29fa65d93834cb7934c7b; a8d2d45c70c7391386baf7863674f156da56a3d5; >= 5.4.112, < 5.5; Linux 5.6
Fixed in
Linux 493c9e850677df8b4eda150c2364b1c1a72ed724, Linux 945c3cca05d78351bba29fa65d93834cb7934c7b, Linux 5.5
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.23% chance of exploitation in 30 days (percentile 8, 2026-11-26)
CWE
CWE-667
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 7252a3603015f1fd04363956f4b72a537c9f9c42, < 493c9e850677df8b4eda150c2364b1c1a72ed724; >= 7252a3603015f1fd04363956f4b72a537c9f9c42, < d69d98d8edf90e25e4e09930dd36dd6d09dd6768; >= 7252a3603015f1fd04363956f4b72a537c9f9c42, < 945c3cca05d78351bba29fa65d93834cb7934c7b; a8d2d45c70c7391386baf7863674f156da56a3d5; >= 5.4.112, < 5.5—cvelist
Linux5.6—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2021-47622. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-47622.md
Affected: Linux >= 7252a3603015f1fd04363956f4b72a537c9f9c42, < 493c9e850677df8b4eda150c2364b1c1a72ed724; >= 7252a3603015f1fd04363956f4b72a537c9f9c42, < d69d98d8edf90e25e4e09930dd36dd6d09dd6768; >= 7252a3603015f1fd04363956f4b72a537c9f9c42, < 945c3cca05d78351bba29fa65d93834cb7934c7b; a8d2d45c70c7391386baf78636…
Fixed in: Linux 493c9e850677df8b4eda150c2364b1c1a72ed724, Linux 945c3cca05d78351bba29fa65d93834cb7934c7b, Linux 5.5

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2021-47622 being exploited?

There is no confirmed exploitation: CVE-2021-47622 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.23% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2021-47622?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2021-47622?

Linux >= 7252a3603015f1fd04363956f4b72a537c9f9c42, < 493c9e850677df8b4eda150c2364b1c1a72ed724; >= 7252a3603015f1fd04363956f4b72a537c9f9c42, < d69d98d8edf90e25e4e09930dd36dd6d09dd6768; >= 7252a3603015f1fd04363956f4b72a537c9f9c42, < 945c3cca05d78351bba29fa65d93834cb7934c7b; a8d2d45c70c7391386baf7863674f156da56a3d5; >= 5.4.112, < 5.5; Linux 5.6.

Is there a fix for CVE-2021-47622?

Yes. Fixed in Linux 493c9e850677df8b4eda150c2364b1c1a72ed724, Linux 945c3cca05d78351bba29fa65d93834cb7934c7b, Linux 5.5. Upgrade Linux to 5.5 or later.

How do I check if I'm affected by CVE-2021-47622?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors