{"id":"CVE-2026-89849","aliases":["CVE-2026-89849"],"related":[],"kind":"vulnerability","state":"published","title":"scsi: qla2xxx: Reject non-SCSI SRB on status IOCB fast path","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: qla2xxx: Reject non-SCSI SRB on status IOCB fast path\n\nqla2x00_status_entry() filters out non-TYPE_SRB entries and the\nSRB_NVME_CMD, SRB_BIDI_CMD and SRB_TM_CMD types, then falls through to a\nSCSI fast path that assumes the command is an SRB_SCSI_CMD. The first\nthing on that path, qla_chk_edif_rx_sa_delete_pending(), and the\nsubsequent handling both evaluate GET_CMD_SP(sp), i.e. sp->u.scmd.cmd.\n\nThe srb u union overlays the SCSI command pointer with other command\nlayouts (bsg_job, iocb_cmd). If firmware delivers an unexpected\nSTATUS_TYPE IOCB for a non-SCSI handle, sp->u.scmd.cmd can read as a\nnon-NULL garbage pointer, bypassing the NULL checks in\nqla_chk_edif_rx_sa_delete_pending() and at the cp == NULL test, and\nleading to a wild pointer dereference.\n\nReject any SRB whose type is not SRB_SCSI_CMD before entering the fast\npath. The outstanding_cmds slot is left untouched so a genuinely\nnon-SCSI command still completes through its proper handler.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: qla2xxx: Reject non-SCSI SRB on status IOCB fast path\n\nqla2x00_status_entry() filters out non-TYPE_SRB entries and the\nSRB_NVME_CMD, SRB_BIDI_CMD and SRB_TM_CMD types, then falls through to a\nSCSI fast path that assumes the command is an SRB_SCSI_CMD. The first\nthing on that path, qla_chk_edif_rx_sa_delete_pending(), and the\nsubsequent handling both evaluate GET_CMD_SP(sp), i.e. sp->u.scmd.cmd.\n\nThe srb u union overlays the SCSI command pointer with other command\nlayouts (bsg_job, iocb_cmd). If firmware delivers an unexpected\nSTATUS_TYPE IOCB for a non-SCSI handle, sp->u.scmd.cmd can read as a\nnon-NULL garbage pointer, bypassing the NULL checks in\nqla_chk_edif_rx_sa_delete_pending() and at the cp == NULL test, and\nleading to a wild pointer dereference.\n\nReject any SRB whose type is not SRB_SCSI_CMD before entering the fast\npath. The outstanding_cmds slot is left untouched so a genuinely\nnon-SCSI command still completes through its proper handler.","source":"cvelist"}],"published":"2026-09-16T10:31:23.180Z","modified":"2026-10-19T09:18:29.047Z","severity":{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"Linux","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"dd30706e73b70d67e88fdaca688db7a3374fd5de","fixed":"9204fb0888374083be74f799049649a17eab4191","status":"affected"},{"type":"git","introduced":"dd30706e73b70d67e88fdaca688db7a3374fd5de","fixed":"b7418198b45b327194b97f856fe8ea8daa91f3fd","status":"affected"},{"type":"git","introduced":"dd30706e73b70d67e88fdaca688db7a3374fd5de","fixed":"8f0e31e7a41376abe7d6ca7cbee07fcf9de071e6","status":"affected"},{"type":"git","introduced":"dd30706e73b70d67e88fdaca688db7a3374fd5de","fixed":"e38041b47c29316ba79b645e2ae0b713d216b1db","status":"affected"},{"type":"git","introduced":"dd30706e73b70d67e88fdaca688db7a3374fd5de","fixed":"e93aa3c5125d9a4352ac0fa8ba4a7f8f87881805","status":"affected"},{"type":"git","introduced":"dd30706e73b70d67e88fdaca688db7a3374fd5de","fixed":"29f1f9ad9e354cd0b6e4f6fc75ba09162d6a04d9","status":"affected"},{"type":"git","introduced":"dd30706e73b70d67e88fdaca688db7a3374fd5de","fixed":"0f41d07d72f2245208c45374ca8d0a1846cad667","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.15","status":"unaffected"},{"type":"semver","introduced":"5.15.221","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.188","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.157","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.110","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.51","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.5","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/9204fb0888374083be74f799049649a17eab4191","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/b7418198b45b327194b97f856fe8ea8daa91f3fd","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/8f0e31e7a41376abe7d6ca7cbee07fcf9de071e6","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e38041b47c29316ba79b645e2ae0b713d216b1db","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/e93aa3c5125d9a4352ac0fa8ba4a7f8f87881805","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/29f1f9ad9e354cd0b6e4f6fc75ba09162d6a04d9","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/0f41d07d72f2245208c45374ca8d0a1846cad667","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89849","url":"https://www.cve.org/CVERecord?id=CVE-2026-89849","licence":"CVE Terms of Use","modified":"2026-10-19T08:53:42.181Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89849","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89849","licence":"Public domain","modified":"2026-10-19T09:18:29.047Z"}],"updatedAt":"2026-11-25T22:59:38.956Z","epss":{"score":0.00363,"percentile":0.32193,"date":"2026-12-01T12:00:22.000Z"}}