CVE-2021-47382

published 21 May 2024 · updated 23 May 2026

s390/qeth: fix deadlock during failing recovery

5.0MediumEPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in Kernel 5.11, Kernel 0bfe741741327822d1482c7edef0184636d08b40 and Kernel d2b59bd4b06d84a4eadb520b0f71c62fe8ec0a62.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
LinuxKernel=5.11, =af0c184ea106051e428b5a0b5f2dfd31cbc54c52, >=5.10.8 <5.11, >=b41b554c1ee75070a14c02a88496b1f231c7eacc <0bfe741741327822d1482c7edef0184636d08b40, >=b41b554c1ee75070a14c02a88496b1f231c7eacc <d2b59bd4b06d84a4eadb520b0f71c62fe8ec0a625.11, 0bfe741741327822d1482c7edef0184636d08b40, d2b59bd4b06d84a4eadb520b0f71c62fe8ec0a62

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Kernel, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-47382 severity on Zeptric[![CVE-2021-47382](https://zeptric.io/badge/cve/CVE-2021-47382.svg)](https://zeptric.io/cve/CVE-2021-47382)