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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: Linux

Published: 2024-05-21T15:03:43.621Z

Updated: 2024-11-04T12:04:49.284Z

Reserved: 2024-05-21T14:58:30.812Z

Link: CVE-2021-47382

cve-icon Vulnrichment

Updated: 2024-08-04T05:32:08.576Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2024-05-21T15:15:23.803

Modified: 2024-05-21T16:54:26.047

Link: CVE-2021-47382

cve-icon Redhat

Severity : Low

Publid Date: 2024-05-21T00:00:00Z

Links: CVE-2021-47382 - Bugzilla