CVE-2021-47328

HIGH

Linux Kernel < 4.19.198 - Use-After-Free in iSCSI Connection Teardown

Title source: llm
STIX 2.1

Description

In the Linux kernel, the following vulnerability has been resolved: scsi: iscsi: Fix conn use after free during resets If we haven't done a unbind target call we can race where iscsi_conn_teardown wakes up the EH thread and then frees the conn while those threads are still accessing the conn ehwait. We can only do one TMF per session so this just moves the TMF fields from the conn to the session. We can then rely on the iscsi_session_teardown->iscsi_remove_session->__iscsi_unbind_session call to remove the target and it's devices, and know after that point there is no device or scsi-ml callout trying to access the session.

Scores

CVSS v3 7.8
EPSS 0.0025
EPSS Percentile 16.6%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-416
Status published
Products (23)
Linux/Linux < 4.2
Linux/Linux 0adcec66bce9b7e84847da09ae3f8bc36e753312
Linux/Linux 20b38ab5b687df3dbb873cfb0efa946a021f890a
Linux/Linux 3.18.22 - 3.19
Linux/Linux 3.2.72 - 3.3
Linux/Linux 3.4.111 - 3.5
Linux/Linux 4.1.7 - 4.2
Linux/Linux 4.19.198 - 4.19.*
Linux/Linux 4.2
Linux/Linux 5.10.52 - 5.10.*
... and 13 more
Published May 21, 2024
Tracked Since Feb 18, 2026