CVE-2021-47427
Linux Kernel use-after-free
- Published21 May 2024
Description
In the Linux kernel, the following vulnerability has been resolved: scsi: iscsi: Fix iscsi_task use after free Commit d39df158518c ("scsi: iscsi: Have abort handler get ref to conn") added iscsi_get_conn()/iscsi_put_conn() calls during abort handling but then also changed the handling of the case where we detect an already completed task where we now end up doing a goto to the common put/cleanup code. This results in a iscsi_task use after free, because the common cleanup code will do a put on the iscsi_task. This reverts the goto and moves the iscsi_get_conn() to after we've checked if the iscsi_task is valid.
CVSS 3.1 breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HAffected products
Remediation
References
Related CVEs
Recent high-severity vulnerabilities sharing a weakness type.
Frequently asked
Is CVE-2021-47427 being actively exploited?
CVE-2021-47427 is not in the CISA KEV catalog. Its EPSS exploit probability is 0.46%.
How severe is CVE-2021-47427?
CVE-2021-47427 has a CVSS 3.1 base score of 9.8, rated critical. EPSS estimates a 0.46% probability of exploitation.
Which products are affected by CVE-2021-47427?
Affected products include Linux Kernel.
How do I fix CVE-2021-47427?
Upgrade affected software to a fixed version, for example Linux Kernel 5.14.12 or later, then confirm no affected versions remain in your inventory.
How Secuno handles this
Secuno correlates vulnerabilities like CVE-2021-47427 against the real software inventory on every managed device, as each hourly inventory arrives. Rather than a static severity, each match is scored in context: exploit availability, EPSS, the asset's exposure, and business criticality decide where it lands in the queue. If an affected version is present anywhere across your portfolio, it surfaces automatically with a prioritised remediation path.
Data from the NVD, CISA KEV catalog and FIRST EPSS. CVSS 3.1 base score shown where available.