{"id":"CVE-2026-89863","state":"PUBLISHED","title":"scsi: qla2xxx: edif: Fix NULL pointer deref in RX SA delete check","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: qla2xxx: edif: Fix NULL pointer deref in RX SA delete check\n\nqla_chk_edif_rx_sa_delete_pending() obtains the SCSI command via\nGET_CMD_SP(sp) and immediately dereferences cmd->sc_data_direction.\nThat command pointer can be NULL: the firmware may post a status\ncompletion for a command that has already been returned or aborted.  The\ncaller qla2x00_status_entry() acknowledges this on the very same status\npath, re-fetching GET_CMD_SP(sp) and bailing out with the \"Command\nalready returned\" message when it is NULL -- but that check runs only\nafter qla_chk_edif_rx_sa_delete_pending() has already dereferenced the\npointer, so a NULL cmd crashes the kernel in interrupt context.\n\nReturn early when cmd is NULL, before touching cmd->sc_data_direction.","publishedAt":"2026-09-16T10:31:34.377Z","updatedAt":"2026-10-19T08:53:56.648Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"Linux"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"dd30706e73b70d67e88fdaca688db7a3374fd5de","status":"affected","lessThan":"e479e9b148456905d12711411484b94083c8ff58","versionType":"git"},{"version":"dd30706e73b70d67e88fdaca688db7a3374fd5de","status":"affected","lessThan":"2191b0034a2f1307d421782e6eceddf8eec9e7f6","versionType":"git"},{"version":"dd30706e73b70d67e88fdaca688db7a3374fd5de","status":"affected","lessThan":"de0c8ef3b900c5e971c82ef38c6f5c22c5f3d8c1","versionType":"git"},{"version":"dd30706e73b70d67e88fdaca688db7a3374fd5de","status":"affected","lessThan":"96eb8a3fc9f7fe7ba32679fcf1d2fd7d251e7a8b","versionType":"git"},{"version":"dd30706e73b70d67e88fdaca688db7a3374fd5de","status":"affected","lessThan":"94bfb61478bcb207d27f8cd24fd231421059519f","versionType":"git"},{"version":"dd30706e73b70d67e88fdaca688db7a3374fd5de","status":"affected","lessThan":"75fd6d041c4a325ae37f4683e6678d3015988bb0","versionType":"git"},{"version":"dd30706e73b70d67e88fdaca688db7a3374fd5de","status":"affected","lessThan":"c20ee380ca59c5a8646750c4849969a815924e2e","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/scsi/qla2xxx/qla_edif.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.15","versionType":"semver"},{"version":"5.15.221","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.188","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.157","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.110","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.51","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.5","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/scsi/qla2xxx/qla_edif.c"]}],"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"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:26.108Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/89xxx/CVE-2026-89863.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-89863","state":"PUBLISHED","datePublished":"2026-09-16T10:31:34.377Z","dateUpdated":"2026-10-19T08:53:56.648Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-11T19:38:34.771Z"},"containers":{"cna":{"title":"scsi: qla2xxx: edif: Fix NULL pointer deref in RX SA delete check","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: qla2xxx: edif: Fix NULL pointer deref in RX SA delete check\n\nqla_chk_edif_rx_sa_delete_pending() obtains the SCSI command via\nGET_CMD_SP(sp) and immediately dereferences cmd->sc_data_direction.\nThat command pointer can be NULL: the firmware may post a status\ncompletion for a command that has already been returned or aborted.  The\ncaller qla2x00_status_entry() acknowledges this on the very same status\npath, re-fetching GET_CMD_SP(sp) and bailing out with the \"Command\nalready returned\" message when it is NULL -- but that check runs only\nafter qla_chk_edif_rx_sa_delete_pending() has already dereferenced the\npointer, so a NULL cmd crashes the kernel in interrupt context.\n\nReturn early when cmd is NULL, before touching cmd->sc_data_direction."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"dd30706e73b70d67e88fdaca688db7a3374fd5de","status":"affected","lessThan":"e479e9b148456905d12711411484b94083c8ff58","versionType":"git"},{"version":"dd30706e73b70d67e88fdaca688db7a3374fd5de","status":"affected","lessThan":"2191b0034a2f1307d421782e6eceddf8eec9e7f6","versionType":"git"},{"version":"dd30706e73b70d67e88fdaca688db7a3374fd5de","status":"affected","lessThan":"de0c8ef3b900c5e971c82ef38c6f5c22c5f3d8c1","versionType":"git"},{"version":"dd30706e73b70d67e88fdaca688db7a3374fd5de","status":"affected","lessThan":"96eb8a3fc9f7fe7ba32679fcf1d2fd7d251e7a8b","versionType":"git"},{"version":"dd30706e73b70d67e88fdaca688db7a3374fd5de","status":"affected","lessThan":"94bfb61478bcb207d27f8cd24fd231421059519f","versionType":"git"},{"version":"dd30706e73b70d67e88fdaca688db7a3374fd5de","status":"affected","lessThan":"75fd6d041c4a325ae37f4683e6678d3015988bb0","versionType":"git"},{"version":"dd30706e73b70d67e88fdaca688db7a3374fd5de","status":"affected","lessThan":"c20ee380ca59c5a8646750c4849969a815924e2e","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/scsi/qla2xxx/qla_edif.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.15","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.15","versionType":"semver"},{"version":"5.15.221","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.188","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.157","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.12.110","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.51","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.2.5","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/scsi/qla2xxx/qla_edif.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/e479e9b148456905d12711411484b94083c8ff58"},{"url":"https://git.kernel.org/stable/c/2191b0034a2f1307d421782e6eceddf8eec9e7f6"},{"url":"https://git.kernel.org/stable/c/de0c8ef3b900c5e971c82ef38c6f5c22c5f3d8c1"},{"url":"https://git.kernel.org/stable/c/96eb8a3fc9f7fe7ba32679fcf1d2fd7d251e7a8b"},{"url":"https://git.kernel.org/stable/c/94bfb61478bcb207d27f8cd24fd231421059519f"},{"url":"https://git.kernel.org/stable/c/75fd6d041c4a325ae37f4683e6678d3015988bb0"},{"url":"https://git.kernel.org/stable/c/c20ee380ca59c5a8646750c4849969a815924e2e"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","baseScore":7.5,"baseSeverity":"HIGH"},"scenarios":[{"lang":"en","value":"AV:N - qla_chk_edif_rx_sa_delete_pending() runs from qla2x00_status_entry() on STATUS_TYPE IOCBs the HBA firmware posts from a remote Fibre Channel or FCoE target's FCP_RSP. QLogic CNAs speak FCoE and SAN fabrics are stretched via FCIP, so a compromised target delivers late completions over the storage network with no local access.\nAC:L - A hostile target controls FCP_RSP timing and can delay a response until SCSI error handling aborts and returns the command, then complete so firmware posts status for a NULL cmd. The same function already handles that case (\"Command already returned\"); the crash is then deterministic and needs no rare config or layout beyond a qla2xxx HBA.\nPR:N - Completions are handled in the HBA interrupt/response-queue path (qla24xx_process_response_queue to qla2x00_status_entry) with no Linux credential or capability check; the attacker only needs to act as an FC/FCoE target on the fabric.\nUI:N - Once the target is visible on the fabric, the SCSI midlayer automatically issues commands (scan, path checks, mounted-filesystem I/O) whose STATUS_TYPE completions take the vulnerable path; no user mount, open, or other interactive step is required at exploit time.\nS:U - The NULL dereference and resulting oops stay inside the host kernel that owns the qla2xxx driver and do not cross a VM, IOMMU, or other separate security authority.\nC:N - This is a pure NULL-pointer dereference of GET_CMD_SP(sp) (cmd->sc_data_direction at a NULL-page offset) when the SCSI command was already returned or aborted. There is no use-after-free of a live object, out-of-bounds read, or other kernel memory disclosure primitive.\nI:N - The cmd pointer is NULL, not a freed or attacker-controlled object, so the load cannot corrupt kernel heap, overwrite function pointers, or hijack control flow. The fix is only an early NULL return; there is no write primitive.\nA:H - Dereferencing NULL cmd in qla_chk_edif_rx_sa_delete_pending() from the response-queue interrupt or qla_do_work() context oopses or panics the host, taking down all storage served by the adapter. A fabric peer can repeat this on aborted I/O."}]}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-19T08:53:56.648Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"5.15.221"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.1.188"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.6.157"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.12.110"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"6.18.51"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"7.2.5"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.15","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}