CVE-2021-47622: scsi: ufs: Fix a deadlock in the error handler
Noroxi assessment
Priority: Monitor (action score 22/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.17% (FIRST EPSS).
- Someone with local access to the system can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: Linux Linux 493c9e850677df8b4eda150c2364b1c1a72ed724, 5.5, 945c3cca05d78351bba29fa65d93834cb7934c7b.
Low priority for now. Upgrade to Linux Linux 493c9e850677df8b4eda150c2364b1c1a72ed724, 5.5, 945c3cca05d78351bba29fa65d93834cb7934c7b or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Jul 16, 2024
- Updated
- Jun 17, 2026
- EPSS
- 0.1% · 6th percentile
- CWE
- CWE-667
Report tools
Action score
22
Monitor
Low priority for now.
- CVSS
- 22 / 40 · 5.5 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.1%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| linux | linux kernel | cpe:2.3:o:linux:linux_kernel |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- linux linux kernelbefore 5.15.25
- linux linux kernel5.16 and later · before 5.16.11
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Linux). Independent of NVD's CPE analysis and usually ahead of it.
Linux Linux
- a8d2d45c70c7391386baf7863674f156da56a3d5, 5.6affected
- 7252a3603015f1fd04363956f4b72a537c9f9c42 and later · before 493c9e850677df8b4eda150c2364b1c1a72ed724affected · git
- 7252a3603015f1fd04363956f4b72a537c9f9c42 and later · before d69d98d8edf90e25e4e09930dd36dd6d09dd6768affected · git
- 7252a3603015f1fd04363956f4b72a537c9f9c42 and later · before 945c3cca05d78351bba29fa65d93834cb7934c7baffected · git
- 5.4.112 and later · before 5.5affected · semver
- before 5.6not affected · semver
- 5.15.25 and later · up to and including 5.15.*not affected · semver
- 5.16.11 and later · up to and including 5.16.*not affected · semver
- 5.17 and laternot affected · original_commit_for_fix
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | linux | before 5.16.11-1 | 5.16.11-1 |
| openSUSE:Leap 15.5 | kernel-azure | before 5.14.21-150500.33.63.1 | 5.14.21-150500.33.63.1 |
| openSUSE:Leap 15.5 | kernel-rt_debug | before 5.14.21-150500.13.64.1 | 5.14.21-150500.13.64.1 |
| openSUSE:Leap 15.5 | kernel-source-azure | before 5.14.21-150500.33.63.1 | 5.14.21-150500.33.63.1 |
| openSUSE:Leap 15.5 | kernel-source-rt | before 5.14.21-150500.13.64.1 | 5.14.21-150500.13.64.1 |
| openSUSE:Leap 15.5 | kernel-syms-azure | before 5.14.21-150500.33.63.1 | 5.14.21-150500.33.63.1 |
| openSUSE:Leap 15.5 | kernel-syms-rt | before 5.14.21-150500.13.64.1 | 5.14.21-150500.13.64.1 |
| openSUSE:Leap Micro 5.5 | kernel-rt | before 5.14.21-150500.13.64.1 | 5.14.21-150500.13.64.1 |
| SUSE:Linux Enterprise Live Patching 15 SP5 | kernel-livepatch-SLE15-SP5-RT_Update_18 | before 1-150500.11.3.1 | 1-150500.11.3.1 |
| SUSE:Linux Enterprise Micro 5.5 | kernel-rt | before 5.14.21-150500.13.64.1 | 5.14.21-150500.13.64.1 |
| SUSE:Linux Enterprise Micro 5.5 | kernel-source-rt | before 5.14.21-150500.13.64.1 | 5.14.21-150500.13.64.1 |
| SUSE:Linux Enterprise Module for Public Cloud 15 SP5 | kernel-azure | before 5.14.21-150500.33.63.1 | 5.14.21-150500.33.63.1 |
| SUSE:Linux Enterprise Module for Public Cloud 15 SP5 | kernel-source-azure | before 5.14.21-150500.33.63.1 | 5.14.21-150500.33.63.1 |
| SUSE:Linux Enterprise Module for Public Cloud 15 SP5 | kernel-syms-azure | before 5.14.21-150500.33.63.1 | 5.14.21-150500.33.63.1 |
| SUSE:Linux Enterprise Real Time 12 SP5 | kernel-rt | before 4.12.14-10.203.1 | 4.12.14-10.203.1 |
| SUSE:Linux Enterprise Real Time 12 SP5 | kernel-rt_debug | before 4.12.14-10.203.1 | 4.12.14-10.203.1 |
| SUSE:Linux Enterprise Real Time 12 SP5 | kernel-source-rt | before 4.12.14-10.203.1 | 4.12.14-10.203.1 |
| SUSE:Linux Enterprise Real Time 12 SP5 | kernel-syms-rt | before 4.12.14-10.203.1 | 4.12.14-10.203.1 |
| SUSE:Real Time Module 15 SP5 | kernel-rt_debug | before 5.14.21-150500.13.64.1 | 5.14.21-150500.13.64.1 |
| SUSE:Real Time Module 15 SP5 | kernel-syms-rt | before 5.14.21-150500.13.64.1 | 5.14.21-150500.13.64.1 |
Same product
linux: all recordsOther highest-scoring records for the same primary product.
- CVE-2026-31431crypto: algif_aead - Revert to operating out-of-placeKEV90Now
- CVE-2022-0847A flaw was found in the way the "flags" member of the new pipe buffer structure was lacking proper initialization in copy_page_to_iter_pipe KEV89Now
- CVE-2021-22555Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACEKEV85Now
Published before and after this one in the same product
- ← EarlierCVE-2023-52886Jul 16, 2024 · USB: core: Fix race by not overwriting udev->descriptor in hub_port_init()25Monitor
- ← EarlierCVE-2024-41008Jul 16, 2024 · drm/amdgpu: change vm->task_info handling22Monitor
- Later →CVE-2021-47623Jul 16, 2024 · powerpc/fixmap: Fix VM debug warning on unmap22Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Linux Linux | 493c9e850677df8b4eda150c2364b1c1a72ed724 | Vendor (CNA) |
| Linux Linux | 5.5 | Vendor (CNA) |
| Linux Linux | 945c3cca05d78351bba29fa65d93834cb7934c7b | Vendor (CNA) |
| Linux Linux | d69d98d8edf90e25e4e09930dd36dd6d09dd6768 | Vendor (CNA) |
| debian:linux | 5.16.11-1 · Debian:12 | Package registry (OSV) |
| opensuse:kernel-azure | 5.14.21-150500.33.63.1 · openSUSE:Leap 15.5 | Package registry (OSV) |
| opensuse:kernel-rt | 5.14.21-150500.13.64.1 · openSUSE:Leap Micro 5.5 | Package registry (OSV) |
| opensuse:kernel-rt_debug | 5.14.21-150500.13.64.1 · openSUSE:Leap 15.5 | Package registry (OSV) |
| opensuse:kernel-source-azure | 5.14.21-150500.33.63.1 · openSUSE:Leap 15.5 | Package registry (OSV) |
| opensuse:kernel-source-rt | 5.14.21-150500.13.64.1 · openSUSE:Leap 15.5 | Package registry (OSV) |
| opensuse:kernel-syms-azure | 5.14.21-150500.33.63.1 · openSUSE:Leap 15.5 | Package registry (OSV) |
| opensuse:kernel-syms-rt | 5.14.21-150500.13.64.1 · openSUSE:Leap 15.5 | Package registry (OSV) |
| suse:kernel-azure | 5.14.21-150500.33.63.1 · SUSE:Linux Enterprise Module for Public Cloud 15 SP5 | Package registry (OSV) |
| suse:kernel-livepatch-SLE15-SP5-RT_Update_18 | 1-150500.11.3.1 · SUSE:Linux Enterprise Live Patching 15 SP5 | Package registry (OSV) |
| suse:kernel-rt | 5.14.21-150500.13.64.1 · SUSE:Linux Enterprise Micro 5.5 | Package registry (OSV) |
| suse:kernel-rt_debug | 5.14.21-150500.13.64.1 · SUSE:Real Time Module 15 SP5 | Package registry (OSV) |
| suse:kernel-source-azure | 5.14.21-150500.33.63.1 · SUSE:Linux Enterprise Module for Public Cloud 15 SP5 | Package registry (OSV) |
| suse:kernel-source-rt | 5.14.21-150500.13.64.1 · SUSE:Linux Enterprise Micro 5.5 | Package registry (OSV) |
| suse:kernel-syms-azure | 5.14.21-150500.33.63.1 · SUSE:Linux Enterprise Module for Public Cloud 15 SP5 | Package registry (OSV) |
| suse:kernel-syms-rt | 5.14.21-150500.13.64.1 · SUSE:Real Time Module 15 SP5 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
No history yet (it accumulates with the daily EPSS job).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- High
Weakness class (CWE)
CWE-667 · Improper LockingCVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (2 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.