CVE-2021-47328: scsi: iscsi: Fix conn use after free during resets

Published May 21, 2024
·
Updated

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 iscsiconnteardown 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 iscsisessionteardown->iscsiremovesession->iscsiunbindsession 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.

Affected Software

5 affected components
Linux Linux kernel<4.19.198
Linux Linux kernel>=4.20<5.4.134
Linux Linux kernel>=5.5<5.10.52
Linux Linux kernel>=5.11<5.12.19
Linux Linux kernel>=5.13<5.13.4

Event History

May 21, 2024
CVE Published
via MITRE·02:35 PM
Data Sourced
via MITRE·02:35 PM
DescriptionSeverity
Data Sourced
via NVD·03:15 PM
RemedyDescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2021-47328?

CVE-2021-47328 has been rated as a high severity vulnerability.

2

How do I fix CVE-2021-47328?

To fix CVE-2021-47328, update your Linux kernel to a version newer than 4.19.198, or within the specified safe ranges for other affected versions.

3

Which versions of Linux Kernel are affected by CVE-2021-47328?

CVE-2021-47328 affects Linux Kernel versions from 4.20 up to 5.4.134, 5.5 up to 5.10.52, 5.11 up to 5.12.19, and 5.13 up to 5.13.4.

4

What type of vulnerability is CVE-2021-47328?

CVE-2021-47328 is a use-after-free vulnerability related to SCSI iSCSI connections in the Linux kernel.

5

What are the potential impacts of CVE-2021-47328?

The exploitation of CVE-2021-47328 could lead to denial of service or execution of arbitrary code due to the unsafe memory access.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203