2084AI Security Observatory

CVE

CVE-2021-47328

CVE-2021-47328HIGH 7.8EPSS 56%

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

Affected versions

All Linux kernel vulnerabilities →

  • ≥ 5.13, < 5.13.4Fixed in 5.13.4
  • ≥ 5.11, < 5.12.19Fixed in 5.12.19
  • ≥ 5.5, < 5.10.52Fixed in 5.10.52
  • ≥ 4.20, < 5.4.134Fixed in 5.4.134
  • < 4.19.198Fixed in 4.19.198

Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.

Advisories and patches

Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.