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

Published Sep 16, 2026
·
Updated

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

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

qlachkedifrxsadeletepending() obtains the SCSI command via GETCMDSP(sp) and immediately dereferences cmd->scdatadirection. 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 qla2x00statusentry() acknowledges this on the very same status path, re-fetching GETCMDSP(sp) and bailing out with the "Command already returned" message when it is NULL -- but that check runs only after qlachkedifrxsadeletepending() has already dereferenced the pointer, so a NULL cmd crashes the kernel in interrupt context.

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

Affected Software

1 affected component
The Linux Kernel Project Linux Kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Linux kernel to a version that resolves this vulnerability.

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

Event History

Sep 16, 2026
CVE Published
via MITRE·10:31 AM
Data Sourced
via MITRE·10:31 AM
Description

Frequently Asked Questions

1

Which systems are exposed to this crash?

Systems using the Linux kernel qla2xxx driver with EDIF functionality are exposed when firmware can report a status completion for a SCSI command that has already been returned or aborted.

2

What must happen to trigger the issue?

The driver must process a status completion whose associated SCSI command pointer is NULL. The vulnerable RX SA delete check dereferences that pointer before the later status-path check can recognize that the command was already returned.

3

What is the impact of successful triggering?

The NULL pointer dereference crashes the kernel in interrupt context.

4

How can I tell whether this condition has occurred?

The related status path can log the message "Command already returned" when it re-fetches a NULL command pointer. In the vulnerable ordering, however, the earlier dereference may crash the kernel before that check is reached.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203