PT-2021-8169 · Linux+3 · Linux Kernel+3

Mike Christie

·

Published

2021-11-16

·

Updated

2024-11-04

·

CVE-2021-47192

CVSS v3.1

5.3

Medium

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Name of the Vulnerable Software and Affected Versions Linux kernel (affected versions not specified)
Description The issue is related to a regression in the Linux kernel's scsi core, specifically with the sysfs interface. After iSCSI recovery, the iscsid daemon calls into the kernel to set the device's state to running. However, due to a patch, the kernel now calls scsi rescan device() with the state mutex held, leading to a deadlock. The SCSI error handler thread tries to grab the state mutex, but it is already held by scsi rescan device(), causing the system to hang. To prevent this deadlock, the rescan-related code is moved to after the state mutex is dropped. This fix also adds a check to prevent extra scans when the device is already in the running state.
Recommendations At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Exploit

Improper Locking

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2024-09219
CVE-2021-47192
OPENSUSE-SU-2024_1641-1
OPENSUSE-SU-2024_1644-1
OPENSUSE-SU-2024_1659-1
OPENSUSE-SU-2024_1663-1
OPENSUSE-SU-2024_2185-1
SUSE-SU-2024:1641-1
SUSE-SU-2024:1644-1
SUSE-SU-2024:1647-1
SUSE-SU-2024:1659-1
SUSE-SU-2024:1663-1
SUSE-SU-2024:2010-1
SUSE-SU-2024:2185-1

Affected Products

Astra Linux
Linux Kernel
Red Os
Suse