# CVE-2023-53322: scsi: qla2xxx: Wait for io return on terminate rport

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.1, CNA) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Adjacent network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.34% (percentile 20, 2026-11-26)
- **CWE:** CWE-416
- **Published:** 2025-09-16T16:11:58.062Z
- **Modified:** 2026-08-05T09:13:31.190Z

## Who should check

- Anyone running Linux \>= 715848ca6fffeb6362a50887d9c26245bd5dfba9, \< 8a55556cd7e0220486163b1285ce11a8be2ce5fa; \>= 715848ca6fffeb6362a50887d9c26245bd5dfba9, \< 4647d2e88918a078359d1532d90c417a38542c9e; \>= 715848ca6fffeb6362a50887d9c26245bd5dfba9, \< d25fded78d88e1515439b3ba581684d683e0b6ab; \>= 715848ca6fffeb6362a50887d9c26245bd5dfba9, \< a9fe97fb7b4ee21bffb76f2acb05769bad27ae70; \>= 715848ca6fffeb6362a50887d9c26245bd5dfba9, \< 079c8264ed9fea8cbcac01ad29040f901cbc3692; \>= 715848ca6fffeb6362a50887d9c26245bd5dfba9, \< 90770dad1eb30967ebd8d37d82830bcf270b3293; \>= 715848ca6fffeb6362a50887d9c26245bd5dfba9, \< 5bcdaafd92be6035ddc77fa76650cf9dd5b864c4; \>= 715848ca6fffeb6362a50887d9c26245bd5dfba9, \< fc0cba0c7be8261a1625098bd1d695077ec621c9
- Anyone running Linux 2.6.34

## 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.

## Affected and fixed versions

- Linux: \>= 715848ca6fffeb6362a50887d9c26245bd5dfba9, \< 8a55556cd7e0220486163b1285ce11a8be2ce5fa; \>= 715848ca6fffeb6362a50887d9c26245bd5dfba9, \< 4647d2e88918a078359d1532d90c417a38542c9e; \>= 715848ca6fffeb6362a50887d9c26245bd5dfba9, \< d25fded78d88e1515439b3ba581684d683e0b6ab; \>= 715848ca6fffeb6362a50887d9c26245bd5dfba9, \< a9fe97fb7b4ee21bffb76f2acb05769bad27ae70; \>= 715848ca6fffeb6362a50887d9c26245bd5dfba9, \< 079c8264ed9fea8cbcac01ad29040f901cbc3692; \>= 715848ca6fffeb6362a50887d9c26245bd5dfba9, \< 90770dad1eb30967ebd8d37d82830bcf270b3293; \>= 715848ca6fffeb6362a50887d9c26245bd5dfba9, \< 5bcdaafd92be6035ddc77fa76650cf9dd5b864c4; \>= 715848ca6fffeb6362a50887d9c26245bd5dfba9, \< fc0cba0c7be8261a1625098bd1d695077ec621c9 (cvelist)
- Linux: 2.6.34 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-53322. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53322.md
Affected: Linux >= 715848ca6fffeb6362a50887d9c26245bd5dfba9, < 8a55556cd7e0220486163b1285ce11a8be2ce5fa; >= 715848ca6fffeb6362a50887d9c26245bd5dfba9, < 4647d2e88918a078359d1532d90c417a38542c9e; >= 715848ca6fffeb6362a50887d9c26245bd5dfba9, < d25fded78d88e1515439b3ba581684d683e0b6ab; >= 715848ca6fffeb6362a5088…
Fixed in: Linux 8a55556cd7e0220486163b1285ce11a8be2ce5fa, Linux 4647d2e88918a078359d1532d90c417a38542c9e, Linux 079c8264ed9fea8cbcac01ad29040f901cbc3692, Linux 90770dad1eb30967ebd8d37d82830bcf270b3293, Linux 5bcdaafd92be6035ddc77fa76650cf9dd5b864c4

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-53322 being exploited?

There is no confirmed exploitation: CVE-2023-53322 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.34% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2023-53322?

High: CVSS 8.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2023-53322?

Linux \>= 715848ca6fffeb6362a50887d9c26245bd5dfba9, \< 8a55556cd7e0220486163b1285ce11a8be2ce5fa; \>= 715848ca6fffeb6362a50887d9c26245bd5dfba9, \< 4647d2e88918a078359d1532d90c417a38542c9e; \>= 715848ca6fffeb6362a50887d9c26245bd5dfba9, \< d25fded78d88e1515439b3ba581684d683e0b6ab; \>= 715848ca6fffeb6362a50887d9c26245bd5dfba9, \< a9fe97fb7b4ee21bffb76f2acb05769bad27ae70; \>= 715848ca6fffeb6362a50887d9c26245bd5dfba9, \< 079c8264ed9fea8cbcac01ad29040f901cbc3692; \>= 715848ca6fffeb6362a50887d9c26245bd5dfba9, \< 90770dad1eb30967ebd8d37d82830bcf270b3293; \>= 715848ca6fffeb6362a50887d9c26245bd5dfba9, \< 5bcdaafd92be6035ddc77fa76650cf9dd5b864c4; \>= 715848ca6fffeb6362a50887d9c26245bd5dfba9, \< fc0cba0c7be8261a1625098bd1d695077ec621c9; Linux 2.6.34.

### Is there a fix for CVE-2023-53322?

Yes. Fixed in Linux 8a55556cd7e0220486163b1285ce11a8be2ce5fa, Linux 4647d2e88918a078359d1532d90c417a38542c9e, Linux 079c8264ed9fea8cbcac01ad29040f901cbc3692, Linux 90770dad1eb30967ebd8d37d82830bcf270b3293, Linux 5bcdaafd92be6035ddc77fa76650cf9dd5b864c4. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2023-53322?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/8a55556cd7e0220486163b1285ce11a8be2ce5fa>
- patch: <https://git.kernel.org/stable/c/4647d2e88918a078359d1532d90c417a38542c9e>
- patch: <https://git.kernel.org/stable/c/d25fded78d88e1515439b3ba581684d683e0b6ab>
- patch: <https://git.kernel.org/stable/c/a9fe97fb7b4ee21bffb76f2acb05769bad27ae70>
- patch: <https://git.kernel.org/stable/c/079c8264ed9fea8cbcac01ad29040f901cbc3692>
- patch: <https://git.kernel.org/stable/c/90770dad1eb30967ebd8d37d82830bcf270b3293>
- patch: <https://git.kernel.org/stable/c/5bcdaafd92be6035ddc77fa76650cf9dd5b864c4>
- patch: <https://git.kernel.org/stable/c/fc0cba0c7be8261a1625098bd1d695077ec621c9>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-53322>

HTML: <https://flawdb.com/CVE-2023-53322> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-53322>
