7.8
CWE
416
Advisory Published
Updated

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

First published: Tue 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 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.

Credit: 416baaa9-dc9f-4396-8d5f-8c081fb06d67

Affected SoftwareAffected VersionHow to fix
Linux Kernel<4.19.198
Linux Kernel>=4.20<5.4.134
Linux Kernel>=5.5<5.10.52
Linux Kernel>=5.11<5.12.19
Linux Kernel>=5.13<5.13.4

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2021-47328?

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

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

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

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

  • 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.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203