Skip to content
Heist/ feed
Back to feed
HighFix available

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

Type: advisorySources: OSV

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.

Products
Kernel
Affected versions
Not specified
Fixed versions
5.15.221, 6.1.188, 6.12.110, 6.18.51, 6.6.157, 7.2.5
CVEs
CVE-2026-89863
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 15:57 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 16 Sept 2026, 10:31 UTC

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.

osv:CVE-2026-89863

Kernel

Fixed versions: 5.15.221, 6.1.188, 6.6.157, 6.12.110, 6.18.51, 7.2.5

Complete source record
{
  "id": "3be9517d14d1c6e00290f50ddb098ae63e1a9f77e7f239d0d1a7b25acd98d2c2",
  "url": "https://osv.dev/vulnerability/CVE-2026-89863",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "scsi: qla2xxx: edif: Fix NULL pointer deref in RX SA delete check",
    "summary": "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.",
    "evidence": "osv:CVE-2026-89863",
    "products": [
      {
        "name": {
          "value": "Kernel",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "5.15.221",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.1.188",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.6.157",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.12.110",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "6.18.51",
            "evidence": "/affected/1/ranges"
          },
          {
            "value": "7.2.5",
            "evidence": "/affected/1/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-89863",
      "aliases": [
        "CVE-2026-89863"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
              "type": "GIT",
              "events": [
                {
                  "introduced": "dd30706e73b70d67e88fdaca688db7a3374fd5de"
                },
                {
                  "fixed": "e479e9b148456905d12711411484b94083c8ff58"
                },
                {
                  "fixed": "2191b0034a2f1307d421782e6eceddf8eec9e7f6"
                },
                {
                  "fixed": "de0c8ef3b900c5e971c82ef38c6f5c22c5f3d8c1"
                },
                {
                  "fixed": "96eb8a3fc9f7fe7ba32679fcf1d2fd7d251e7a8b"
                },
                {
                  "fixed": "94bfb61478bcb207d27f8cd24fd231421059519f"
                },
                {
                  "fixed": "75fd6d041c4a325ae37f4683e6678d3015988bb0"
                },
                {
                  "fixed": "c20ee380ca59c5a8646750c4849969a815924e2e"
                }
              ]
            }
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89863.json"
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.15.0"
                },
                {
                  "fixed": "5.15.221"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "5.16.0"
                },
                {
                  "fixed": "6.1.188"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.2.0"
                },
                {
                  "fixed": "6.6.157"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.7.0"
                },
                {
                  "fixed": "6.12.110"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.13.0"
                },
                {
                  "fixed": "6.18.51"
                }
              ]
            },
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "6.19.0"
                },
                {
                  "fixed": "7.2.5"
                }
              ]
            }
          ],
          "package": {
            "name": "Kernel",
            "ecosystem": "Linux"
          },
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-89863.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:36.925579803Z",
      "provider": "osv",
      "references": [
        "https://git.kernel.org/stable/c/2191b0034a2f1307d421782e6eceddf8eec9e7f6",
        "https://git.kernel.org/stable/c/75fd6d041c4a325ae37f4683e6678d3015988bb0",
        "https://git.kernel.org/stable/c/94bfb61478bcb207d27f8cd24fd231421059519f",
        "https://git.kernel.org/stable/c/96eb8a3fc9f7fe7ba32679fcf1d2fd7d251e7a8b",
        "https://git.kernel.org/stable/c/c20ee380ca59c5a8646750c4849969a815924e2e",
        "https://git.kernel.org/stable/c/de0c8ef3b900c5e971c82ef38c6f5c22c5f3d8c1",
        "https://git.kernel.org/stable/c/e479e9b148456905d12711411484b94083c8ff58",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89863.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-89863",
        "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
      ],
      "provider_metadata": {
        "cna_assigner": "Linux",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/89xxx/CVE-2026-89863.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-89863",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 504377,
  "published_at": "2026-09-16T10:31:34.377+00:00"
}