CVE-2021-47188
scsi: ufs: core: Improve SCSI abort handling
Mitigation
- Upgrade Linux to 3ff1f6b6ba6f97f50862aa50e79959cc8ddc2566 or later.
Who should check
- Anyone running Linux >= 7a3e97b0dc4bbac2ba7803564ab0057722689921, < 9491bc16082d9a402c9099acbfffc89af6f9316f; >= 7a3e97b0dc4bbac2ba7803564ab0057722689921, < c36baca06efa833adaefba61f45fefdc49b6d070; >= 7a3e97b0dc4bbac2ba7803564ab0057722689921, < 3ff1f6b6ba6f97f50862aa50e79959cc8ddc2566
- Anyone running Linux 3.4
Vulnerability facts
- Affected
- Linux >= 7a3e97b0dc4bbac2ba7803564ab0057722689921, < 9491bc16082d9a402c9099acbfffc89af6f9316f; >= 7a3e97b0dc4bbac2ba7803564ab0057722689921, < c36baca06efa833adaefba61f45fefdc49b6d070; >= 7a3e97b0dc4bbac2ba7803564ab0057722689921, < 3ff1f6b6ba6f97f50862aa50e79959cc8ddc2566; Linux 3.4
- Fixed in
- Linux 9491bc16082d9a402c9099acbfffc89af6f9316f, Linux 3ff1f6b6ba6f97f50862aa50e79959cc8ddc2566
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.24% chance of exploitation in 30 days (percentile 9, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: scsi: ufs: core: Improve SCSI abort handling The following has been observed on a test setup: WARNING: CPU: 4 PID: 250 at drivers/scsi/ufs/ufshcd.c:2737 ufshcd_queuecommand+0x468/0x65c Call trace: ufshcd_queuecommand+0x468/0x65c scsi_send_eh_cmnd+0x224/0x6a0 scsi_eh_test_devices+0x248/0x418 scsi_eh_ready_devs+0xc34/0xe58 scsi_error_handler+0x204/0x80c kthread+0x150/0x1b4 ret_from_fork+0x10/0x30 That warning is triggered by the following statement: WARN_ON(lrbp->cmd); Fix this warning by clearing lrbp->cmd from the abort handler.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 7a3e97b0dc4bbac2ba7803564ab0057722689921, < 9491bc16082d9a402c9099acbfffc89af6f9316f; >= 7a3e97b0dc4bbac2ba7803564ab0057722689921, < c36baca06efa833adaefba61f45fefdc49b6d070; >= 7a3e97b0dc4bbac2ba7803564ab0057722689921, < 3ff1f6b6ba6f97f50862aa50e79959cc8ddc2566 | — | cvelist |
| Linux | 3.4 | — | 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-47188. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2021-47188.md Affected: Linux >= 7a3e97b0dc4bbac2ba7803564ab0057722689921, < 9491bc16082d9a402c9099acbfffc89af6f9316f; >= 7a3e97b0dc4bbac2ba7803564ab0057722689921, < c36baca06efa833adaefba61f45fefdc49b6d070; >= 7a3e97b0dc4bbac2ba7803564ab0057722689921, < 3ff1f6b6ba6f97f50862aa50e79959cc8ddc2566; Linux 3.4 Fixed in: Linux 9491bc16082d9a402c9099acbfffc89af6f9316f, Linux 3ff1f6b6ba6f97f50862aa50e79959cc8ddc2566 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
Patches
FAQ
Is CVE-2021-47188 being exploited?
There is no confirmed exploitation: CVE-2021-47188 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.24% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2021-47188?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2021-47188?
Linux >= 7a3e97b0dc4bbac2ba7803564ab0057722689921, < 9491bc16082d9a402c9099acbfffc89af6f9316f; >= 7a3e97b0dc4bbac2ba7803564ab0057722689921, < c36baca06efa833adaefba61f45fefdc49b6d070; >= 7a3e97b0dc4bbac2ba7803564ab0057722689921, < 3ff1f6b6ba6f97f50862aa50e79959cc8ddc2566; Linux 3.4.
Is there a fix for CVE-2021-47188?
Yes. Fixed in Linux 9491bc16082d9a402c9099acbfffc89af6f9316f, Linux 3ff1f6b6ba6f97f50862aa50e79959cc8ddc2566. Upgrade Linux to 3ff1f6b6ba6f97f50862aa50e79959cc8ddc2566 or later.
How do I check if I'm affected by CVE-2021-47188?
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.