scsi: qla2xxx: Wait for io return on terminate rport
Summary
| CVE | CVE-2023-53322 |
|---|---|
| State | PUBLISHED |
| Assigner | Linux |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2025-09-16 17:15:38 UTC |
| Updated | 2026-08-04 10:19:01 UTC |
| Description | In 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
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | ADP | DECLARED | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | 416baaa9-dc9f-4396-8d5f-8c081fb06d67 | Secondary | 8.8 | HIGH | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | Secondary | 7.8 | HIGH | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | CNA | DECLARED | 8.8 | HIGH | CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS: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)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Linux | Linux Kernel | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| 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
| Reference | Source | Link | Tags |
|---|---|---|---|
| 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 |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.