# CVE-2024-42289: scsi: qla2xxx: During vport delete send async logout explicitly

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; 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.32% (percentile 18, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2024-08-17T09:08:59.113Z
- **Modified:** 2026-06-17T07:49:11.227Z

## Who should check

- Anyone running Linux \>= efa93f48fa9d423fda166bc3b6c0cbb09682492e, \< 086489256696eb774654a5410e86381c346356fe; \>= efa93f48fa9d423fda166bc3b6c0cbb09682492e, \< 171ac4b495f9473bc134356a00095b47e6409e52; \>= efa93f48fa9d423fda166bc3b6c0cbb09682492e, \< e5ed6a26ffdec0c91cf0b6138afbd675c00ad5fc; \>= efa93f48fa9d423fda166bc3b6c0cbb09682492e, \< b12c54e51ba83c1fbc619d35083d7872e42ecdef; \>= efa93f48fa9d423fda166bc3b6c0cbb09682492e, \< d28a2075bb530489715a3b011e1dd8765ba20313; \>= efa93f48fa9d423fda166bc3b6c0cbb09682492e, \< 87c25fcb95aafabb6a4914239f4ab41b07a4f9b7; \>= efa93f48fa9d423fda166bc3b6c0cbb09682492e, \< b35d6d5a2f38605cddea7d5c64cded894fbe8ede; \>= efa93f48fa9d423fda166bc3b6c0cbb09682492e, \< 76f480d7c717368f29a3870f7d64471ce0ff8fb2; 01cda405c88b5ce1ff8c7d4006ec23ade2b0a507; 030680c5b21d4ec33234d17503827800e4550345; …
- Anyone running Linux 4.18

## Description

In the Linux kernel, the following vulnerability has been resolved:

scsi: qla2xxx: During vport delete send async logout explicitly

During vport delete, it is observed that during unload we hit a crash
because of stale entries in outstanding command array.  For all these stale
I/O entries, eh\_abort was issued and aborted (fast\_fail\_io = 2009h) but
I/Os could not complete while vport delete is in process of deleting.

  BUG: kernel NULL pointer dereference, address: 000000000000001c
  \#PF: supervisor read access in kernel mode
  \#PF: error\_code(0x0000) - not-present page
  PGD 0 P4D 0
  Oops: 0000 \[\#1\] PREEMPT SMP NOPTI
  Workqueue: qla2xxx\_wq qla\_do\_work \[qla2xxx\]
  RIP: 0010:dma\_direct\_unmap\_sg+0x51/0x1e0
  RSP: 0018:ffffa1e1e150fc68 EFLAGS: 00010046
  RAX: 0000000000000000 RBX: 0000000000000021 RCX: 0000000000000001
  RDX: 0000000000000021 RSI: 0000000000000000 RDI: ffff8ce208a7a0d0
  RBP: ffff8ce208a7a0d0 R08: 0000000000000000 R09: ffff8ce378aac9c8
  R10: ffff8ce378aac8a0 R11: ffffa1e1e150f9d8 R12: 0000000000000000
  R13: 0000000000000000 R14: ffff8ce378aac9c8 R15: 0000000000000000
  FS:  0000000000000000(0000) GS:ffff8d217f000000(0000) knlGS:0000000000000000
  CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
  CR2: 000000000000001c CR3: 0000002089acc000 CR4: 0000000000350ee0
  Call Trace:
  \<TASK\>
  qla2xxx\_qpair\_sp\_free\_dma+0x417/0x4e0
  ? qla2xxx\_qpair\_sp\_compl+0x10d/0x1a0
  ? qla2x00\_status\_entry+0x768/0x2830
  ? newidle\_balance+0x2f0/0x430
  ? dequeue\_entity+0x100/0x3c0
  ? qla24xx\_process\_response\_queue+0x6a1/0x19e0
  ? \_\_schedule+0x2d5/0x1140
  ? qla\_do\_work+0x47/0x60
  ? process\_one\_work+0x267/0x440
  ? process\_one\_work+0x440/0x440
  ? worker\_thread+0x2d/0x3d0
  ? process\_one\_work+0x440/0x440
  ? kthread+0x156/0x180
  ? set\_kthread\_struct+0x50/0x50
  ? ret\_from\_fork+0x22/0x30
  \</TASK\>

Send out async logout explicitly for all the ports during vport delete.

## Affected and fixed versions

- Linux: \>= efa93f48fa9d423fda166bc3b6c0cbb09682492e, \< 086489256696eb774654a5410e86381c346356fe; \>= efa93f48fa9d423fda166bc3b6c0cbb09682492e, \< 171ac4b495f9473bc134356a00095b47e6409e52; \>= efa93f48fa9d423fda166bc3b6c0cbb09682492e, \< e5ed6a26ffdec0c91cf0b6138afbd675c00ad5fc; \>= efa93f48fa9d423fda166bc3b6c0cbb09682492e, \< b12c54e51ba83c1fbc619d35083d7872e42ecdef; \>= efa93f48fa9d423fda166bc3b6c0cbb09682492e, \< d28a2075bb530489715a3b011e1dd8765ba20313; \>= efa93f48fa9d423fda166bc3b6c0cbb09682492e, \< 87c25fcb95aafabb6a4914239f4ab41b07a4f9b7; \>= efa93f48fa9d423fda166bc3b6c0cbb09682492e, \< b35d6d5a2f38605cddea7d5c64cded894fbe8ede; \>= efa93f48fa9d423fda166bc3b6c0cbb09682492e, \< 76f480d7c717368f29a3870f7d64471ce0ff8fb2; 01cda405c88b5ce1ff8c7d4006ec23ade2b0a507; 030680c5b21d4ec33234d17503827800e4550345; … (cvelist)
- Linux: 4.18 (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-2024-42289. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-42289.md
Affected: Linux >= efa93f48fa9d423fda166bc3b6c0cbb09682492e, < 086489256696eb774654a5410e86381c346356fe; >= efa93f48fa9d423fda166bc3b6c0cbb09682492e, < 171ac4b495f9473bc134356a00095b47e6409e52; >= efa93f48fa9d423fda166bc3b6c0cbb09682492e, < e5ed6a26ffdec0c91cf0b6138afbd675c00ad5fc; >= efa93f48fa9d423fda166bc…
Fixed in: Linux 086489256696eb774654a5410e86381c346356fe, Linux 171ac4b495f9473bc134356a00095b47e6409e52, Linux 87c25fcb95aafabb6a4914239f4ab41b07a4f9b7, Linux 76f480d7c717368f29a3870f7d64471ce0ff8fb2

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-2024-42289 being exploited?

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

### How serious is CVE-2024-42289?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-42289?

Linux \>= efa93f48fa9d423fda166bc3b6c0cbb09682492e, \< 086489256696eb774654a5410e86381c346356fe; \>= efa93f48fa9d423fda166bc3b6c0cbb09682492e, \< 171ac4b495f9473bc134356a00095b47e6409e52; \>= efa93f48fa9d423fda166bc3b6c0cbb09682492e, \< e5ed6a26ffdec0c91cf0b6138afbd675c00ad5fc; \>= efa93f48fa9d423fda166bc3b6c0cbb09682492e, \< b12c54e51ba83c1fbc619d35083d7872e42ecdef; \>= efa93f48fa9d423fda166bc3b6c0cbb09682492e, \< d28a2075bb530489715a3b011e1dd8765ba20313; \>= efa93f48fa9d423fda166bc3b6c0cbb09682492e, \< 87c25fcb95aafabb6a4914239f4ab41b07a4f9b7; \>= efa93f48fa9d423fda166bc3b6c0cbb09682492e, \< b35d6d5a2f38605cddea7d5c64cded894fbe8ede; \>= efa93f48fa9d423fda166bc3b6c0cbb09682492e, \< 76f480d7c717368f29a3870f7d64471ce0ff8fb2; 01cda405c88b5ce1ff8c7d4006ec23ade2b0a507; 030680c5b21d4ec33234d17503827800e4550345; …; Linux 4.18.

### Is there a fix for CVE-2024-42289?

Yes. Fixed in Linux 086489256696eb774654a5410e86381c346356fe, Linux 171ac4b495f9473bc134356a00095b47e6409e52, Linux 87c25fcb95aafabb6a4914239f4ab41b07a4f9b7, Linux 76f480d7c717368f29a3870f7d64471ce0ff8fb2. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-42289?

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/086489256696eb774654a5410e86381c346356fe>
- patch: <https://git.kernel.org/stable/c/171ac4b495f9473bc134356a00095b47e6409e52>
- patch: <https://git.kernel.org/stable/c/e5ed6a26ffdec0c91cf0b6138afbd675c00ad5fc>
- patch: <https://git.kernel.org/stable/c/b12c54e51ba83c1fbc619d35083d7872e42ecdef>
- patch: <https://git.kernel.org/stable/c/d28a2075bb530489715a3b011e1dd8765ba20313>
- patch: <https://git.kernel.org/stable/c/87c25fcb95aafabb6a4914239f4ab41b07a4f9b7>
- patch: <https://git.kernel.org/stable/c/b35d6d5a2f38605cddea7d5c64cded894fbe8ede>
- patch: <https://git.kernel.org/stable/c/76f480d7c717368f29a3870f7d64471ce0ff8fb2>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- other: <https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html>

## 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-2024-42289>

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