CVE-2021-47328 (GCVE-0-2021-47328)
Vulnerability from cvelistv5
Published
2024-05-21 14:35
Modified
2025-12-18 11:36
Severity ?
VLAI Severity ?
EPSS score ?
Summary
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.
References
Impacted products
| Vendor | Product | Version | ||
|---|---|---|---|---|
| Linux | Linux |
Version: 660d0831d1494a6837b2f810d08b5be092c1f31d Version: 660d0831d1494a6837b2f810d08b5be092c1f31d Version: 660d0831d1494a6837b2f810d08b5be092c1f31d Version: 660d0831d1494a6837b2f810d08b5be092c1f31d Version: 660d0831d1494a6837b2f810d08b5be092c1f31d Version: 660d0831d1494a6837b2f810d08b5be092c1f31d Version: 861a9633c22ee8b484e1b4054995f7e1b94a3834 Version: 0adcec66bce9b7e84847da09ae3f8bc36e753312 Version: 20b38ab5b687df3dbb873cfb0efa946a021f890a Version: 71b6a23ea944c6a30958bd15a69211e1fd521e1e |
||
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2021-47328",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2024-05-23T19:06:33.421642Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2024-07-05T17:22:48.620Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
},
{
"providerMetadata": {
"dateUpdated": "2024-08-04T05:32:08.445Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"tags": [
"x_transferred"
],
"url": "https://git.kernel.org/stable/c/bf20d85a88384574fabb3d53ad62a8af57e7ab11"
},
{
"tags": [
"x_transferred"
],
"url": "https://git.kernel.org/stable/c/d04958a348e560938410e04a12fb99da9c7e6a00"
},
{
"tags": [
"x_transferred"
],
"url": "https://git.kernel.org/stable/c/89812e7957ab0746eab66ed6fc49d52bb4dca250"
},
{
"tags": [
"x_transferred"
],
"url": "https://git.kernel.org/stable/c/f0a031f7c55ffd944fead1ddaf2aa94df9a158c1"
},
{
"tags": [
"x_transferred"
],
"url": "https://git.kernel.org/stable/c/fa9542b35ceb4202e8f8d65f440529a63524dca9"
},
{
"tags": [
"x_transferred"
],
"url": "https://git.kernel.org/stable/c/ec29d0ac29be366450a7faffbcf8cba3a6a3b506"
}
],
"title": "CVE Program Container"
}
],
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"product": "Linux",
"programFiles": [
"drivers/scsi/libiscsi.c",
"include/scsi/libiscsi.h"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"lessThan": "bf20d85a88384574fabb3d53ad62a8af57e7ab11",
"status": "affected",
"version": "660d0831d1494a6837b2f810d08b5be092c1f31d",
"versionType": "git"
},
{
"lessThan": "d04958a348e560938410e04a12fb99da9c7e6a00",
"status": "affected",
"version": "660d0831d1494a6837b2f810d08b5be092c1f31d",
"versionType": "git"
},
{
"lessThan": "89812e7957ab0746eab66ed6fc49d52bb4dca250",
"status": "affected",
"version": "660d0831d1494a6837b2f810d08b5be092c1f31d",
"versionType": "git"
},
{
"lessThan": "f0a031f7c55ffd944fead1ddaf2aa94df9a158c1",
"status": "affected",
"version": "660d0831d1494a6837b2f810d08b5be092c1f31d",
"versionType": "git"
},
{
"lessThan": "fa9542b35ceb4202e8f8d65f440529a63524dca9",
"status": "affected",
"version": "660d0831d1494a6837b2f810d08b5be092c1f31d",
"versionType": "git"
},
{
"lessThan": "ec29d0ac29be366450a7faffbcf8cba3a6a3b506",
"status": "affected",
"version": "660d0831d1494a6837b2f810d08b5be092c1f31d",
"versionType": "git"
},
{
"status": "affected",
"version": "861a9633c22ee8b484e1b4054995f7e1b94a3834",
"versionType": "git"
},
{
"status": "affected",
"version": "0adcec66bce9b7e84847da09ae3f8bc36e753312",
"versionType": "git"
},
{
"status": "affected",
"version": "20b38ab5b687df3dbb873cfb0efa946a021f890a",
"versionType": "git"
},
{
"status": "affected",
"version": "71b6a23ea944c6a30958bd15a69211e1fd521e1e",
"versionType": "git"
}
]
},
{
"defaultStatus": "affected",
"product": "Linux",
"programFiles": [
"drivers/scsi/libiscsi.c",
"include/scsi/libiscsi.h"
],
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"versions": [
{
"status": "affected",
"version": "4.2"
},
{
"lessThan": "4.2",
"status": "unaffected",
"version": "0",
"versionType": "semver"
},
{
"lessThanOrEqual": "4.19.*",
"status": "unaffected",
"version": "4.19.198",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.4.*",
"status": "unaffected",
"version": "5.4.134",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.10.*",
"status": "unaffected",
"version": "5.10.52",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.12.*",
"status": "unaffected",
"version": "5.12.19",
"versionType": "semver"
},
{
"lessThanOrEqual": "5.13.*",
"status": "unaffected",
"version": "5.13.4",
"versionType": "semver"
},
{
"lessThanOrEqual": "*",
"status": "unaffected",
"version": "5.14",
"versionType": "original_commit_for_fix"
}
]
}
],
"cpeApplicability": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "4.19.198",
"versionStartIncluding": "4.2",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.4.134",
"versionStartIncluding": "4.2",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.10.52",
"versionStartIncluding": "4.2",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.12.19",
"versionStartIncluding": "4.2",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.13.4",
"versionStartIncluding": "4.2",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionEndExcluding": "5.14",
"versionStartIncluding": "4.2",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "3.2.72",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "3.4.111",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "3.18.22",
"vulnerable": true
},
{
"criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
"versionStartIncluding": "4.1.7",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: iscsi: Fix conn use after free during resets\n\nIf we haven\u0027t done a unbind target call we can race where\niscsi_conn_teardown wakes up the EH thread and then frees the conn while\nthose threads are still accessing the conn ehwait.\n\nWe can only do one TMF per session so this just moves the TMF fields from\nthe conn to the session. We can then rely on the\niscsi_session_teardown-\u003eiscsi_remove_session-\u003e__iscsi_unbind_session call\nto remove the target and it\u0027s devices, and know after that point there is\nno device or scsi-ml callout trying to access the session."
}
],
"providerMetadata": {
"dateUpdated": "2025-12-18T11:36:48.521Z",
"orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"shortName": "Linux"
},
"references": [
{
"url": "https://git.kernel.org/stable/c/bf20d85a88384574fabb3d53ad62a8af57e7ab11"
},
{
"url": "https://git.kernel.org/stable/c/d04958a348e560938410e04a12fb99da9c7e6a00"
},
{
"url": "https://git.kernel.org/stable/c/89812e7957ab0746eab66ed6fc49d52bb4dca250"
},
{
"url": "https://git.kernel.org/stable/c/f0a031f7c55ffd944fead1ddaf2aa94df9a158c1"
},
{
"url": "https://git.kernel.org/stable/c/fa9542b35ceb4202e8f8d65f440529a63524dca9"
},
{
"url": "https://git.kernel.org/stable/c/ec29d0ac29be366450a7faffbcf8cba3a6a3b506"
}
],
"title": "scsi: iscsi: Fix conn use after free during resets",
"x_generator": {
"engine": "bippy-1.2.0"
}
}
},
"cveMetadata": {
"assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
"assignerShortName": "Linux",
"cveId": "CVE-2021-47328",
"datePublished": "2024-05-21T14:35:40.479Z",
"dateReserved": "2024-05-21T14:28:16.975Z",
"dateUpdated": "2025-12-18T11:36:48.521Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"vulnrichment": {
"containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://git.kernel.org/stable/c/bf20d85a88384574fabb3d53ad62a8af57e7ab11\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/d04958a348e560938410e04a12fb99da9c7e6a00\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/89812e7957ab0746eab66ed6fc49d52bb4dca250\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/f0a031f7c55ffd944fead1ddaf2aa94df9a158c1\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/fa9542b35ceb4202e8f8d65f440529a63524dca9\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/ec29d0ac29be366450a7faffbcf8cba3a6a3b506\", \"tags\": [\"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-04T05:32:08.445Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2021-47328\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-05-23T19:06:33.421642Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-07-05T15:20:43.975Z\"}}], \"cna\": {\"title\": \"scsi: iscsi: Fix conn use after free during resets\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"660d0831d1494a6837b2f810d08b5be092c1f31d\", \"lessThan\": \"bf20d85a88384574fabb3d53ad62a8af57e7ab11\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"660d0831d1494a6837b2f810d08b5be092c1f31d\", \"lessThan\": \"d04958a348e560938410e04a12fb99da9c7e6a00\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"660d0831d1494a6837b2f810d08b5be092c1f31d\", \"lessThan\": \"89812e7957ab0746eab66ed6fc49d52bb4dca250\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"660d0831d1494a6837b2f810d08b5be092c1f31d\", \"lessThan\": \"f0a031f7c55ffd944fead1ddaf2aa94df9a158c1\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"660d0831d1494a6837b2f810d08b5be092c1f31d\", \"lessThan\": \"fa9542b35ceb4202e8f8d65f440529a63524dca9\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"660d0831d1494a6837b2f810d08b5be092c1f31d\", \"lessThan\": \"ec29d0ac29be366450a7faffbcf8cba3a6a3b506\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"861a9633c22ee8b484e1b4054995f7e1b94a3834\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"0adcec66bce9b7e84847da09ae3f8bc36e753312\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"20b38ab5b687df3dbb873cfb0efa946a021f890a\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"71b6a23ea944c6a30958bd15a69211e1fd521e1e\", \"versionType\": \"git\"}], \"programFiles\": [\"drivers/scsi/libiscsi.c\", \"include/scsi/libiscsi.h\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"4.2\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"4.2\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"4.19.198\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"4.19.*\"}, {\"status\": \"unaffected\", \"version\": \"5.4.134\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.4.*\"}, {\"status\": \"unaffected\", \"version\": \"5.10.52\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.10.*\"}, {\"status\": \"unaffected\", \"version\": \"5.12.19\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.12.*\"}, {\"status\": \"unaffected\", \"version\": \"5.13.4\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.13.*\"}, {\"status\": \"unaffected\", \"version\": \"5.14\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"drivers/scsi/libiscsi.c\", \"include/scsi/libiscsi.h\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/bf20d85a88384574fabb3d53ad62a8af57e7ab11\"}, {\"url\": \"https://git.kernel.org/stable/c/d04958a348e560938410e04a12fb99da9c7e6a00\"}, {\"url\": \"https://git.kernel.org/stable/c/89812e7957ab0746eab66ed6fc49d52bb4dca250\"}, {\"url\": \"https://git.kernel.org/stable/c/f0a031f7c55ffd944fead1ddaf2aa94df9a158c1\"}, {\"url\": \"https://git.kernel.org/stable/c/fa9542b35ceb4202e8f8d65f440529a63524dca9\"}, {\"url\": \"https://git.kernel.org/stable/c/ec29d0ac29be366450a7faffbcf8cba3a6a3b506\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nscsi: iscsi: Fix conn use after free during resets\\n\\nIf we haven\u0027t done a unbind target call we can race where\\niscsi_conn_teardown wakes up the EH thread and then frees the conn while\\nthose threads are still accessing the conn ehwait.\\n\\nWe can only do one TMF per session so this just moves the TMF fields from\\nthe conn to the session. We can then rely on the\\niscsi_session_teardown-\u003eiscsi_remove_session-\u003e__iscsi_unbind_session call\\nto remove the target and it\u0027s devices, and know after that point there is\\nno device or scsi-ml callout trying to access the session.\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"4.19.198\", \"versionStartIncluding\": \"4.2\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.4.134\", \"versionStartIncluding\": \"4.2\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.10.52\", \"versionStartIncluding\": \"4.2\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.12.19\", \"versionStartIncluding\": \"4.2\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.13.4\", \"versionStartIncluding\": \"4.2\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.14\", \"versionStartIncluding\": \"4.2\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionStartIncluding\": \"3.2.72\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionStartIncluding\": \"3.4.111\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionStartIncluding\": \"3.18.22\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionStartIncluding\": \"4.1.7\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2025-12-18T11:36:48.521Z\"}}}",
"cveMetadata": "{\"cveId\": \"CVE-2021-47328\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2025-12-18T11:36:48.521Z\", \"dateReserved\": \"2024-05-21T14:28:16.975Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-05-21T14:35:40.479Z\", \"assignerShortName\": \"Linux\"}",
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…