scsi: qla2xxx: Wait for io return on terminate rport

Summary

CVECVE-2023-53322
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2025-09-16 17:15:38 UTC
Updated2026-08-04 10:19:01 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: scsi: qla2xxx: Wait for io return on terminate rport System crash due to use after free. Current code allows terminate_rport_io to exit before making sure all IOs has returned. For FCP-2 device, IO's can hang on in HW because driver has not tear down the session in FW at first sign of cable pull. When dev_loss_tmo timer pops, terminate_rport_io is called and upper layer is about to free various resources. Terminate_rport_io trigger qla to do the final cleanup, but the cleanup might not be fast enough where it leave qla still holding on to the same resource. Wait for IO's to return to upper layer before resources are freed.

Risk And Classification

Primary CVSS: v3.1 7.8 HIGH from [email protected]

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Problem Types: CWE-416 | CWE-416 CWE-416 Use After Free


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary7.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
3.1ADPDECLARED7.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
3.1416baaa9-dc9f-4396-8d5f-8c081fb06d67Secondary8.8HIGHCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
3.1134c704f-9b21-4f2e-91b3-4a467353bcc0Secondary7.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
3.1CNADECLARED8.8HIGHCVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Linux Linux Kernel All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected 715848ca6fffeb6362a50887d9c26245bd5dfba9 8a55556cd7e0220486163b1285ce11a8be2ce5fa git Not specified
CNA Linux Linux affected 715848ca6fffeb6362a50887d9c26245bd5dfba9 4647d2e88918a078359d1532d90c417a38542c9e git Not specified
CNA Linux Linux affected 715848ca6fffeb6362a50887d9c26245bd5dfba9 d25fded78d88e1515439b3ba581684d683e0b6ab git Not specified
CNA Linux Linux affected 715848ca6fffeb6362a50887d9c26245bd5dfba9 a9fe97fb7b4ee21bffb76f2acb05769bad27ae70 git Not specified
CNA Linux Linux affected 715848ca6fffeb6362a50887d9c26245bd5dfba9 079c8264ed9fea8cbcac01ad29040f901cbc3692 git Not specified
CNA Linux Linux affected 715848ca6fffeb6362a50887d9c26245bd5dfba9 90770dad1eb30967ebd8d37d82830bcf270b3293 git Not specified
CNA Linux Linux affected 715848ca6fffeb6362a50887d9c26245bd5dfba9 5bcdaafd92be6035ddc77fa76650cf9dd5b864c4 git Not specified
CNA Linux Linux affected 715848ca6fffeb6362a50887d9c26245bd5dfba9 fc0cba0c7be8261a1625098bd1d695077ec621c9 git Not specified
CNA Linux Linux affected 2.6.34 Not specified
CNA Linux Linux unaffected 2.6.34 semver Not specified
CNA Linux Linux unaffected 4.14.322 4.14.* semver Not specified
CNA Linux Linux unaffected 4.19.291 4.19.* semver Not specified
CNA Linux Linux unaffected 5.4.251 5.4.* semver Not specified
CNA Linux Linux unaffected 5.10.188 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.121 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.40 6.1.* semver Not specified
CNA Linux Linux unaffected 6.4.5 6.4.* semver Not specified
CNA Linux Linux unaffected 6.5 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/90770dad1eb30967ebd8d37d82830bcf270b3293 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/8a55556cd7e0220486163b1285ce11a8be2ce5fa 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/a9fe97fb7b4ee21bffb76f2acb05769bad27ae70 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/fc0cba0c7be8261a1625098bd1d695077ec621c9 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/079c8264ed9fea8cbcac01ad29040f901cbc3692 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/d25fded78d88e1515439b3ba581684d683e0b6ab 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/5bcdaafd92be6035ddc77fa76650cf9dd5b864c4 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/4647d2e88918a078359d1532d90c417a38542c9e 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report