CVE-2021-46963
scsi: qla2xxx: Fix crash in qla2xxx_mqueuecommand()
Check your servers for CVE-2021-46963
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2021-46963 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- local: the attacker needs local access, or a user has to open a prepared file
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.25%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 17.2% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 27 Feb 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| Linux |
affected from 64a8c5018a4b21b04a756a56c495ef47c14e92d9, before c5ab9b67d8b061de74e2ca51bf787ee599bd7f89 affected from dea6ee7173039d489977c9ed92e3749154615db4, before 77509a238547863040a42d57c72403f7d4c89a8f affected from af2a0c51b1205327f55a7e82e530403ae1d42cbb, before 702cdaa2c6283c135ef16d52e0e4e3c1005aa538 affected from af2a0c51b1205327f55a7e82e530403ae1d42cbb, before 80ef24175df2cba3860d0369d1c662b49ee2de56 affected from af2a0c51b1205327f55a7e82e530403ae1d42cbb, before a73208e3244127ef9f2cdf24e4adb947aaa32053 affected from af2a0c51b1205327f55a7e82e530403ae1d42cbb, before 6641df81ab799f28a5d564f860233dd26cca0d93 affected 4a1cc2f71bc57cf8dee6f58e7d2355a43aabb312 affected from 4.19.90, before 4.19.191 affected from 5.4.4, before 5.4.118 affected from 5.3.17, before 5.4
Other versions: unaffected
|
| Linux |
affected 5.5 unaffected before 5.5 unaffected from 4.19.191 up to and including 4.19.* unaffected from 5.4.118 up to and including 5.4.* unaffected from 5.10.36 up to and including 5.10.* unaffected from 5.11.20 up to and including 5.11.* unaffected from 5.12.3 up to and including 5.12.* unaffected 5.13 and later
Other versions: affected
|
Is my server affected?
This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:
uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2021-46963 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2021-46963
With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2021-46963
trivy image --scanners vuln IMAGE | grep CVE-2021-46963
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Other references
- https://git.kernel.org/stable/c/c5ab9b67d8b061de74e2ca51bf787ee599bd7f89 git.kernel.org
- https://git.kernel.org/stable/c/77509a238547863040a42d57c72403f7d4c89a8f git.kernel.org
- https://git.kernel.org/stable/c/702cdaa2c6283c135ef16d52e0e4e3c1005aa538 git.kernel.org
- https://git.kernel.org/stable/c/80ef24175df2cba3860d0369d1c662b49ee2de56 git.kernel.org
- https://git.kernel.org/stable/c/a73208e3244127ef9f2cdf24e4adb947aaa32053 git.kernel.org
- https://git.kernel.org/stable/c/6641df81ab799f28a5d564f860233dd26cca0d93 git.kernel.org
Source: the record CVE-2021-46963 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse