CVE-2021-47427
Severity CVSS v4.0:
Pending analysis
Type:
CWE-416
Use After Free
Publication date:
21/05/2024
Last modified:
31/12/2024
Description
In the Linux kernel, the following vulnerability has been resolved:<br />
<br />
scsi: iscsi: Fix iscsi_task use after free<br />
<br />
Commit d39df158518c ("scsi: iscsi: Have abort handler get ref to conn")<br />
added iscsi_get_conn()/iscsi_put_conn() calls during abort handling but<br />
then also changed the handling of the case where we detect an already<br />
completed task where we now end up doing a goto to the common put/cleanup<br />
code. This results in a iscsi_task use after free, because the common<br />
cleanup code will do a put on the iscsi_task.<br />
<br />
This reverts the goto and moves the iscsi_get_conn() to after we&#39;ve checked<br />
if the iscsi_task is valid.
Impact
Base Score 3.x
7.80
Severity 3.x
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* | 5.14 (including) | 5.14.12 (excluding) |
| cpe:2.3:o:linux:linux_kernel:5.15:rc1:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:5.15:rc2:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:5.15:rc3:*:*:*:*:*:* | ||
| cpe:2.3:o:linux:linux_kernel:5.15:rc4:*:*:*:*:*:* |
To consult the complete list of CPE names with products and versions, see this page



