CVE-2026-89863

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

State
Published
Severity
7.5 High
Published
Sep 16, 2026
Updated
Oct 19, 2026
Reserved
Sep 11, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • dd30706e73b70d67e88fdaca688db7a3374fd5de to before e479e9b148456905d12711411484b94083c8ff58Affected
  • dd30706e73b70d67e88fdaca688db7a3374fd5de to before 2191b0034a2f1307d421782e6eceddf8eec9e7f6Affected
  • dd30706e73b70d67e88fdaca688db7a3374fd5de to before de0c8ef3b900c5e971c82ef38c6f5c22c5f3d8c1Affected
  • dd30706e73b70d67e88fdaca688db7a3374fd5de to before 96eb8a3fc9f7fe7ba32679fcf1d2fd7d251e7a8bAffected
  • dd30706e73b70d67e88fdaca688db7a3374fd5de to before 94bfb61478bcb207d27f8cd24fd231421059519fAffected
  • dd30706e73b70d67e88fdaca688db7a3374fd5de to before 75fd6d041c4a325ae37f4683e6678d3015988bb0Affected
  • dd30706e73b70d67e88fdaca688db7a3374fd5de to before c20ee380ca59c5a8646750c4849969a815924e2eAffected
LinuxLinux
  • 5.15Affected
  • before 5.15Not affected
  • 5.15.221 through 5.15.*Not affected
  • 6.1.188 through 6.1.*Not affected
  • 6.6.157 through 6.6.*Not affected
  • 6.12.110 through 6.12.*Not affected
  • 6.18.51 through 6.18.*Not affected
  • 7.2.5 through 7.2.*Not affected
  • 7.3 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.