CVE-2021-47382
s390/qeth: fix deadlock during failing recovery
Mitigation
- Upgrade Linux to 5.11 or later.
Who should check
- Anyone running Linux >= b41b554c1ee75070a14c02a88496b1f231c7eacc, < 0bfe741741327822d1482c7edef0184636d08b40; >= b41b554c1ee75070a14c02a88496b1f231c7eacc, < d2b59bd4b06d84a4eadb520b0f71c62fe8ec0a62; af0c184ea106051e428b5a0b5f2dfd31cbc54c52; >= 5.10.8, < 5.11
- Anyone running Linux 5.11
Vulnerability facts
- Affected
- Linux >= b41b554c1ee75070a14c02a88496b1f231c7eacc, < 0bfe741741327822d1482c7edef0184636d08b40; >= b41b554c1ee75070a14c02a88496b1f231c7eacc, < d2b59bd4b06d84a4eadb520b0f71c62fe8ec0a62; af0c184ea106051e428b5a0b5f2dfd31cbc54c52; >= 5.10.8, < 5.11; Linux 5.11
- Fixed in
- Linux 0bfe741741327822d1482c7edef0184636d08b40, Linux 5.11
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 4.7 (v3.1, NVD)CVSS:3.1/AV:L/AC:H/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: High
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.19% chance of exploitation in 30 days (percentile 5, 2026-11-26)
- CWE
- CWE-362, CWE-667
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: s390/qeth: fix deadlock during failing recovery Commit 0b9902c1fcc5 ("s390/qeth: fix deadlock during recovery") removed taking discipline_mutex inside qeth_do_reset(), fixing potential deadlocks. An error path was missed though, that still takes discipline_mutex and thus has the original deadlock potential. Intermittent deadlocks were seen when a qeth channel path is configured offline, causing a race between qeth_do_reset and ccwgroup_remove. Call qeth_set_offline() directly in the qeth_do_reset() error case and then a new variant of ccwgroup_set_offline(), without taking discipline_mutex.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= b41b554c1ee75070a14c02a88496b1f231c7eacc, < 0bfe741741327822d1482c7edef0184636d08b40; >= b41b554c1ee75070a14c02a88496b1f231c7eacc, < d2b59bd4b06d84a4eadb520b0f71c62fe8ec0a62; af0c184ea106051e428b5a0b5f2dfd31cbc54c52; >= 5.10.8, < 5.11 | — | cvelist |
| Linux | 5.11 | — | 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-47382. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2021-47382.md Affected: Linux >= b41b554c1ee75070a14c02a88496b1f231c7eacc, < 0bfe741741327822d1482c7edef0184636d08b40; >= b41b554c1ee75070a14c02a88496b1f231c7eacc, < d2b59bd4b06d84a4eadb520b0f71c62fe8ec0a62; af0c184ea106051e428b5a0b5f2dfd31cbc54c52; >= 5.10.8, < 5.11; Linux 5.11 Fixed in: Linux 0bfe741741327822d1482c7edef0184636d08b40, Linux 5.11 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-47382 being exploited?
There is no confirmed exploitation: CVE-2021-47382 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.19% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2021-47382?
Medium: CVSS 4.7 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2021-47382?
Linux >= b41b554c1ee75070a14c02a88496b1f231c7eacc, < 0bfe741741327822d1482c7edef0184636d08b40; >= b41b554c1ee75070a14c02a88496b1f231c7eacc, < d2b59bd4b06d84a4eadb520b0f71c62fe8ec0a62; af0c184ea106051e428b5a0b5f2dfd31cbc54c52; >= 5.10.8, < 5.11; Linux 5.11.
Is there a fix for CVE-2021-47382?
Yes. Fixed in Linux 0bfe741741327822d1482c7edef0184636d08b40, Linux 5.11. Upgrade Linux to 5.11 or later.
How do I check if I'm affected by CVE-2021-47382?
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.