CVE-2021-47382

s390/qeth: fix deadlock during failing recovery

published May 21, 2024

CVSS
—
EPSS
0%
Percentile
4.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00152 · 4.0th percentile
Published
2024-05-21T15:03Z
EPSS history
Timeline
  • 21 MAY 15:03Z
    s390/qeth: fix deadlock during failing recovery
    cvelistv5