# CVE-2026-89863: scsi: qla2xxx: edif: Fix NULL pointer deref in RX SA delete check

- Severity: High 7.5 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/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.68%, higher than 53% of CVEs (2026-12-01)
- Published: 2026-09-16T10:31:34.377Z
- Modified: 2026-10-19T09:18:30.870Z
- Assigned by: Linux

## Description

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

scsi: qla2xxx: edif: Fix NULL pointer deref in RX SA delete check

qla_chk_edif_rx_sa_delete_pending() obtains the SCSI command via
GET_CMD_SP(sp) and immediately dereferences cmd->sc_data_direction.
That command pointer can be NULL: the firmware may post a status
completion for a command that has already been returned or aborted.  The
caller qla2x00_status_entry() acknowledges this on the very same status
path, re-fetching GET_CMD_SP(sp) and bailing out with the "Command
already returned" message when it is NULL -- but that check runs only
after qla_chk_edif_rx_sa_delete_pending() has already dereferenced the
pointer, so a NULL cmd crashes the kernel in interrupt context.

Return early when cmd is NULL, before touching cmd->sc_data_direction.

(As written by CVE List.)

## Affected

- Linux Linux: from dd30706e73b70d67e88fdaca688db7a3374fd5de before e479e9b148456905d12711411484b94083c8ff58; from dd30706e73b70d67e88fdaca688db7a3374fd5de before 2191b0034a2f1307d421782e6eceddf8eec9e7f6; from dd30706e73b70d67e88fdaca688db7a3374fd5de before de0c8ef3b900c5e971c82ef38c6f5c22c5f3d8c1; from dd30706e73b70d67e88fdaca688db7a3374fd5de before 96eb8a3fc9f7fe7ba32679fcf1d2fd7d251e7a8b; from dd30706e73b70d67e88fdaca688db7a3374fd5de before 94bfb61478bcb207d27f8cd24fd231421059519f; from dd30706e73b70d67e88fdaca688db7a3374fd5de before 75fd6d041c4a325ae37f4683e6678d3015988bb0; from dd30706e73b70d67e88fdaca688db7a3374fd5de before c20ee380ca59c5a8646750c4849969a815924e2e; 5.15 (not affected: before 5.15; from 5.15.221 up to 5.15.*; from 6.1.188 up to 6.1.*; from 6.6.157 up to 6.6.*; from 6.12.110 up to 6.12.*; from 6.18.51 up to 6.18.*; from 7.2.5 up to 7.2.*; from 7.3 up to *)

## References

- <https://git.kernel.org/stable/c/e479e9b148456905d12711411484b94083c8ff58>
- <https://git.kernel.org/stable/c/2191b0034a2f1307d421782e6eceddf8eec9e7f6>
- <https://git.kernel.org/stable/c/de0c8ef3b900c5e971c82ef38c6f5c22c5f3d8c1>
- <https://git.kernel.org/stable/c/96eb8a3fc9f7fe7ba32679fcf1d2fd7d251e7a8b>
- <https://git.kernel.org/stable/c/94bfb61478bcb207d27f8cd24fd231421059519f>
- <https://git.kernel.org/stable/c/75fd6d041c4a325ae37f4683e6678d3015988bb0>
- <https://git.kernel.org/stable/c/c20ee380ca59c5a8646750c4849969a815924e2e>

## Sources

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

---

Page: https://cve.day/CVE-2026-89863 · Whole record: https://cve.day/CVE-2026-89863.json · Rebuilt by cve.day 2026-11-25T22:59:38.960Z
