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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.25% (percentile 10, 2026-11-26)
- **Published:** 2024-02-27T18:47:01.783Z
- **Modified:** 2026-08-05T08:45:15.980Z

## Who should check

- Anyone running Linux \>= 64a8c5018a4b21b04a756a56c495ef47c14e92d9, \< c5ab9b67d8b061de74e2ca51bf787ee599bd7f89; \>= dea6ee7173039d489977c9ed92e3749154615db4, \< 77509a238547863040a42d57c72403f7d4c89a8f; \>= af2a0c51b1205327f55a7e82e530403ae1d42cbb, \< 702cdaa2c6283c135ef16d52e0e4e3c1005aa538; \>= af2a0c51b1205327f55a7e82e530403ae1d42cbb, \< 80ef24175df2cba3860d0369d1c662b49ee2de56; \>= af2a0c51b1205327f55a7e82e530403ae1d42cbb, \< a73208e3244127ef9f2cdf24e4adb947aaa32053; \>= af2a0c51b1205327f55a7e82e530403ae1d42cbb, \< 6641df81ab799f28a5d564f860233dd26cca0d93; 4a1cc2f71bc57cf8dee6f58e7d2355a43aabb312; \>= 4.19.90, \< 4.19.191; \>= 5.4.4, \< 5.4.118; \>= 5.3.17, \< 5.4
- Anyone running Linux 5.5

## 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.

## Affected and fixed versions

- Linux: \>= 64a8c5018a4b21b04a756a56c495ef47c14e92d9, \< c5ab9b67d8b061de74e2ca51bf787ee599bd7f89; \>= dea6ee7173039d489977c9ed92e3749154615db4, \< 77509a238547863040a42d57c72403f7d4c89a8f; \>= af2a0c51b1205327f55a7e82e530403ae1d42cbb, \< 702cdaa2c6283c135ef16d52e0e4e3c1005aa538; \>= af2a0c51b1205327f55a7e82e530403ae1d42cbb, \< 80ef24175df2cba3860d0369d1c662b49ee2de56; \>= af2a0c51b1205327f55a7e82e530403ae1d42cbb, \< a73208e3244127ef9f2cdf24e4adb947aaa32053; \>= af2a0c51b1205327f55a7e82e530403ae1d42cbb, \< 6641df81ab799f28a5d564f860233dd26cca0d93; 4a1cc2f71bc57cf8dee6f58e7d2355a43aabb312; \>= 4.19.90, \< 4.19.191; \>= 5.4.4, \< 5.4.118; \>= 5.3.17, \< 5.4 (cvelist)
- Linux: 5.5 (cvelist)

## Mitigation

- Upgrade Linux to 5.4 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2021-46963. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2021-46963.md
Affected: Linux >= 64a8c5018a4b21b04a756a56c495ef47c14e92d9, < c5ab9b67d8b061de74e2ca51bf787ee599bd7f89; >= dea6ee7173039d489977c9ed92e3749154615db4, < 77509a238547863040a42d57c72403f7d4c89a8f; >= af2a0c51b1205327f55a7e82e530403ae1d42cbb, < 702cdaa2c6283c135ef16d52e0e4e3c1005aa538; >= af2a0c51b1205327f55a7e8…
Fixed in: Linux 77509a238547863040a42d57c72403f7d4c89a8f, Linux 702cdaa2c6283c135ef16d52e0e4e3c1005aa538, Linux 80ef24175df2cba3860d0369d1c662b49ee2de56, Linux 6641df81ab799f28a5d564f860233dd26cca0d93, Linux 4.19.191, Linux 5.4.118, Linux 5.4

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2021-46963 being exploited?

There is no confirmed exploitation: CVE-2021-46963 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.25% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2021-46963?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2021-46963?

Linux \>= 64a8c5018a4b21b04a756a56c495ef47c14e92d9, \< c5ab9b67d8b061de74e2ca51bf787ee599bd7f89; \>= dea6ee7173039d489977c9ed92e3749154615db4, \< 77509a238547863040a42d57c72403f7d4c89a8f; \>= af2a0c51b1205327f55a7e82e530403ae1d42cbb, \< 702cdaa2c6283c135ef16d52e0e4e3c1005aa538; \>= af2a0c51b1205327f55a7e82e530403ae1d42cbb, \< 80ef24175df2cba3860d0369d1c662b49ee2de56; \>= af2a0c51b1205327f55a7e82e530403ae1d42cbb, \< a73208e3244127ef9f2cdf24e4adb947aaa32053; \>= af2a0c51b1205327f55a7e82e530403ae1d42cbb, \< 6641df81ab799f28a5d564f860233dd26cca0d93; 4a1cc2f71bc57cf8dee6f58e7d2355a43aabb312; \>= 4.19.90, \< 4.19.191; \>= 5.4.4, \< 5.4.118; \>= 5.3.17, \< 5.4; Linux 5.5.

### Is there a fix for CVE-2021-46963?

Yes. Fixed in Linux 77509a238547863040a42d57c72403f7d4c89a8f, Linux 702cdaa2c6283c135ef16d52e0e4e3c1005aa538, Linux 80ef24175df2cba3860d0369d1c662b49ee2de56, Linux 6641df81ab799f28a5d564f860233dd26cca0d93, Linux 4.19.191, Linux 5.4.118, Linux 5.4. Upgrade Linux to 5.4 or later.

### How do I check if I'm affected by CVE-2021-46963?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <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>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2021-46963>

HTML: <https://flawdb.com/CVE-2021-46963> · JSON: <https://flawdb.com/api/v1/entries/CVE-2021-46963>
