# CVE-2021-46963: scsi: qla2xxx: Fix crash in qla2xxx_mqueuecommand()

- Severity: High 7.8 (CVSS:3.1, scored by Linux) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2024-02-27T18:47:01.783Z
- Modified: 2026-08-05T08:45:15.980Z
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## Description

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

scsi: qla2xxx: Fix crash in qla2xxx_mqueuecommand()

    RIP: 0010:kmem_cache_free+0xfa/0x1b0
    Call Trace:
       qla2xxx_mqueuecommand+0x2b5/0x2c0 [qla2xxx]
       scsi_queue_rq+0x5e2/0xa40
       __blk_mq_try_issue_directly+0x128/0x1d0
       blk_mq_request_issue_directly+0x4e/0xb0

Fix incorrect call to free srb in qla2xxx_mqueuecommand(), as srb is now
allocated by upper layers. This fixes smatch warning of srb unintended
free.

(As written by CVE List.)

## Affected

- Linux Linux: from 64a8c5018a4b21b04a756a56c495ef47c14e92d9 before c5ab9b67d8b061de74e2ca51bf787ee599bd7f89; from dea6ee7173039d489977c9ed92e3749154615db4 before 77509a238547863040a42d57c72403f7d4c89a8f; from af2a0c51b1205327f55a7e82e530403ae1d42cbb before 702cdaa2c6283c135ef16d52e0e4e3c1005aa538; from af2a0c51b1205327f55a7e82e530403ae1d42cbb before 80ef24175df2cba3860d0369d1c662b49ee2de56; from af2a0c51b1205327f55a7e82e530403ae1d42cbb before a73208e3244127ef9f2cdf24e4adb947aaa32053; from af2a0c51b1205327f55a7e82e530403ae1d42cbb before 6641df81ab799f28a5d564f860233dd26cca0d93; 4a1cc2f71bc57cf8dee6f58e7d2355a43aabb312; from 4.19.90 before 4.19.191; from 5.4.4 before 5.4.118; from 5.3.17 before 5.4; 5.5 (not affected: before 5.5; from 4.19.191 up to 4.19.*; from 5.4.118 up to 5.4.*; from 5.10.36 up to 5.10.*; from 5.11.20 up to 5.11.*; from 5.12.3 up to 5.12.*; from 5.13 up to *)
- linux linux_kernel: from 4.19.90 before 4.19.191; from 5.4.4 before 5.4.118; from 5.5 before 5.10.36; from 5.11 before 5.11.20; from 5.12 before 5.12.3

## Every score

- Linux: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://git.kernel.org/stable/c/c5ab9b67d8b061de74e2ca51bf787ee599bd7f89> (patch)
- <https://git.kernel.org/stable/c/77509a238547863040a42d57c72403f7d4c89a8f> (patch)
- <https://git.kernel.org/stable/c/702cdaa2c6283c135ef16d52e0e4e3c1005aa538> (patch)
- <https://git.kernel.org/stable/c/80ef24175df2cba3860d0369d1c662b49ee2de56> (patch)
- <https://git.kernel.org/stable/c/a73208e3244127ef9f2cdf24e4adb947aaa32053> (patch)
- <https://git.kernel.org/stable/c/6641df81ab799f28a5d564f860233dd26cca0d93> (patch)

## Sources

- CVE List: [CVE-2021-46963](https://www.cve.org/CVERecord?id=CVE-2021-46963), CVE Terms of Use, modified 2026-08-05
- NVD: [CVE-2021-46963](https://nvd.nist.gov/vuln/detail/CVE-2021-46963), Public domain, modified 2026-08-04

---

Page: https://cve.day/CVE-2021-46963 · Whole record: https://cve.day/CVE-2021-46963.json · Rebuilt by cve.day 2026-11-25T22:58:08.589Z
