Review reviewHigh

CVE-2021-47328

Linux Linux, linux kernel

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

CVSS
7.8
EPSS
0.76%
51.8% percentile
CISA KEV
Not listed
Published
2024.05.22
PRIORITY ASSESSMENT

Review review

The CVSS severity warrants an early asset and exposure review.

Known exploitationNot established by KEV
Exploit probability0.76%
Technical severityCVSS 7.8

Vulnerability overview

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

Affected product and versions

Product
Linux Linux, linux kernel
Affected versions
>= 660d0831d1494a6837b2f810d08b5be092c1f31d < bf20d85a88384574fabb3d53ad62a8af57e7ab11, >= 660d0831d1494a6837b2f810d08b5be092c1f31d < d04958a348e560938410e04a12fb99da9c7e6a00, >= 660d0831d1494a6837b2f810d08b5be092c1f31d < 89812e7957ab0746eab66ed6fc49d52bb4dca250, >= 660d0831d1494a6837b2f810d08b5be092c1f31d < f0a031f7c55ffd944fead1ddaf2aa94df9a158c1, >= 660d0831d1494a6837b2f810d08b5be092c1f31d < fa9542b35ceb4202e8f8d65f440529a63524dca9, >= 660d0831d1494a6837b2f810d08b5be092c1f31d < ec29d0ac29be366450a7faffbcf8cba3a6a3b506, >= 861a9633c22ee8b484e1b4054995f7e1b94a3834, >= 0adcec66bce9b7e84847da09ae3f8bc36e753312, >= 20b38ab5b687df3dbb873cfb0efa946a021f890a, >= 71b6a23ea944c6a30958bd15a69211e1fd521e1e, >= 3.2.72 < 3.3, >= 3.4.111 < 3.5, >= 3.18.22 < 3.19, >= 4.1.7 < 4.2, >= 4.2, < 4.19.198, >= 4.20 < 5.4.134, >= 5.5 < 5.10.52, >= 5.11 < 5.12.19, >= 5.13 < 5.13.4
Fixed versions
4.19.198, 5.4.134, 5.10.52, 5.12.19, 5.13.4

Recommended response sequence

Confirm exposure before applying a vendor-supported change.

Full remediation guide
  1. 1
    Identify

    Confirm that Linux Linux, linux kernel and an affected version are present.

  2. 2
    Prioritize

    Combine exploitation signals with asset exposure and business criticality.

  3. 3
    Remediate

    Follow the vendor advisory or supported update path and preserve rollback options.

  4. 4
    Verify

    Recheck the version, service health, access paths, and relevant logs.

Technical data

CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CWE
CWE-416
CVE-2021-47328 — Linux Linux, linux kernel | SECUFOCUS NOW