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

- Severity: High 8.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Published: 2025-09-16T16:11:58.062Z
- Modified: 2026-08-05T09:13:31.190Z
- Weaknesses: CWE-416
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: Linux

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

(As written by CVE List.)

## Affected

- Linux Linux: from 715848ca6fffeb6362a50887d9c26245bd5dfba9 before 8a55556cd7e0220486163b1285ce11a8be2ce5fa; from 715848ca6fffeb6362a50887d9c26245bd5dfba9 before 4647d2e88918a078359d1532d90c417a38542c9e; from 715848ca6fffeb6362a50887d9c26245bd5dfba9 before d25fded78d88e1515439b3ba581684d683e0b6ab; from 715848ca6fffeb6362a50887d9c26245bd5dfba9 before a9fe97fb7b4ee21bffb76f2acb05769bad27ae70; from 715848ca6fffeb6362a50887d9c26245bd5dfba9 before 079c8264ed9fea8cbcac01ad29040f901cbc3692; from 715848ca6fffeb6362a50887d9c26245bd5dfba9 before 90770dad1eb30967ebd8d37d82830bcf270b3293; from 715848ca6fffeb6362a50887d9c26245bd5dfba9 before 5bcdaafd92be6035ddc77fa76650cf9dd5b864c4; from 715848ca6fffeb6362a50887d9c26245bd5dfba9 before fc0cba0c7be8261a1625098bd1d695077ec621c9; 2.6.34 (not affected: before 2.6.34; from 4.14.322 up to 4.14.*; from 4.19.291 up to 4.19.*; from 5.4.251 up to 5.4.*; from 5.10.188 up to 5.10.*; from 5.15.121 up to 5.15.*; from 6.1.40 up to 6.1.*; from 6.4.5 up to 6.4.*; from 6.5 up to *)
- linux linux_kernel: before 4.14.322; from 4.15 before 4.19.291; from 4.20 before 5.4.251; from 5.5 before 5.10.188; from 5.11 before 5.15.121; from 5.16 before 6.1.40; from 6.2 before 6.4.5

## Every score

- Linux: CVSS:3.1 8.8 High `CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- CISA-ADP: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <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> (patch)

## Sources

- CVE List: [CVE-2023-53322](https://www.cve.org/CVERecord?id=CVE-2023-53322), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2023-53322](https://nvd.nist.gov/vuln/detail/CVE-2023-53322), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2023-53322 · Whole record: https://cve.day/CVE-2023-53322.json · Rebuilt by cve.day 2026-11-25T22:58:34.829Z
