CVE-2021-47328

High

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.

Package Linux Kernel
Published 2024-05-21
Last modified 2024-12-26
CVSS version 3.1
Patch available
Yes

CVSS 3.1 score

7.8

out of 10
High
Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Vector string
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Weakness type

CWE-416

CVE-2021-47328 is a Use After Free vulnerability

What is Use After Free?

The product references memory after it has been freed, which may cause it to crash, use unexpected values, or execute code. Learn more on MITRE CWE

Affected versions

Linux kernel versions 3.2.72, 3.4.111, 3.18.22, 4.1.7, 4.2 and later are affected. Fixed in 4.19.198, 5.4.134, 5.10.52, 5.12.19, 5.13.4, 5.14 and their respective stable series.

Affected from
≥ 3.2.72 ≥ 3.4.111 ≥ 3.18.22 ≥ 4.1.7 ≥ 4.2
Fixed in
✓ 4.19.198 4.19.x ✓ 5.4.134 5.4.x ✓ 5.10.52 5.10.x ✓ 5.12.19 5.12.x ✓ 5.13.4 5.13.x ✓ 5.14

Frequently asked questions

  • What is CVE-2021-47328?

    CVE-2021-47328 is a High severity Linux kernel vulnerability with a CVSS score of 7.8 out of 10 , classified as an Use After Free flaw (CWE-416) . It affects Linux kernel versions from 3.2.72 onward and has been patched in 4.19.198, 5.4.134, 5.10.52 and others. CVE-2021-47328 has not been confirmed as actively exploited and is not listed in the CISA KEV catalog.

  • What is the CVSS score for CVE-2021-47328?

    CVE-2021-47328 has a CVSS score of 7.8 out of 10, rated High severity (CVSS 3.1). The vector string is CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H .

  • Is there a patch available for CVE-2021-47328?

    Yes. CVE-2021-47328 has been patched. Fixed versions include 4.19.198, 5.4.134, 5.10.52 and others. If you are running Linux kernel 3.2.72 or later up to the fix versions, apply the relevant patch for your kernel branch.

  • Is CVE-2021-47328 actively exploited?

    No. CVE-2021-47328 has not been confirmed as actively exploited. It is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.